/*
Theme Name: Ancient Thespians Child
Theme URI: https://ancientthespians.com
Description: Ancient Thespians - Digital Gaming Epic Theatre Child Theme
Author: Ancient Thespians
Template: astra
Version: 1.0.0
Text Domain: anth-child
*/

body.anth-overlay-active{
	--anth-page-bg: #f5ede0;
	--anth-card-bg: #fdf6e3;
	--anth-card-soft: #fffbf0;
	--anth-card-mute: #f0e3d0;
	--anth-text: #2c1810;
	--anth-text-muted: #5d4037;
	--anth-text-faint: #8c7a6e;
	--anth-border: #e7d5c0;
	--anth-border-soft: #efe0c8;
	--anth-accent: #9f1239;
	--anth-accent-dark: #4a0404;
	--anth-accent-soft: #fecdd3;
	--anth-shadow: 0 1px 3px rgba(74,4,4,0.05), 0 1px 2px rgba(74,4,4,0.04);
	--anth-shadow-hover: 0 12px 28px rgba(74,4,4,0.12), 0 4px 10px rgba(74,4,4,0.06);

	--ast-global-color-0: #9f1239;
	--ast-global-color-1: #4a0404;
	--ast-global-color-2: #2c1810;
	--ast-global-color-3: #5d4037;
	--ast-global-color-4: #f5ede0;
	--ast-global-color-5: #fdf6e3;
	--ast-global-color-6: #e7d5c0;

	font-family: 'IBM Plex Sans KR', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
	background-color: var(--anth-page-bg);
	color: var(--anth-text);
}

.anth-overlay-active h1,
.anth-overlay-active h2,
.anth-overlay-active h3,
.anth-overlay-active h4,
.anth-overlay-active .entry-title,
.anth-overlay-active .site-title{
	font-family: 'Noto Serif KR', 'Nanum Myeongjo', serif;
	letter-spacing: -0.015em;
	color: var(--anth-text);
}

.anth-overlay-active .ast-container{
	max-width: 1180px;
}

.anth-overlay-active.ast-separate-container .ast-article-post,
.anth-overlay-active.ast-separate-container .ast-archive-description{
	background-color: var(--anth-card-bg);
	border: 1px solid var(--anth-border-soft);
	border-radius: 6px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	box-shadow: var(--anth-shadow);
}
.anth-overlay-active.ast-separate-container .ast-article-post:hover{
	transform: scale(1.015);
	box-shadow: var(--anth-shadow-hover);
	border-color: var(--anth-accent-soft);
}
.anth-overlay-active.ast-separate-container .ast-article-post.sticky{
	border-top: 4px solid var(--anth-accent);
	background: linear-gradient(180deg, var(--anth-card-soft) 0%, var(--anth-card-bg) 240px);
}

.anth-overlay-active .ast-article-post .entry-title{
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 14px;
}
.anth-overlay-active .ast-article-post .entry-title a{
	color: var(--anth-text);
	text-decoration: none;
}
.anth-overlay-active .ast-article-post .entry-title a:hover{
	color: var(--anth-accent-dark);
}

.anth-overlay-active .entry-meta{
	color: var(--anth-text-faint);
	font-size: 13px;
	font-weight: 400;
}
.anth-overlay-active .entry-meta *{
	color: var(--anth-text-faint);
	font-weight: 400;
}
.anth-overlay-active .entry-meta a:not(.ast-button){
	color: var(--anth-text-muted);
}
.anth-overlay-active .entry-meta a:not(.ast-button):hover,
.anth-overlay-active .entry-meta a:not(.ast-button):hover *{
	color: var(--anth-accent-dark);
}

.anth-overlay-active .cat-links a{
	display: inline-block;
	padding: 3px 10px;
	background: var(--anth-card-mute);
	color: var(--anth-text-muted);
	font-size: 12px;
	font-weight: 500;
	border-radius: 3px;
	text-decoration: none;
	letter-spacing: 0.01em;
	transition: background 0.18s ease, color 0.18s ease;
}
.anth-overlay-active .cat-links a:hover{
	background: var(--anth-accent-soft);
	color: var(--anth-accent-dark);
}

.anth-overlay-active .ast-the-content-more-link a,
.anth-overlay-active .read-more,
.anth-overlay-active .content-read-more{
	display: inline-block;
	margin-top: 14px;
	padding: 7px 16px;
	background: var(--anth-card-mute);
	color: var(--anth-text);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 4px;
	transition: background 0.18s ease, color 0.18s ease;
}
.anth-overlay-active .ast-the-content-more-link a:hover,
.anth-overlay-active .read-more:hover,
.anth-overlay-active .content-read-more:hover{
	background: var(--anth-accent);
	color: #ffffff;
}

.anth-overlay-active .ast-pagination .page-numbers{
	color: var(--anth-text-muted);
	font-weight: 500;
}
.anth-overlay-active .ast-pagination .page-numbers.current,
.anth-overlay-active .ast-pagination .page-numbers:hover{
	color: #ffffff;
	background-color: var(--anth-accent);
	border-color: var(--anth-accent);
}
.anth-overlay-active .ast-pagination a:hover,
.anth-overlay-active .ast-pagination > span.current{
	color: var(--anth-accent-dark);
}

