/* Exam-problem ("iq-problem") template — shared stylesheet.
   Extracted verbatim from existing exam posts (blue tone, unchanged per site convention).
   Markup convention: <div id="iq-prob-N" class="iq-problem-wrap">...</div>
   See .cursor/skills/wp-exam-post/SKILL.md for the full markup template. */
.iq-problem-wrap *{box-sizing:border-box}
.iq-problem-wrap{font-family:'Noto Sans KR','Apple SD Gothic Neo',sans-serif;max-width:860px;margin:0 auto;padding:10px 0;color:#1e293b}
.iq-problem-body{font-size:1.15em;line-height:2;margin-bottom:28px;padding:24px 28px;background:#fff;border:1px solid #e8edf3;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.iq-choices{margin:24px 0 4px;display:flex;flex-direction:column;gap:10px}
.iq-choice{display:flex;align-items:flex-start;gap:12px;padding:12px 18px;border-radius:10px;border:1.5px solid #e2e8f0;background:#fafbfd;line-height:1.75}
.iq-circle{flex-shrink:0;width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);color:#fff;font-weight:700;font-size:.9em;display:flex;align-items:center;justify-content:center;}
.iq-choice-text{flex:1;font-size:1em;color:#334155}
.iq-accordion{margin-top:32px;border-radius:14px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.09);border:1px solid #e2e8f0}
.iq-accordion summary{list-style:none;display:flex;align-items:center;gap:10px;padding:16px 22px;background:linear-gradient(90deg,#1e3a5f 0%,#2563eb 100%);color:#fff;font-weight:700;font-size:1.05em;cursor:pointer;user-select:none;}
.iq-accordion-body{padding:26px 28px 32px;background:#fff;overflow:visible}
.iq-answer-badge{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,#fee2e2 0%,#fecaca 100%);border:1.5px solid #fca5a5;border-radius:30px;padding:8px 20px;margin-bottom:24px;font-size:1.2em;color:#b91c1c;font-weight:800;}
.iq-section-box{margin-top:28px;padding:18px 20px;border-radius:10px;border:1px solid transparent;position:relative;}
.iq-section-title{display:flex;align-items:center;gap:7px;font-weight:700;font-size:1.05em;margin-bottom:12px;padding-bottom:8px;border-bottom:2px solid rgba(0,0,0,0.05)}
.iq-section-body{line-height:1.85;color:#475569;font-size:.98em}
.theme-standard{background:#fafafa;border-left:4px solid #94a3b8;}
.theme-concept{background:#eff6ff;border-left:4px solid #3b82f6;}
.theme-insight{background:#fefce8;border-left:4px solid #eab308;}
.math-step{opacity:0.45;transition:opacity 0.35s ease;}
.active-normal{opacity:1 !important;}
.step-target{
  display:inline;
  padding-bottom:2px;
  background:linear-gradient(#3b82f6,#3b82f6) no-repeat bottom left;
  background-size:0% 2.5px;
  transition:background-size 0.9s ease;
}
.step-target.step-target-active{background-size:100% 2.5px;}
.killer-point{
  background:linear-gradient(135deg,#fef9c3,#fde047);
  border-radius:4px;
  padding:1px 5px;
  font-weight:700;
  color:#1e293b;
  box-shadow:0 1px 4px rgba(0,0,0,.12);
}
.iq-problem-wrap ul,.iq-problem-wrap ol{padding-left:24px;margin-top:8px;margin-bottom:8px;list-style-position:outside;}
.iq-problem-wrap li{margin-bottom:6px;line-height:1.75;}

/* ==========================================================================
   Entry header (post title) — bleeds the theme's default title block into
   a blue gradient band matching the iq-problem accordion header, instead of
   the plain default GeneratePress title used elsewhere on the site.
   ========================================================================== */
.entry-header{
	position:relative;
	overflow:hidden;
	isolation:isolate;
	margin:calc(-1 * var(--mo-space-10, 2.5rem)) calc(-1 * var(--mo-space-10, 2.5rem)) var(--mo-space-8, 2rem);
	padding:var(--mo-space-8, 2rem) var(--mo-space-10, 2.5rem) var(--mo-space-6, 1.5rem);
	background:linear-gradient(135deg,#1e3a5f 0%,#2563eb 100%);
	border:none;
	border-radius:var(--mo-radius-xl, 1.25rem) var(--mo-radius-xl, 1.25rem) 0 0;
}

.entry-header::before{
	content:"";
	position:absolute;
	top:-70px;
	right:-70px;
	width:240px;
	height:240px;
	border-radius:50%;
	background:radial-gradient(circle,rgba(255,255,255,.14),transparent 70%);
	z-index:0;
}

.mo-exam-kicker{
	position:relative;
	z-index:1;
	margin-bottom:14px;
}

.mo-exam-kicker-badge{
	display:inline-flex;
	align-items:center;
	gap:6px;
	padding:6px 14px;
	border-radius:999px;
	background:rgba(255,255,255,.16);
	border:1px solid rgba(255,255,255,.38);
	color:#fff;
	font-size:.82em;
	font-weight:700;
	letter-spacing:.01em;
}

.entry-header .entry-title{
	position:relative;
	z-index:1;
	margin:0 0 16px;
	color:#fff;
	font-size:clamp(1.35rem, 1.05rem + 1.1vw, 1.85rem);
	font-weight:800;
	line-height:1.45;
	letter-spacing:-0.01em;
}

.entry-header .entry-meta{
	position:relative;
	z-index:1;
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	font-size:.85em;
}

.entry-header .entry-meta .posted-on,
.entry-header .entry-meta .byline{
	display:inline-flex;
	align-items:center;
	gap:6px;
	padding:5px 12px;
	border-radius:999px;
	background:rgba(255,255,255,.13);
	color:rgba(255,255,255,.92);
}

.entry-header .entry-meta .posted-on::before{content:"📅";font-size:.95em;}
.entry-header .entry-meta .byline::before{content:"✍️";font-size:.95em;}

.entry-header .entry-meta a,
.entry-header .entry-meta .author-name{
	color:#fff;
	font-weight:600;
}

.entry-header .entry-meta a:hover{
	color:#fff;
	text-decoration:underline;
}

@media (max-width:768px){
	.entry-header{
		margin:calc(-1 * var(--mo-space-6, 1.5rem)) calc(-1 * var(--mo-space-5, 1.25rem)) var(--mo-space-6, 1.5rem);
		padding:var(--mo-space-6, 1.5rem) var(--mo-space-5, 1.25rem) var(--mo-space-5, 1.25rem);
		border-radius:var(--mo-radius-lg, 1rem) var(--mo-radius-lg, 1rem) 0 0;
	}

	.entry-header .entry-title{
		font-size:1.2rem;
	}
}
