/*
Theme Name: generatepress-kppdc
Theme URI: https://kppdc.or.kr
Template: generatepress
Author: Tom Usborne & Antigravity AI
Author URI: https://tomusborne.com
Description: GeneratePress Child Theme customized for Neuropsyche T Academic Integrated System.
Version: 1.0.0
*/

/**
 * Neuropsyche T 글로벌 디자인 토큰 카드 스펙
 * background: #FFFFFF; border-radius: 8px; box-shadow: 0 4px 20px rgba(15, 44, 89, 0.06); border: 1px solid #E2E8F0; transition: transform 0.2s ease, box-shadow 0.2s ease;
 */
.kppdc-card {
	background: #FFFFFF;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(15, 44, 89, 0.06);
	border: 1px solid #E2E8F0;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kppdc-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 30px rgba(15, 44, 89, 0.12);
}

.kppdc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.kppdc-card {
	padding: 20px;
}

.kppdc-card__date {
	display: block;
	margin-bottom: 10px;
	color: #4A5568;
	font-size: 13px;
	font-weight: 700;
}

.kppdc-card__title {
	margin: 0 0 12px;
	color: #0F2C59;
	font-size: 20px;
	line-height: 1.35;
}

.kppdc-card__title a {
	color: inherit;
	text-decoration: none;
}

.kppdc-card__excerpt {
	margin: 0 0 18px;
	color: #4A5568;
	line-height: 1.65;
}

.kppdc-card__link {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 14px;
	border-radius: 6px;
	background: #0F2C59;
	color: #FFFFFF;
	text-decoration: none;
	font-weight: 700;
}

.kppdc-card__link:hover {
	color: #FFFFFF;
	background: #14386f;
}

/* Phase 13 header navigation and expandable search */
.kppdc-utility-menu {
	gap: 14px;
	min-height: 28px;
}

.kppdc-utility-menu__link {
	color: #4A5568;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.kppdc-utility-menu__link:hover,
.kppdc-utility-menu__link:focus {
	color: #0F2C59;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.inside-navigation {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
}

.main-navigation .inside-navigation {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
}

.main-nav {
	margin-right: auto !important;
}

.kppdc-navigation-bar {
	gap: 24px;
}

.kppdc-main-navigation {
	min-width: 0;
}

.kppdc-search-trigger-wrap {
	display: flex;
	align-items: center;
	position: relative;
	flex: 0 0 auto;
	padding-right: 15px;
}

.kppdc-search-toggle-btn {
	background: none;
	border: none;
	color: #0F2C59;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	padding: 0;
	position: relative;
	z-index: 10;
}

.kppdc-search-toggle-btn:hover,
.kppdc-search-toggle-btn:focus {
	color: #4A5568;
	outline: none;
}

.kppdc-search-toggle-btn .dashicons {
	display: block;
	font-size: 22px;
	height: 22px;
	width: 22px;
}

.kppdc-dynamic-search-form {
	display: none;
	overflow: hidden;
	position: absolute;
	right: 35px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9;
}

.kppdc-dynamic-search-form input[type="search"] {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 4px;
	font-size: 14px;
	height: 36px;
	opacity: 0;
	padding: 0;
	transition: border-color 0.2s;
	will-change: width, opacity;
	width: 0;
}

.kppdc-dynamic-search-form input[type="search"]:focus {
	border-color: #0F2C59 !important;
	outline: none;
}

.kppdc-dashboard-container {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 4px 20px rgba(15, 44, 89, 0.06);
	margin-top: 20px;
}

.old-tabs-nav,
.old-submission-table {
	display: none !important;
}

@media (max-width: 767px) {
	.kppdc-navigation-bar {
		align-items: flex-start;
		flex-direction: column;
	}

	.kppdc-search-trigger-wrap {
		align-self: flex-end;
	}

	.kppdc-dynamic-search-form {
		right: 32px;
	}
}

/* Manuscript single layout */
.kppdc-single {
	max-width: 1280px;
	margin: 0 auto;
	padding: 34px 64px 84px;
	color: #050505;
}

.kppdc-single__grid {
	display: grid;
	grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
	gap: 48px;
	align-items: start;
}

.kppdc-single__grid--plain {
	display: block;
	max-width: 880px;
	margin: 0 auto;
}

.kppdc-single-article {
	min-width: 0;
}

.kppdc-single-article__header {
	display: grid;
	gap: 18px;
	margin-bottom: 34px;
}

.kppdc-single-article__eyebrow {
	margin: 0;
	color: #758979;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.kppdc-single-article__header h1 {
	margin: 0;
	color: #050505;
	font-size: 46px;
	line-height: 1.22;
	font-weight: 800;
	letter-spacing: 0;
}

.kppdc-single-article__deck {
	max-width: 780px;
	margin: 0;
	padding: 4px 0 4px 18px;
	border-left: 2px solid #c4c7c7;
	color: #444748;
	font-size: 18px;
	font-style: italic;
	line-height: 1.75;
}

.kppdc-single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 22px;
	padding-top: 16px;
	border-top: 1px solid #c4c7c7;
	color: #444748;
	font-size: 13px;
}

.kppdc-single-meta span:first-child {
	color: #050505;
	font-weight: 700;
}

