/*
Theme Name: SEED Lightning G3
Description: Update-safe SEED customizations for Lightning G3.
Author: SEED
Template: lightning
Version: 1.0.10
Text Domain: seed-lightning-g3
*/

:root {
	--seed-navy: #101f4d;
	--seed-blue: #2f7eae;
	--seed-pale: #f4f8fa;
	--seed-line: #dfe7eb;
}

body {
	font-family: "BIZ UDPGothic", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	color: #252b31;
}

.site-footer-copyright p:nth-child(n+2) {
	display: none;
}

.site-header-logo img {
	max-height: 64px;
	width: auto;
}

.global-nav-list > li > a {
	font-weight: 700;
}

.seed-x-logo {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: url("assets/x-logo.svg") center / contain no-repeat;
	mask: url("assets/x-logo.svg") center / contain no-repeat;
	vertical-align: middle;
}

.global-nav-list a[href*="twitter.com"] .global-nav-name,
.global-nav-list a[href*="x.com"] .global-nav-name {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: currentColor;
	font-size: 0;
	-webkit-mask: url("assets/x-logo.svg") center / contain no-repeat;
	mask: url("assets/x-logo.svg") center / contain no-repeat;
	vertical-align: middle;
}

.global-nav-list a[href*="twitter.com"] .global-nav-name::before,
.global-nav-list a[href*="twitter.com"] .global-nav-name::after,
.global-nav-list a[href*="x.com"] .global-nav-name::before,
.global-nav-list a[href*="x.com"] .global-nav-name::after {
	display: none;
}

.seed-front-pr {
	padding: 42px 0 36px;
	background: #fff;
	border-bottom: 1px solid var(--seed-line);
}

.seed-front-pr__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.seed-front-pr__item {
	display: block;
	aspect-ratio: 3 / 4;
	text-align: center;
	color: inherit;
	border: 1px solid #d9e3e8;
	border-top: 4px solid var(--seed-blue);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(16, 31, 77, .08);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.seed-front-pr__item a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 38px 30px;
	color: inherit;
	text-decoration: none;
}

.seed-front-pr__item:hover,
.seed-front-pr__item:focus-within {
	transform: translateY(-4px);
	border-color: var(--seed-blue);
	box-shadow: 0 14px 32px rgba(16, 31, 77, .14);
}

.seed-front-pr__icon {
	display: grid;
	width: 76px;
	height: 76px;
	margin: 0 auto 18px;
	border: 1px solid var(--seed-blue);
	border-radius: 50%;
	place-items: center;
	background: #fff;
}

.seed-front-pr__icon i {
	color: var(--seed-blue);
	font-size: 2rem;
}

.seed-front-pr__item h2 {
	margin: 0 0 10px;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.5;
}

.seed-front-pr__item p {
	margin: 0;
	font-size: .9rem;
	line-height: 1.75;
	color: #5a636a;
}

.seed-contact-card {
	margin-bottom: 20px;
	padding: 18px;
	border: 1px solid var(--seed-line);
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(16, 31, 77, .06);
}

.seed-contact-card__label {
	margin: 0 0 8px;
	font-size: .9rem;
}

.seed-contact-card__phone {
	display: block;
	color: #c71920;
	font-size: 1.5rem;
	font-weight: 800;
	text-decoration: none;
}

.seed-contact-card__hours {
	font-size: .72rem;
}

.seed-contact-card__button {
	display: block;
	margin-top: 14px;
	padding: 11px 12px;
	border-radius: 4px;
	background: var(--seed-blue);
	color: #fff;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.seed-topics {
	margin-bottom: 38px;
}

.seed-topics > h2 {
	margin: 0 0 22px;
	padding: 0 0 9px;
	border-bottom: 1px solid #ddd;
	font-size: 1.55rem;
	font-weight: 500;
}

.seed-topics__item {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0 0 26px;
	border: 0;
}

.seed-topics__thumb img {
	display: block;
	width: 150px;
	height: 113px;
	object-fit: cover;
}

.seed-topics__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
	color: #6a747b;
	font-size: .78rem;
}

.seed-topics__category {
	padding: 3px 8px;
	border-radius: 2px;
	background: #999;
	color: #fff !important;
	font-size: .7rem;
	line-height: 1.2;
	text-decoration: none;
}

.seed-topics__item h3 {
	margin: 0 0 8px;
	font-size: 1.25rem;
	font-weight: 500;
}

.seed-topics__item a {
	color: inherit;
	text-decoration: none;
}