.anth-overlay{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 84px;
	z-index: 9990;
	background: rgba(253, 246, 227, 0.78);
	backdrop-filter: blur(22px);
	-webkit-backdrop-filter: blur(22px);
	border-bottom: 1px solid rgba(231, 213, 192, 0.5);
	transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.anth-overlay.anth-scrolled{
	background: rgba(253, 246, 227, 0.96);
	box-shadow: 0 2px 18px rgba(74, 4, 4, 0.08);
	border-bottom-color: var(--anth-border);
}
.logged-in.admin-bar .anth-overlay{
	top: 32px;
}
@media (max-width: 782px){
	.logged-in.admin-bar .anth-overlay{
		top: 46px;
	}
}
.anth-overlay-inner{
	max-width: 1180px;
	margin: 0 auto;
	height: 100%;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.anth-brand{
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--anth-text);
}
.anth-brand-mark{
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--anth-accent);
	color: #fdf6e3;
	border-radius: 50%;
	flex-shrink: 0;
}
.anth-brand-mark svg{
	width: 20px;
	height: 20px;
}
.anth-brand-text{
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}
.anth-brand-title{
	font-family: 'Noto Serif KR', serif;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--anth-text);
}
.anth-brand-sub{
	font-family: 'IBM Plex Sans KR', sans-serif;
	font-size: 10px;
	color: var(--anth-text-faint);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin-top: 3px;
}
.anth-brand:hover .anth-brand-title{
	color: var(--anth-accent-dark);
}

.anth-nav{
	display: flex;
	align-items: center;
}
.anth-nav ul{
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}
.anth-nav a{
	display: inline-block;
	padding: 9px 16px;
	color: var(--anth-text-muted);
	font-family: 'IBM Plex Sans KR', sans-serif;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 4px;
	transition: color 0.15s ease, background 0.15s ease;
	position: relative;
}
.anth-nav a::after{
	content: "";
	position: absolute;
	bottom: 4px;
	left: 50%;
	width: 0;
	height: 1px;
	background: var(--anth-accent);
	transform: translateX(-50%);
	transition: width 0.22s ease;
}
.anth-nav a:hover{
	color: var(--anth-accent-dark);
}
.anth-nav a:hover::after{
	width: calc(100% - 32px);
}

.anth-toggle{
	display: none;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 1px solid var(--anth-border);
	border-radius: 5px;
	padding: 0;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 4px;
}
.anth-toggle span{
	display: block;
	width: 18px;
	height: 1.5px;
	background: var(--anth-text);
	border-radius: 1px;
	transition: transform 0.22s ease, opacity 0.22s ease;
}
.anth-overlay.anth-open .anth-toggle span:nth-child(1){
	transform: translateY(6px) rotate(45deg);
}
.anth-overlay.anth-open .anth-toggle span:nth-child(2){
	opacity: 0;
}
.anth-overlay.anth-open .anth-toggle span:nth-child(3){
	transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 921px){
	.anth-overlay{
		height: 72px;
	}
	.anth-overlay-inner{
		padding: 0 16px;
	}
	.anth-toggle{
		display: flex;
	}
	.anth-nav{
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--anth-card-bg);
		border-bottom: 1px solid var(--anth-border);
		box-shadow: 0 14px 28px rgba(74, 4, 4, 0.08);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.32s ease;
	}
	.anth-overlay.anth-open .anth-nav{
		max-height: 480px;
	}
	.anth-nav ul{
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 14px 20px;
		width: 100%;
	}
	.anth-nav a{
		display: block;
		padding: 13px 14px;
	}
	.anth-nav a::after{
		display: none;
	}
	.anth-brand-sub{
		display: none;
	}
}

.anth-about-strip{
	max-width: 1180px;
	margin: 32px auto 28px;
	padding: 0 20px;
}
.anth-about-card{
	background: var(--anth-card-bg);
	border: 1px solid var(--anth-border-soft);
	border-top: 4px solid var(--anth-accent);
	border-radius: 6px;
	padding: 28px 32px;
	box-shadow: var(--anth-shadow);
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 24px;
	align-items: center;
}
.anth-about-emblem{
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--anth-accent);
	color: #fdf6e3;
	border-radius: 50%;
	flex-shrink: 0;
}
.anth-about-emblem svg{
	width: 30px;
	height: 30px;
}
.anth-about-content{
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.anth-about-overline{
	font-family: 'IBM Plex Sans KR', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	color: var(--anth-accent);
	text-transform: uppercase;
}
.anth-about-headline{
	font-family: 'Noto Serif KR', serif;
	font-size: 19px;
	font-weight: 700;
	color: var(--anth-text);
	margin: 0;
	line-height: 1.45;
}
.anth-about-sub{
	font-size: 13px;
	color: var(--anth-text-muted);
	line-height: 1.7;
	margin: 0;
}
@media (max-width: 600px){
	.anth-about-card{
		grid-template-columns: 1fr;
		text-align: left;
		padding: 22px;
	}
	.anth-about-emblem{
		width: 48px;
		height: 48px;
	}
}

.anth-megafooter{
	background: var(--anth-card-bg);
	border-top: 1px solid var(--anth-border);
	padding: 56px 0 36px;
	margin-top: 56px;
}
.anth-megafooter-inner{
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 36px;
}
.anth-foot-act{
	font-family: 'Noto Serif KR', serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--anth-accent);
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--anth-border-soft);
	text-transform: uppercase;
}
.anth-foot-act::before{
	content: "";
	display: inline-block;
	width: 14px;
	height: 1px;
	background: var(--anth-accent);
	vertical-align: middle;
	margin-right: 8px;
	transform: translateY(-2px);
}

