/* Quick Guide hub: task-first navigation with visible paths into focused deep dives. */
.rk-guides-page { margin-block-start: 0; background: #fff; }
.rk-guides-page :where(.wp-block-group, p, h1, h2, h3, .wp-block-buttons) { margin-block: 0; }
.rk-guides-page :where(.wp-block-group, .wp-block-button) { min-width: 0; }
.rk-guides-page :where(p, small) { color: var(--ink-700); line-height: 1.65; }
.rk-guides-page :where(h1, h2, h3) { color: var(--ink-900); font-weight: 600; text-wrap: balance; }
.rk-guides-page h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -.045em; }
.rk-guides-page h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.18; letter-spacing: -.03em; }
.rk-guides-page h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.02em; }
.rk-guides-page .eyebrow { margin-bottom: 16px; color: var(--brand-primary-700); font-size: 11px; letter-spacing: .12em; }
.rk-guides-page :where(a, button):focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 4px; }
.rk-guides-page [id] { scroll-margin-top: 96px; }
.guides-hero { padding: var(--rk-page-top-space) 0 var(--rk-section-space); border-bottom: 1px solid #dfe4eb; background: linear-gradient(135deg, #edf3f9, #f7f8fa 65%, #eef4f2); }
.guides-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(310px, .65fr); gap: 80px; align-items: center; }
.rk-guides-page .lead { max-width: 720px; margin-top: 24px; font-size: 18px; }
.rk-guides-page .guides-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rk-guides-page .wp-block-button__link { min-height: 48px; padding: 13px 18px; font-size: 14px; font-weight: 600; }
.guides-search { padding: 28px; border: 1px solid #cdd7e2; border-radius: 10px; background: #fff; box-shadow: 0 22px 44px -30px #263f5c80; }
.guides-search > label { display: block; margin-bottom: 12px; color: var(--ink-900); font-size: 16px; font-weight: 600; }
.guides-search-control { position: relative; display: flex; align-items: center; }
.guides-search-control > svg { position: absolute; left: 16px; z-index: 1; color: var(--brand-primary-700); pointer-events: none; }
.guides-search input { width: 100%; min-height: 54px; padding: 12px 70px 12px 46px; border: 1px solid #aebdcb; border-radius: 7px; background: #fff; color: var(--ink-900); font: inherit; font-size: 14px; transition: border-color .16s ease, box-shadow .16s ease; }
.guides-search input::placeholder { color: var(--ink-500); opacity: 1; }
.guides-search input::-webkit-search-cancel-button { appearance: none; }
.guides-search input:focus { border-color: var(--brand-primary); outline: 0; box-shadow: 0 0 0 3px #1f6fb826; }
.guides-search-clear { position: absolute; right: 8px; min-height: 38px; padding-inline: 10px; border: 0; border-radius: 5px; background: transparent; color: var(--brand-primary-700); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.guides-search-clear:hover { background: var(--surface-50); }
.rk-guides-page .guides-search-help { margin-top: 11px; font-size: 12px; }
.rk-guides-page .guides-search-status { margin-top: 5px; color: var(--ink-500); font-size: 12px; }
.guides-search-empty { grid-column: 1 / -1; padding: 22px; border: 1px dashed #cdd7e2; border-radius: 8px; background: var(--surface-50); text-align: center; }
.rk-guides-page :where(.guides-task, .guides-card, .guides-search-clear, .guides-search-empty)[hidden] { display: none; }
.guides-quick { padding-block: var(--rk-section-space); }
.guides-section-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .65fr); gap: 72px; align-items: end; margin-bottom: 36px; }
.guides-section-head > p { font-size: 15px; }
.guides-task-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guides-task { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 92px; padding: 20px 22px; border: 1px solid #dfe4eb; border-radius: 8px; color: var(--ink-900); text-decoration: none; transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.guides-task:hover { transform: translateY(-2px); border-color: var(--brand-primary); box-shadow: 0 12px 28px -22px #1f6fb8; }
.guides-task strong, .guides-task small { display: block; }
.guides-task strong { font-size: 15px; }
.guides-task small { margin-top: 5px; font-size: 12px; }
.guides-arrow { flex: 0 0 auto; color: var(--brand-primary); font-size: 20px; }
.guides-deep-dives { padding-block: var(--rk-section-space); border-block: 1px solid #e2e6eb; background: var(--surface-50); }
.guides-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guides-card { display: flex; flex-direction: column; min-height: 310px; padding: 26px; border: 1px solid #dfe4eb; border-radius: 9px; background: #fff; }
.rk-guides-page .guides-card-kicker { color: var(--brand-primary-700); font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.guides-card h3 { margin-top: 12px; }
.guides-card h3 + p { margin-top: 16px; font-size: 14px; }
.rk-guides-page .guides-card-meta { margin-top: 18px; color: var(--ink-500); font-family: var(--wp--preset--font-family--mono); font-size: 11px; }
.guides-card > a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: auto; padding-top: 20px; font-size: 13px; font-weight: 600; text-decoration: none; }
.guides-card > a:hover { text-decoration: underline; }
.guides-help { padding-block: var(--rk-section-space); background: var(--dark-900); }
.guides-help-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; }
.guides-help h2 { color: #fff; }
.guides-help p { max-width: 720px; margin-top: 14px; color: var(--ink-on-dark); }
@media (max-width: 980px) {
	.guides-hero-grid { grid-template-columns: 1fr; gap: 38px; }
	.guides-search { max-width: 680px; }
	.guides-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.guides-hero { padding: var(--rk-page-top-space) 0 var(--rk-section-space); }
	.guides-quick, .guides-deep-dives { padding-block: var(--rk-section-space); }
	.guides-section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
	.guides-task-grid, .guides-card-grid, .guides-help-grid { grid-template-columns: 1fr; }
	.guides-card { min-height: 0; }
	.guides-help-grid { gap: 28px; }
}
@media (max-width: 480px) {
	.rk-guides-page .shell { width: calc(100% - 36px); }
	.rk-guides-page h1 { font-size: 38px; }
	.rk-guides-page .lead { font-size: 16px; }
	.guides-search, .guides-card { padding: 22px; }
	.guides-task { min-height: 86px; padding: 18px; }
	.guides-actions .wp-block-button, .guides-actions .wp-block-button__link, .guides-help .wp-block-button, .guides-help .wp-block-button__link { width: 100%; }
}
@media print {
	.guides-hero, .guides-deep-dives { background: #fff; }
	.guides-task, .guides-card, .guides-search { break-inside: avoid; box-shadow: none; }
}