.seed-topics__excerpt p {
	margin: 0;
	font-size: .86rem;
	line-height: 1.7;
	color: #555;
}

.seed-topics__item a:hover {
	color: var(--seed-blue);
	text-decoration: underline;
}

.lightning_swiper-container .swiper-slide {
	background-color: #f5f6f6;
}

/* Keep the category label next to, rather than on top of, recent-post images. */
.widget_media .vk_post_imgOuter {
	margin-bottom: 30px;
	overflow: visible;
}

.widget_media .vk_post_imgOuter .card-img-overlay {
	overflow: visible;
}

.widget_media .vk_post_imgOuter_singleTermLabel {
	top: calc(100% + 6px);
	right: auto;
	left: 0;
	padding: 3px 8px;
	border-radius: 3px;
	line-height: 1.4;
}

/* Service index: preserve the existing content and present each service as a card. */
.page-id-313 .entry-body > .wp-block-columns {
	align-items: stretch;
	gap: 24px;
}

.page-id-313 .entry-body > .wp-block-columns > .wp-block-column {
	display: flex;
}

.page-id-313 .seed-service-card {
	position: relative;
	display: flex;
	width: 100%;
	min-height: 285px;
	overflow: hidden;
	border: 1px solid #d9e6eb;
	border-top: 5px solid var(--seed-blue);
	border-radius: 12px;
	background: linear-gradient(145deg, #fff 0%, #f7fbfc 100%);
	box-shadow: 0 10px 28px rgba(16, 31, 77, .09);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.page-id-313 .seed-service-card:hover,
.page-id-313 .seed-service-card:focus-within {
	transform: translateY(-4px);
	border-color: #9fc9dc;
	border-top-color: var(--seed-blue);
	box-shadow: 0 16px 34px rgba(16, 31, 77, .15);
}

.page-id-313 .seed-service-card > .wp-block-group__inner-container {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
}

.page-id-313 .seed-icon-orb {
	display: grid;
	width: 58px;
	height: 58px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: #e7f3f8;
	color: var(--seed-blue);
	font-size: 1.65rem;
	place-items: center;
}

.page-id-313 .seed-icon-orb img {
	display: none;
}

.page-id-313 .seed-icon-orb::before {
	content: "\f013";
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
	font-weight: 900;
}

.page-id-313 .wp-block-columns:nth-of-type(1) .wp-block-column:nth-child(1) .seed-icon-orb::before {
	content: "\f1ec";
}

.page-id-313 .wp-block-columns:nth-of-type(1) .wp-block-column:nth-child(2) .seed-icon-orb::before {
	content: "\f56f";
}

.page-id-313 .wp-block-columns:nth-of-type(2) .wp-block-column:nth-child(1) .seed-icon-orb::before {
	content: "\f24e";
}

.page-id-313 .wp-block-columns:nth-of-type(2) .wp-block-column:nth-child(2) .seed-icon-orb::before {
	content: "\f017";
}

.page-id-313 .wp-block-columns:nth-of-type(3) .wp-block-column:nth-child(1) .seed-icon-orb::before {
	content: "\f3ed";
}

.page-id-313 .wp-block-columns:nth-of-type(3) .wp-block-column:nth-child(2) .seed-icon-orb::before {
	content: "\f2b5";
}

.page-id-313 .seed-number {
	position: absolute;
	top: 18px;
	right: 22px;
	margin: 0;
	color: #c5dce7;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
}

.page-id-313 .seed-service-card h3 {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	font-size: 1.22rem;
	line-height: 1.5;
}

.page-id-313 .seed-service-card h3::after {
	display: none;
}

.page-id-313 .seed-service-card p {
	line-height: 1.75;
}

.page-id-313 .seed-service-card p:last-child {
	margin-top: auto;
	margin-bottom: 0;
	padding-top: 14px;
}

.page-id-313 .seed-service-card p:last-child a {
	display: inline-block;
	padding: 9px 16px;
	border-radius: 999px;
	background: var(--seed-blue);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 781px) {
	.seed-front-pr__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.seed-front-pr__item p {
		max-width: 32rem;
		margin-inline: auto;
	}

	.seed-topics__item {
		grid-template-columns: 100px minmax(0, 1fr);
		gap: 14px;
	}

	.seed-topics__thumb img {
		width: 100px;
		height: 100px;
	}

	.seed-topics__excerpt {
		display: none;
	}

	.page-id-313 .entry-body > .wp-block-columns {
		gap: 18px;
	}

	.page-id-313 .seed-service-card {
		min-height: 260px;
	}
}
