/* mrfixit.rustanvil.com — design v2 (Blocksy 위에 덧씌움) */
:root {
	--rv-display: "Gmarket Sans", "Pretendard Variable", Pretendard, sans-serif;
	--rv-teal: #0F766E;
	--rv-ink: #0F172A;
}
.rv2 h1, .rv2 h2, .rv2 h3, .rv2 .site-title, .rv2 .entry-title { font-family: var(--rv-display); font-weight: 700; letter-spacing: -0.02em; }

/* ===== 헤더 ===== */
.rv2 #header { box-shadow: 0 1px 0 rgba(15, 23, 42, .06); position: relative; z-index: 20; }
.rv2 .site-branding { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; }
.rv2 .site-branding .site-title-container { margin: 0 !important; }
.rv2 .site-branding::before {
	content: "🧰"; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; font-size: 22px;
	background: linear-gradient(135deg, #CCFBF1, #FEF3C7); box-shadow: inset 0 0 0 1px rgba(15, 118, 110, .15);
}
.rv2 .site-title a { background: linear-gradient(90deg, #0F766E, #0E7490); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.rv2 .ct-header .menu > li > a { position: relative; }
.rv2 .ct-header .menu > li > a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 30%; height: 2px; border-radius: 2px; background: var(--rv-teal); transition: left .2s ease, right .2s ease; }
.rv2 .ct-header .menu > li > a:hover::after, .rv2 .ct-header .menu > li.current-menu-item > a::after { left: 12px; right: 12px; }

/* ===== 홈 히어로 ===== */
.rv-hero--mf {
	position: relative; overflow: hidden;
	background:
		radial-gradient(800px 360px at 100% 0%, rgba(253, 230, 138, .55), transparent 60%),
		radial-gradient(700px 360px at 0% 100%, rgba(153, 246, 228, .6), transparent 60%),
		linear-gradient(135deg, #F0FDFA 0%, #FFFBEB 100%);
	border-bottom: 1px solid rgba(15, 118, 110, .10);
}
.rv-hero--mf .rv-hero__inner { max-width: 1200px; width: calc(100% - 48px); margin: 0 auto; padding: 52px 0 44px; }
.rv-hero--mf .rv-hero__eyebrow { color: var(--rv-teal); background: #fff; border: 1px solid rgba(15, 118, 110, .2); }
.rv-hero__eyebrow { display: inline-block; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.rv-hero--mf .rv-hero__title { margin: 0; font-size: clamp(34px, 6vw, 52px); line-height: 1.1; color: var(--rv-ink); }
.rv-hero--mf .rv-hero__desc { margin: 12px 0 28px; font-size: 16px; color: #475569; }
.rv-tiles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.rv-tile {
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 14px; border-radius: 16px; text-decoration: none;
	background: #fff; border: 1px solid rgba(15, 23, 42, .06); box-shadow: 0 2px 6px rgba(15, 23, 42, .04);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rv-tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--rv-cat) 40%, transparent); box-shadow: 0 14px 28px color-mix(in srgb, var(--rv-cat) 18%, transparent); }
.rv-tile__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-size: 22px; background: color-mix(in srgb, var(--rv-cat) 14%, #fff); }
.rv-tile__name { font-family: var(--rv-display); font-weight: 700; font-size: 15px; color: var(--rv-ink); }
.rv-tile__count { font-size: 12px; font-weight: 700; color: var(--rv-cat); }
.rv-tile__count.is-empty { color: #94A3B8; font-weight: 600; }
.rv-tile { min-height: 0; }
/* 목록 제목: Blocksy 그리드 위 (loop:before) */
.rv2 .rv-list-head { grid-column: 1 / -1; }
@media (max-width: 1000px) { .rv-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.rv-hero--mf .rv-hero__inner { width: calc(100% - 32px); padding: 34px 0 30px; }
	.rv-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.rv-tile { align-items: center; padding: 12px 4px; border-radius: 14px; text-align: center; }
	.rv-tile__icon { width: 38px; height: 38px; font-size: 20px; }
	.rv-tile__name { font-size: 12.5px; }
	.rv-tile__count { display: none; }
}

/* ===== 목록 섹션 제목 ===== */
.rv-list-head { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.rv-list-head h2 { margin: 0; font-size: 1.25rem; color: var(--rv-ink); }
.rv-list-head::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: linear-gradient(180deg, #14B8A6, var(--rv-teal)); }
.rv-list-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, #CBD5E1, transparent); }

/* ===== 카드 ===== */
.rv2 .entries .entry-card { border-radius: 18px; border: 1px solid rgba(15, 23, 42, .06); box-shadow: 0 2px 8px rgba(15, 23, 42, .05); }
.rv2 .entries .entry-card .ct-media-container { overflow: hidden; }
.rv2 .entries .entry-card .ct-media-container img { transition: transform .5s ease; }
.rv2 .entries .entry-card:hover .ct-media-container img { transform: scale(1.06); }
.rv2 .entries .entry-card:hover { box-shadow: 0 18px 36px rgba(15, 118, 110, .14); }
.rv2 .entries .entry-card .entry-title a:hover { color: var(--rv-teal); }

/* ===== 글 페이지 ===== */
.rv2.single .hero-section .entry-header .page-title, .rv2.single .entry-header .page-title { font-size: clamp(1.8rem, 4.5vw, 2.5rem); line-height: 1.3; }
.rv2.single .entry-content h2 { border-left: 0; padding-left: 0; display: flex; align-items: center; gap: 10px; }
.rv2.single .entry-content h2::before { content: ""; flex: 0 0 auto; width: 6px; height: 1.1em; border-radius: 3px; background: linear-gradient(180deg, #14B8A6, var(--rv-teal)); }

/* ===== 푸터 ===== */
.rv2 #footer, .rv2 .ct-footer { background: #0F172A; }
.rv2 .ct-footer [data-row] { background: transparent !important; border: 0 !important; }
.rv2 .ct-footer, .rv2 .ct-footer-copyright { color: #94A3B8; }
.rv2 .ct-footer-copyright::before { content: "🧰"; margin-right: 8px; }