.kppdc-single-article__image {
	aspect-ratio: 16 / 9;
	margin: 0 0 38px;
	overflow: hidden;
	background: #e8e8e8;
}

.kppdc-single-article__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1);
	opacity: .92;
	transition: transform .7s ease, filter .7s ease;
}

.kppdc-single-article__image:hover img {
	transform: scale(1.035);
	filter: grayscale(.35);
}

.kppdc-single-article__content {
	max-width: 760px;
	color: #1a1c1c;
	font-size: 18px;
	line-height: 1.82;
}

.kppdc-single-article__content > *:first-child {
	margin-top: 0;
}

.kppdc-single-article__content p {
	margin: 0 0 28px;
}

.kppdc-single-article__content h2,
.kppdc-single-article__content h3 {
	margin: 44px 0 18px;
	color: #050505;
	line-height: 1.36;
	font-weight: 700;
	letter-spacing: 0;
}

.kppdc-single-article__content h2 {
	font-size: 24px;
}

.kppdc-single-article__content h3 {
	font-size: 21px;
}

.kppdc-single-article__content blockquote {
	margin: 36px 0;
	padding: 10px 0 10px 28px;
	border-left: 4px solid #050505;
	color: #444748;
	font-size: 22px;
	font-style: italic;
	line-height: 1.62;
}

.kppdc-single-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 760px;
	margin-top: 48px;
}

.kppdc-single-tags span {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 12px;
	background: #d3e8d5;
	color: #0e1f14;
	font-size: 13px;
	font-weight: 700;
}

.kppdc-single-sidebar {
	display: grid;
	gap: 56px;
	padding-left: 24px;
	border-left: 1px solid #c4c7c7;
}

.kppdc-issue-panel {
	padding: 24px;
	border: 1px solid #c4c7c7;
	background: #f3f3f3;
}

.kppdc-issue-panel__inner {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.kppdc-issue-panel__cover {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: .72;
	overflow: hidden;
	background: #fff;
	border: 1px solid #d8d8d8;
	color: #050505;
	text-align: center;
	text-decoration: none;
}

.kppdc-issue-panel__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kppdc-issue-panel__cover span {
	padding: 12px;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .12em;
}

.kppdc-issue-panel p,
.kppdc-latest-panel > h2 {
	margin: 0 0 8px;
	color: #758979;
	font-size: 13px;
	font-weight: 700;
}

.kppdc-issue-panel h2 {
	margin: 0 0 8px;
	color: #050505;
	font-size: 24px;
	line-height: 1.25;
	font-weight: 700;
}

.kppdc-issue-panel__description {
	margin-bottom: 10px;
	color: #444748;
	font-size: 14px;
	line-height: 1.6;
}

.kppdc-issue-panel a,
.kppdc-latest-panel a {
	color: #050505;
	text-decoration: none;
}

.kppdc-issue-panel a:hover,
.kppdc-latest-panel a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.kppdc-latest-panel > h2 {
	padding-bottom: 12px;
	border-bottom: 1px solid #c4c7c7;
	text-transform: uppercase;
	letter-spacing: .12em;
}

.kppdc-latest-panel__list {
	display: grid;
	gap: 26px;
	margin-top: 26px;
}

.kppdc-latest-panel article p {
	margin: 0 0 6px;
	color: #758979;
	font-size: 13px;
	font-weight: 700;
}

.kppdc-latest-panel article h3 {
	margin: 0;
	color: #050505;
	font-size: 20px;
	line-height: 1.42;
	font-weight: 600;
}

.kppdc-latest-panel article div {
	margin-top: 8px;
	color: #5e5e5e;
	font-size: 13px;
	line-height: 1.45;
}

.kppdc-latest-panel__button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 28px;
	border: 1px solid #747878;
	font-size: 14px;
	font-weight: 700;
}

.kppdc-newsletter-panel {
	padding: 28px;
	background: #050505;
	color: #fff;
}

.kppdc-newsletter-panel h2 {
	margin: 0 0 10px;
	color: #fff;
	font-size: 22px;
	line-height: 1.35;
	font-weight: 800;
}

.kppdc-newsletter-panel p {
	margin: 0 0 22px;
	color: #c8c6c5;
	line-height: 1.62;
}

.kppdc-newsletter-panel a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 16px;
	background: #1c1b1b;
	color: #fff;
	text-decoration: none;
	font-weight: 800;
}

.kppdc-newsletter-panel a:hover {
	background: #2f3131;
	color: #fff;
}

.kppdc-single-comments {
	max-width: 760px;
	margin: 64px auto 0;
}

@media (max-width: 1024px) {
	.kppdc-single {
		padding: 32px 28px 72px;
	}

	.kppdc-single__grid {
		grid-template-columns: 1fr;
	}

	.kppdc-single-sidebar {
		padding-left: 0;
		border-left: 0;
	}
}

@media (max-width: 640px) {
	.kppdc-single {
		padding: 28px 20px 60px;
	}

	.kppdc-single-article__header h1 {
		font-size: 34px;
	}

	.kppdc-single-article__deck,
	.kppdc-single-article__content {
		font-size: 16px;
	}

	.kppdc-single-article__content blockquote {
		font-size: 19px;
	}

	.kppdc-issue-panel__inner {
		grid-template-columns: 84px minmax(0, 1fr);
	}
}