.anth-foot-brand-mark{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	text-decoration: none;
}
.anth-foot-brand-mark span{
	font-family: 'Noto Serif KR', serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--anth-text);
	letter-spacing: -0.01em;
}
.anth-foot-brand-text{
	font-size: 12px;
	color: var(--anth-text-muted);
	line-height: 1.75;
	margin: 0;
}

.anth-foot-cat-list,
.anth-foot-recent-list,
.anth-foot-back-list{
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.anth-foot-cat-list a,
.anth-foot-back-list a{
	display: inline-block;
	color: var(--anth-text-muted);
	text-decoration: none;
	font-size: 13px;
	line-height: 1.6;
	position: relative;
	transition: color 0.18s ease;
}
.anth-foot-cat-list a::after,
.anth-foot-back-list a::after{
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0;
	height: 1px;
	background: var(--anth-accent);
	transition: width 0.22s ease;
}
.anth-foot-cat-list a:hover,
.anth-foot-back-list a:hover{
	color: var(--anth-accent-dark);
}
.anth-foot-cat-list a:hover::after,
.anth-foot-back-list a:hover::after{
	width: 100%;
}

.anth-foot-recent-item{
	padding-bottom: 9px;
	border-bottom: 1px dashed var(--anth-border-soft);
}
.anth-foot-recent-item:last-child{
	padding-bottom: 0;
	border-bottom: 0;
}
.anth-foot-recent-item a{
	color: var(--anth-text);
	text-decoration: none;
	font-size: 12.5px;
	line-height: 1.55;
	font-weight: 500;
	transition: color 0.15s ease;
	display: block;
}
.anth-foot-recent-item a:hover{
	color: var(--anth-accent-dark);
}
.anth-foot-recent-cat{
	display: block;
	margin-top: 3px;
	font-size: 10.5px;
	color: var(--anth-text-faint);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

@media (max-width: 921px){
	.anth-megafooter-inner{
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
}
@media (max-width: 540px){
	.anth-megafooter-inner{
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

.anth-curtain{
	background: var(--anth-accent-dark);
	color: #fdf6e3;
	padding: 22px 0;
}
.anth-curtain-inner{
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}
.anth-curtain-policies{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 16px;
	font-size: 12px;
}
.anth-curtain-policies a{
	color: #fecdd3;
	text-decoration: none;
	transition: color 0.15s ease;
}
.anth-curtain-policies a:hover{
	color: #fdf6e3;
}
.anth-curtain-policies .anth-sep{
	color: rgba(254, 205, 211, 0.4);
	user-select: none;
}
.anth-curtain-copy{
	font-family: 'Noto Serif KR', serif;
	font-size: 12px;
	color: rgba(253, 246, 227, 0.85);
	letter-spacing: 0.02em;
}
.anth-curtain-copy .anth-mark{
	color: var(--anth-accent-soft);
	margin: 0 7px;
}

.anth-overlay-active button,
.anth-overlay-active .ast-button,
.anth-overlay-active input[type="submit"],
.anth-overlay-active input[type="button"],
.anth-overlay-active .wp-block-button .wp-block-button__link{
	background-color: var(--anth-accent);
	color: #fdf6e3;
	border-color: var(--anth-accent);
	border-radius: 4px;
}
.anth-overlay-active button:hover,
.anth-overlay-active .ast-button:hover,
.anth-overlay-active input[type="submit"]:hover,
.anth-overlay-active .wp-block-button .wp-block-button__link:hover{
	background-color: var(--anth-accent-dark);
	color: #fdf6e3;
	border-color: var(--anth-accent-dark);
}

.anth-overlay-active #ast-scroll-top{
	background-color: var(--anth-text);
	color: #fdf6e3;
}
.anth-overlay-active #ast-scroll-top:hover{
	background-color: var(--anth-accent-dark);
}

.anth-overlay-active #colophon{
	display: none;
}

#masthead,
body.anth-overlay-active #masthead,
body.anth-overlay-active #ast-desktop-header,
body.anth-overlay-active #ast-mobile-header{
	visibility: hidden;
	position: absolute;
	left: -9999px;
	height: 0;
	width: 0;
	overflow: hidden;
	pointer-events: none;
}