/*
Theme Name: Ticketnote
Description: Ticketnote child theme for the Twenty Twenty-Five block theme.
Template: twentytwentyfive
Version: 0.3.0
Text Domain: ticketnote
*/

:root {
	--ticketnote-ink: #172033;
	--ticketnote-muted: #667085;
	--ticketnote-line: #e5e9f2;
	--ticketnote-paper: #ffffff;
	--ticketnote-soft: #f5f7fb;
	--ticketnote-accent: #5468ff;
	--ticketnote-accent-soft: #eef0ff;
}

.single-ticketnote_event main {
	color: var(--ticketnote-ink);
}

.ticketnote-site-header {
	padding: 22px max(24px, calc((100vw - 1120px) / 2));
	border-bottom: 1px solid var(--ticketnote-line);
	background: rgba(255, 255, 255, 0.96);
}

.ticketnote-site-header .wp-block-site-title {
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.ticketnote-site-header a {
	color: var(--ticketnote-ink);
	text-decoration: none;
}

.ticketnote-primary-nav {
	font-size: 0.94rem;
	font-weight: 700;
}

.ticketnote-primary-nav a:hover,
.ticketnote-primary-nav a:focus,
.ticketnote-footer-nav a:hover,
.ticketnote-footer-nav a:focus {
	color: var(--ticketnote-accent);
}

.ticketnote-site-tagline {
	margin: 0;
	color: var(--ticketnote-muted);
	font-size: 0.9rem;
}

.single-ticketnote_event .wp-block-post-title,
.single-ticketnote_event .wp-block-post-featured-image,
.single-ticketnote_event .wp-block-post-content,
.single-ticketnote_event .ticketnote-byline {
	width: min(100% - 32px, 920px);
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

.single-ticketnote_event .wp-block-post-title {
	font-size: clamp(2rem, 4.6vw, 3.65rem);
	line-height: 1.14;
	letter-spacing: -0.045em;
	word-break: keep-all;
	margin-bottom: 16px;
}

.ticketnote-byline {
	display: flex;
	gap: 10px;
	align-items: center;
	color: var(--ticketnote-muted);
	font-size: 0.93rem;
	margin-bottom: 32px;
}

.ticketnote-byline .wp-block-avatar,
.ticketnote-byline .avatar {
	margin: 0;
	border-radius: 999px;
}

.ticketnote-byline .wp-block-post-author-name::before {
	content: "작성 ";
	font-weight: 400;
}

.single-ticketnote_event .ticketnote-hero {
	margin-top: 24px;
	margin-bottom: 42px;
	background: #0b1c35;
	border-radius: 26px;
	overflow: hidden;
	box-shadow: 0 22px 60px rgba(18, 35, 68, 0.14);
}

.single-ticketnote_event .ticketnote-hero img {
	display: block;
	width: 100%;
	height: auto !important;
	aspect-ratio: 16 / 9;
	object-fit: contain !important;
}

.ticketnote-article-body {
	font-size: clamp(1.04rem, 2vw, 1.16rem);
	line-height: 1.85;
}

.ticketnote-article-intro {
	font-size: clamp(1.1rem, 2.2vw, 1.28rem);
	line-height: 1.8;
	margin-bottom: 44px;
}

.ticketnote-article-intro blockquote {
	margin: 0 0 24px;
	padding: 12px 18px;
	border-left: 4px solid var(--ticketnote-accent);
	background: var(--ticketnote-accent-soft);
	border-radius: 0 12px 12px 0;
}

.ticketnote-content-section {
	margin: 30px 0;
	padding: clamp(22px, 4vw, 38px);
	background: var(--ticketnote-paper);
	border: 1px solid var(--ticketnote-line);
	border-radius: 22px;
	box-shadow: 0 10px 32px rgba(18, 35, 68, 0.055);
}

.ticketnote-content-section > h2 {
	position: relative;
	font-size: clamp(1.52rem, 3.4vw, 2.12rem);
	line-height: 1.32;
	letter-spacing: -0.035em;
	word-break: keep-all;
	margin: 0 0 22px;
	padding-left: 18px;
}

.ticketnote-content-section > h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.12em;
	width: 6px;
	height: 1.08em;
	border-radius: 10px;
	background: linear-gradient(180deg, #6c63ff, #ef6d95);
}

.ticketnote-content-section h3 {
	font-size: 1.18rem;
	margin-top: 26px;
}

.ticketnote-table-scroll {
	overflow-x: auto;
	margin: 24px 0;
	border: 1px solid var(--ticketnote-line);
	border-radius: 15px;
	background: #fff;
}

.ticketnote-table-scroll table {
	display: table !important;
	width: 100% !important;
	min-width: 520px;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse !important;
	table-layout: auto !important;
}

.ticketnote-table-scroll th,
.ticketnote-table-scroll td {
	display: table-cell !important;
	padding: 15px 18px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--ticketnote-line) !important;
	vertical-align: top;
	text-align: left !important;
	white-space: normal;
	word-break: keep-all;
}

.ticketnote-table-scroll th {
	background: var(--ticketnote-soft);
	font-weight: 750;
	color: #313b52;
}

.ticketnote-table-scroll tr:last-child td {
	border-bottom: 0 !important;
}

.ticketnote-content-section ul,
.ticketnote-content-section ol {
	padding-left: 1.3em;
}

.ticketnote-content-section li + li {
	margin-top: 10px;
}

.ticketnote-content-section a:not(.ticketnote-action) {
	color: #3b50dc;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.ticketnote-site-footer {
	margin-top: 72px;
	padding: 48px max(24px, calc((100vw - 1120px) / 2));
	background: #111827;
	color: #d6dbea;
}

.ticketnote-comments {
	width: min(100% - 32px, 920px);
	max-width: 920px;
	margin: 56px auto 0;
	padding: clamp(22px, 4vw, 38px);
	border: 1px solid var(--ticketnote-line);
	border-radius: 22px;
	background: var(--ticketnote-paper);
}

.ticketnote-comments > h2 {
	margin-top: 0;
}

.ticketnote-comments input:not([type="checkbox"]),
.ticketnote-comments textarea {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid var(--ticketnote-line);
	border-radius: 10px;
	padding: 12px 14px;
}

.ticketnote-comments .form-submit input {
	width: auto;
	border: 0;
	border-radius: 999px;
	padding: 12px 20px;
	background: var(--ticketnote-ink);
	color: #fff;
	font-weight: 700;
}

.ticketnote-site-footer .wp-block-site-title {
	margin: 0 0 10px;
	font-size: 1.25rem;
}

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

.ticketnote-footer-note {
	margin-top: 24px;
	color: #8993aa;
	font-size: 0.86rem;
}

.ticketnote-footer-nav {
	margin-top: 22px;
	font-size: 0.92rem;
}

.ticketnote-home,
.ticketnote-archive,
.ticketnote-page {
	padding: 0 24px 72px;
}

.ticketnote-home-hero {
	margin: 0 calc(50% - 50vw) 64px;
	padding: clamp(72px, 10vw, 132px) max(24px, calc((100vw - 1120px) / 2));
	color: #fff;
	background:
		radial-gradient(circle at 82% 16%, rgba(239, 109, 149, 0.38), transparent 32%),
		linear-gradient(135deg, #111827 0%, #172c58 56%, #3d3a82 100%);
}

.ticketnote-eyebrow {
	margin: 0 0 18px;
	color: #92e6c0;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.ticketnote-home-hero h1 {
	max-width: 900px;
	margin: 0 0 24px;
	font-size: clamp(2.45rem, 6.2vw, 5.3rem);
	line-height: 1.08;
	letter-spacing: -0.055em;
	word-break: keep-all;
}

.ticketnote-home-lead {
	max-width: 720px;
	margin-bottom: 34px;
	color: #d9e2f4;
	font-size: clamp(1.08rem, 2vw, 1.3rem);
	line-height: 1.75;
}

.ticketnote-home-hero .wp-block-button__link {
	border-radius: 999px;
	padding: 14px 22px;
	font-weight: 750;
}

.ticketnote-home-section,
.ticketnote-archive,
.ticketnote-page {
	max-width: 1120px;
	margin: 64px auto 0;
}

.ticketnote-home-section > h2,
.ticketnote-archive > h1,
.ticketnote-page > h1 {
	font-size: clamp(2rem, 4vw, 3.2rem);
	letter-spacing: -0.045em;
}

.ticketnote-archive-lead {
	margin-bottom: 36px;
	color: var(--ticketnote-muted);
	font-size: 1.08rem;
}

.ticketnote-event-card,
.ticketnote-value-card {
	height: 100%;
	padding: 18px;
	border: 1px solid var(--ticketnote-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 12px 36px rgba(18, 35, 68, 0.07);
}

.ticketnote-event-card .wp-block-post-featured-image {
	margin: -18px -18px 18px;
	overflow: hidden;
	border-radius: 20px 20px 0 0;
}

.ticketnote-event-card .wp-block-post-title a {
	color: var(--ticketnote-ink);
	text-decoration: none;
}

.ticketnote-event-card .wp-block-post-excerpt__more-link {
	color: #3348cc;
	font-weight: 750;
}

.ticketnote-card-status {
	margin-bottom: 10px;
	color: #087a55;
	font-size: 0.88rem;
	font-weight: 800;
}

.ticketnote-home-values {
	max-width: 1120px;
	margin-top: 64px;
}

.ticketnote-value-card h3 {
	margin-top: 0;
}

.ticketnote-page .wp-block-post-content {
	max-width: 780px;
	font-size: 1.06rem;
	line-height: 1.82;
}

.ticketnote-page .wp-block-post-content h2 {
	margin-top: 2.2em;
	letter-spacing: -0.035em;
}

.ticketnote-page-lead {
	font-size: clamp(1.12rem, 2.2vw, 1.3rem);
	line-height: 1.72;
	color: #344054;
}

@media (max-width: 640px) {
	.ticketnote-site-header > .wp-block-group {
		align-items: flex-start;
	}

	.ticketnote-home,
	.ticketnote-archive,
	.ticketnote-page {
		padding-left: 12px;
		padding-right: 12px;
	}

	.ticketnote-home-hero {
		padding-left: 24px;
		padding-right: 24px;
	}

	.ticketnote-home-values {
		display: block !important;
		grid-template-columns: 1fr !important;
	}

	.ticketnote-value-card {
		min-height: 0;
		margin-top: 16px;
	}
	.single-ticketnote_event .wp-block-post-content.has-global-padding {
		padding-left: 0;
		padding-right: 0;
	}

	.single-ticketnote_event .wp-block-post-title,
	.single-ticketnote_event .wp-block-post-featured-image,
	.single-ticketnote_event .wp-block-post-content,
	.single-ticketnote_event .ticketnote-byline {
		width: min(100% - 24px, 920px);
	}

	.ticketnote-content-section {
		padding: 22px 18px;
		border-radius: 17px;
	}

	.ticketnote-comments {
		width: min(100% - 24px, 920px);
		padding: 22px 18px;
		border-radius: 17px;
	}

	.ticketnote-table-scroll th,
	.ticketnote-table-scroll td {
		padding: 13px 14px !important;
	}
}
