.lifehacks-page { padding: 24px 0 0; background: var(--surface); }
.lifehacks-page .breadcrumbs { margin: 0 0 24px; }
.guides-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 30%); gap: 20px; align-items: stretch; }
.guides-hero__story { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--brand-border); border-radius: 28px; background: #f2f1ef; }
.guides-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; z-index: -2; }
.guides-hero__story::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #f5f5f3f5, #f5f5f3e8 26%, #f5f5f380 49%, transparent 72%); }
.guides-hero__copy { width: min(72%, 720px); min-height: 560px; height: 100%; padding: 42px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.guides-hero__copy .eyebrow { font-size: .8125rem; letter-spacing: .08em; }
.guides-hero__copy h1 { margin: 24px 0; font-size: clamp(2.25rem, 3.35vw, 3.75rem); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; hyphens: none; }
.guides-hero__copy h1 span { color: var(--orange); }
.guides-hero__lead { max-width: 460px; margin: 0 0 32px; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); }
.guides-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.guides-hero__actions .button { padding-inline: 22px; gap: 10px; }
.guides-hero__actions .button--ghost { background: #fffffff0; }
.lifehacks-page--image-unavailable .guides-hero__image { visibility: hidden; }
.lifehacks-page--image-unavailable .guides-hero__story { background: #f6eee3; }
.guide-picker { min-width: 0; padding: 26px; display: flex; flex-direction: column; gap: 20px; border: 1px solid var(--brand-border); border-radius: 28px; background: #fff; }
.guide-picker__eyebrow { display: block; margin-bottom: 12px; color: var(--link); font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.guide-picker__heading h2 { margin: 0; font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.2; font-weight: 700; letter-spacing: -.025em; }
.guide-picker__topics { display: grid; gap: 8px; }
.guide-picker__topics button { display: grid; grid-template-columns: 36px minmax(0, 1fr) 18px; align-items: center; gap: 12px; width: 100%; min-height: 66px; padding: 11px 12px; text-align: left; border: 1px solid var(--brand-border); border-radius: 13px; color: var(--ink); background: #fff; font-family: var(--font-body); cursor: pointer; }
.guide-picker__topics button[aria-selected="false"]:hover { border-color: #efbd84; background: #fffcf8; }
.guide-picker__topics [aria-selected="true"] { background: var(--orange-soft); border-color: var(--action); }
.guide-picker__icon { width: 36px; height: 36px; display: grid; place-items: center; color: var(--link); border-radius: 10px; background: #f6f6f4; }
.guide-picker__icon .icon { width: 21px; height: 21px; }
.guide-picker__topics [aria-selected="true"] .guide-picker__icon { background: var(--action); color: #fff; }
.guide-picker__label { min-width: 0; }
.guide-picker__label strong { display: block; font-size: .875rem; font-weight: 600; line-height: 1.35; }
.guide-picker__label > span { display: block; margin-top: 4px; color: var(--muted); font-size: .8125rem; line-height: 1.35; }
.guide-picker__mark { color: var(--link); visibility: hidden; }
.guide-picker__mark .icon { width: 18px; height: 18px; }
.guide-picker__topics [aria-selected="true"] .guide-picker__mark { visibility: visible; }
.guide-picker__result { margin-top: auto; padding: 18px; border-radius: 16px; background: #fff4e8; }
.guide-picker__caption { display: block; color: var(--link); font-size: .8125rem; }
.guide-recommendation { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 12px; margin: 12px 0 18px; padding: 0; border: 0; color: var(--ink); background: transparent; text-align: left; font-family: var(--font-body); cursor: pointer; }
.guide-recommendation strong { display: block; font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.guide-recommendation > span > span { display: block; margin-top: 8px; color: var(--ink-soft); font-size: .875rem; line-height: 1.5; }
.guide-recommendation__arrow { flex: 0 0 auto; font-size: 1.5rem; color: var(--link); }
.guide-recommendation:hover strong { color: var(--link); }
.guide-picker__result .button { width: 100%; min-height: 48px; padding-inline: 12px; font-size: .875rem; }
.guides-library { padding: 64px 0; }
.guides-library .toolbar { align-items: center; flex-wrap: wrap; }
.guides-library .search-field { flex: 1 1 280px; }
.guides-card .text-link { border: 0; background: transparent; padding: 0; cursor: pointer; }
.guides-card.is-highlighted { border-color: var(--action); background: #fff9f1; }
.lifehacks-page :is(button, [tabindex]):focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
@media (max-width: 1180px) {
  .guides-hero { grid-template-columns: minmax(0, 1fr); }
  .guides-hero__copy { min-height: 470px; }
  .guides-hero__copy h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
  .guide-picker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 26px; }
  .guide-picker__heading, .guide-picker__topics { grid-column: 1; }
  .guide-picker__result { grid-column: 2; grid-row: 1 / 3; margin-top: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 600px) {
  .lifehacks-page { padding-top: 20px; }
  .lifehacks-page .breadcrumbs { margin-bottom: 20px; }
  .guides-hero { gap: 16px; }
  .guides-hero__story, .guide-picker { border-radius: 24px; }
  .guides-hero__image { position: relative; display: block; height: 220px; object-position: right 58%; }
  .guides-hero__story::before { display: none; }
  .guides-hero__copy { width: 100%; min-height: 0; height: auto; padding: 26px 22px 28px; }
  .guides-hero__copy h1 { margin: 18px 0; font-size: clamp(2rem, 7.8vw, 2.75rem); }
  .guides-hero__lead { font-size: 1rem; margin-bottom: 22px; }
  .guides-hero__actions { width: 100%; }
  .guides-hero__actions .button { flex: 1 1 175px; padding-inline: 16px; }
  .guide-picker { display: flex; padding: 22px; gap: 18px; }
  .guide-picker__topics button { gap: 8px; padding-inline: 10px; grid-template-columns: 32px minmax(0, 1fr) 16px; }
  .guide-picker__icon { width: 32px; height: 32px; }
  .guide-picker__result { padding: 16px; }
  .guides-library { padding: 42px 0; }
}
