/* ==========================================================================
   AR Footer (old site: red bar 70px "ติดตามข่าวสารได้ที่" + 4 white round icons,
   dark rock-texture footer: logo | ที่อยู่ | ติดต่อเรา | ทั่วไป (2 lists), copyright).
   ========================================================================== */

.ar-footer {
	display: block;
}

/* Red bar */
.ar-footer .ar-footer__social {
	background: var(--ar-red);
}
.ar-footer .ar-footer__social-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 0 80px;
	max-width: var(--ar-box);
	min-height: 70px;
	margin: 0 auto;
	padding: 10px var(--ar-gutter);
}
.ar-footer .ar-footer__social-title {
	color: var(--ar-white);
	font-size: 30px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 4px;
	text-align: right;
}
.ar-footer .ar-footer__social-list {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}
.ar-footer .ar-footer__social-link {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--ar-white);
	color: var(--ar-red);
}
.ar-footer .ar-footer__social-link .ar-icon {
	width: 22px;
	height: 22px;
}
.ar-footer .ar-footer__social-link .ar-icon--line {
	width: 24px;
	height: 24px;
}
.ar-footer .ar-footer__social-link:hover {
	background: var(--ar-ink);
	color: var(--ar-white);
}

/* Main footer */
.ar-footer .ar-footer__main {
	background-color: #111111;
	background-image: var(--ar-footer-bg, none);
	background-position: center;
	background-size: cover;
	color: #cccccc;
}
.ar-footer .ar-footer__cols {
	display: grid;
	grid-template-columns: 17% 27% 25% minmax(0, 1fr);
	align-items: start;
	gap: 0;
	max-width: calc(var(--ar-foot) + 2 * var(--ar-gutter));
	margin: 0 auto;
	padding: 38px var(--ar-gutter) 40px;
}
.ar-footer .ar-footer__col {
	padding: 0 10px;
}
.ar-footer .ar-footer__col--logo {
	padding-left: 10px;
}
.ar-footer .ar-footer__col--logo {
	align-self: center;
}
.ar-footer .ar-footer__logo {
	display: inline-block;
}
.ar-footer .ar-footer__logo img {
	width: 160px;
}
.ar-footer .ar-footer__heading {
	margin: 0 0 18px;
	color: var(--ar-white);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
}
.ar-footer .ar-footer__text {
	color: #cccccc;
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
}
.ar-footer .ar-footer__lists {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
}
.ar-footer .ar-footer__list li {
	color: #cccccc;
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
}
.ar-footer .ar-footer__list li + li {
	margin-top: 6px;
}
.ar-footer .ar-footer__list a {
	color: #cccccc;
}
.ar-footer .ar-footer__list a:hover {
	color: var(--ar-red);
}

/* Copyright */
.ar-footer .ar-footer__bottom {
	max-width: calc(var(--ar-foot) + 2 * var(--ar-gutter));
	margin: 0 auto;
	padding: 0 var(--ar-gutter) 30px;
	color: #cccccc;
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
	text-align: center;
}
.ar-footer .ar-footer__bottom p {
	padding-top: 25px;
	border-top: 1px solid #444444;
}
.ar-footer .ar-footer__bottom a {
	color: inherit;
}
.ar-footer .ar-footer__bottom a:hover {
	color: var(--ar-red);
}
.ar-footer .ar-footer__bottom .ar-footer__extra {
	color: var(--ar-red);
}
.ar-footer .ar-footer__bottom .ar-footer__extra:hover {
	color: var(--ar-white);
}

@media (max-width: 1024px) {
	.ar-footer .ar-footer__social-title {
		font-size: 24px;
		letter-spacing: 3px;
	}
	.ar-footer .ar-footer__social-inner {
		gap: 0 40px;
	}
	.ar-footer .ar-footer__cols {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 30px 0;
	}
	.ar-footer .ar-footer__col--logo {
		grid-column: 1 / -1;
		text-align: center;
	}
	.ar-footer .ar-footer__col--links:not(.is-mobile-visible) {
		display: none;
	}
}
@media (max-width: 767px) {
	.ar-footer .ar-footer__social-inner {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 10px;
		padding: 14px var(--ar-gutter);
	}
	.ar-footer .ar-footer__social-title {
		font-size: 22px;
		text-align: center;
	}
	.ar-footer .ar-footer__social-list {
		justify-content: center;
	}
	.ar-footer .ar-footer__cols {
		grid-template-columns: 1fr;
		gap: 24px;
		text-align: center;
	}
	.ar-footer .ar-footer__lists {
		justify-items: center;
	}
	.ar-footer .ar-footer__logo img {
		width: 140px;
		margin: 0 auto;
	}
}
