/*
Theme Name: Life Hacks List
Theme URI: https://lifehackslist.com/
Description: Practical life hacks for Indian homes, travel, kids and students, with a packing checklist maker.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: lifehackslist
*/

@font-face { font-family: "Bricolage"; font-weight: 600; font-display: swap; src: url(assets/fonts/bricolage-grotesque-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage"; font-weight: 800; font-display: swap; src: url(assets/fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 400; font-display: swap; src: url(assets/fonts/literata-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 400; font-style: italic; font-display: swap; src: url(assets/fonts/literata-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 600; font-display: swap; src: url(assets/fonts/literata-latin-600-normal.woff2) format("woff2"); }

:root {
	--bg: #f6f4fb; --card: #ffffff; --ink: #1d1530; --ink2: #463c5c; --mute: #7a7090; --line: #e6e1f0; --soft: #efebf7;
	--coral: #ff5a36; --coral2: #ffe6df; --plum: #1d1530; --butter: #ffd25a; --mint: #1f9d73; --violet: #7b4dff;
	--st: var(--coral); --r: 22px; --r2: 14px; --shadow: 0 2px 4px rgba(29, 21, 48, .05), 0 18px 40px -20px rgba(29, 21, 48, .28);
	--head: "Bricolage", system-ui, "Segoe UI", sans-serif; --body: "Literata", Georgia, "Noto Serif Devanagari", "Nirmala UI", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.7 var(--body); }
[lang="hi"] { font-family: "Noto Sans Devanagari", "Nirmala UI", "Mangal", system-ui, sans-serif; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
h1, h2, h3, .lh-logo, .lh-nav, .lh-btn { font-family: var(--head); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-weight: 800; font-size: clamp(34px, 5vw, 60px); letter-spacing: -.04em; }
h2 { font-weight: 800; font-size: clamp(25px, 3vw, 34px); }
h3 { font-weight: 600; font-size: 21px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 8px; }
.lh-wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.lh-skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.lh-skip:focus { left: 12px; }
.lh-ico { flex: none; }

/* header: floating pill bar */
.lh-top { position: sticky; top: 0; z-index: 30; padding: 12px 0; background: linear-gradient(var(--bg) 70%, rgba(246, 244, 251, 0)); }
.lh-top-row { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow); padding: 8px 10px 8px 14px; max-width: 1156px; }
.lh-logo { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.03em; margin: 0; }
.lh-logo b { color: var(--coral); font-weight: 800; }
.lh-nav { display: flex; gap: 4px; margin-left: auto; }
.lh-nav a { color: var(--ink2); text-decoration: none; font-weight: 600; font-size: 16px; padding: 9px 15px; border-radius: 999px; }
.lh-nav a:hover { background: color-mix(in srgb, var(--st) 14%, #fff); color: var(--ink); }
.lh-menubtn { display: none; margin-left: auto; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font: 600 15px var(--head); cursor: pointer; }
.lh-menubtn-bars { width: 16px; height: 2px; background: currentColor; position: relative; }
.lh-menubtn-bars::before, .lh-menubtn-bars::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; }
.lh-menubtn-bars::before { top: -5px; } .lh-menubtn-bars::after { top: 5px; }
.lh-drawer { padding: 10px 0 4px; }
.lh-drawer-sections { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.lh-drawer-sections a { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: var(--r2); padding: 13px 14px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); font-family: var(--head); }
.lh-drawer-sections .lh-ico { color: var(--st); }
@media (max-width: 860px) { .lh-nav { display: none; } .lh-menubtn { display: inline-flex; } }

/* home hero */
.lh-hero { padding: 40px 0 56px; }
.lh-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.lh-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--head); color: var(--ink2); background: var(--card); border-radius: 999px; padding: 7px 15px; box-shadow: var(--shadow); }
.lh-eyebrow .lh-ico { color: var(--coral); }
.lh-hero h1 { margin-top: 18px; }
.lh-hero-lede { font-size: 20px; color: var(--ink2); max-width: 52ch; }
.lh-hero-pills { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lh-hero-pills a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); background: var(--card); border: 2px solid color-mix(in srgb, var(--st) 35%, #fff); border-radius: 999px; padding: 9px 16px; font: 600 16px var(--head); }
.lh-hero-pills a .lh-ico { color: var(--st); }
.lh-hero-pills a:hover { background: var(--st); color: #fff; border-color: var(--st); } .lh-hero-pills a:hover .lh-ico { color: #fff; }
.lh-deck { position: relative; height: 470px; }
.lh-deck-card { position: absolute; width: 74%; background: var(--card); border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(29, 21, 48, .5), 0 0 0 1px rgba(29, 21, 48, .05); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .25s; padding-bottom: 16px; }
.lh-deck-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.lh-deck-card b { display: block; padding: 12px 18px 0; font: 800 23px/1.15 var(--head); letter-spacing: -.02em; }
.lh-deck-card small { display: block; padding: 4px 18px 0; color: var(--mute); font-size: 15px; line-height: 1.4; }
.lh-deck-tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; background: var(--st); color: #fff; font: 600 13px var(--head); border-radius: 999px; padding: 5px 11px; }
.lh-deck-tag .lh-ico { width: 16px; height: 16px; }
.lh-deck-card--1 { left: 0; top: 40px; transform: rotate(-5deg); z-index: 1; }
.lh-deck-card--2 { right: 0; top: 0; transform: rotate(4deg); z-index: 2; }
.lh-deck-card--3 { left: 14%; top: 150px; transform: rotate(-1deg); z-index: 3; }
.lh-deck-card:hover { transform: rotate(0) translateY(-6px); z-index: 4; }
@media (max-width: 960px) {
	.lh-hero-grid { grid-template-columns: 1fr; gap: 26px; }
	.lh-deck { height: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; }
	.lh-deck-card { position: relative; width: auto; left: auto; right: auto; top: auto; transform: none; scroll-snap-align: start; }
}

/* page head */
.lh-pagehead { padding: 24px 0 40px; }
.lh-pagehead-grid { display: grid; grid-template-columns: 1fr 460px; gap: 44px; align-items: center; }
.lh-pagehead:not(.lh-pagehead--hack) .lh-pagehead-grid { grid-template-columns: 1fr; }
.lh-trail { display: flex; flex-wrap: wrap; gap: 7px; font: 600 14px var(--head); color: var(--mute); margin-bottom: 16px; }
.lh-trail a { color: var(--ink2); text-decoration: none; } .lh-trail a:hover { color: var(--coral); }
.lh-kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--head); color: var(--st); background: color-mix(in srgb, var(--st) 12%, #fff); border-radius: 999px; padding: 6px 14px; margin-bottom: 14px; }
.lh-pagehead-lede { font-size: 21px; color: var(--ink2); max-width: 46ch; font-style: italic; }
.lh-pagehead-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font: 600 14px var(--head); }
.lh-pagehead-meta span { background: var(--card); border-radius: 999px; padding: 5px 13px; color: var(--ink2); box-shadow: 0 1px 2px rgba(29, 21, 48, .06); }
.lh-pagehead-img { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transform: rotate(1.5deg); border: 8px solid #fff; background: var(--soft); }
.lh-pagehead-img img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .lh-pagehead-grid { grid-template-columns: 1fr; gap: 24px; } .lh-pagehead-img { transform: none; } }

/* reading */
.lh-read { display: grid; grid-template-columns: minmax(0, 780px); justify-content: center; gap: 40px; padding: 10px 22px 70px; }
.lh-read--narrow { grid-template-columns: minmax(0, 720px); }
.lh-article { min-width: 0; }
.lh-intro { font-size: 20px; color: var(--ink2); }
.lh-part { margin: 0 0 46px; }
.lh-article ul, .lh-article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.lh-article li { margin: .35em 0; }
.lh-article ol.hacks { list-style: none; counter-reset: hack; padding: 0; display: grid; gap: 12px; }
.lh-article ol.hacks > li { counter-increment: hack; position: relative; margin: 0; background: var(--card); border-radius: var(--r2); padding: 16px 18px 16px 70px; box-shadow: 0 1px 2px rgba(29, 21, 48, .05); border: 1px solid var(--line); }
.lh-article ol.hacks > li::before { content: counter(hack, decimal-leading-zero); position: absolute; left: 16px; top: 15px; width: 40px; height: 40px; border-radius: 12px; background: var(--st); color: #fff; font: 800 16px/40px var(--head); text-align: center; transform: rotate(-4deg); }
.lh-article ol.hacks > li:nth-child(3n+2)::before { background: var(--plum); transform: rotate(3deg); }
.lh-article ol.hacks > li:nth-child(3n)::before { background: var(--butter); color: var(--ink); transform: rotate(-2deg); }
.lh-article ol.hacks strong:first-child { font-family: var(--head); font-size: 19px; display: block; margin-bottom: 2px; }
.lh-fig { margin: 22px 0 6px; }
.lh-fig img { border-radius: var(--r); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--soft); }
.lh-fig figcaption { font-size: 15px; color: var(--mute); padding: 8px 4px 0; font-style: italic; }
.lh-article .tip, .lh-article .warn, .lh-article .note { border-radius: var(--r2); padding: 16px 18px; margin: 0 0 1.3em; position: relative; }
.lh-article .tip { background: #e5f6ef; } .lh-article .warn { background: #fff1d6; } .lh-article .note { background: var(--soft); }
.lh-article .tip::before, .lh-article .warn::before { display: block; font: 800 13px var(--head); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.lh-article .tip::before { content: "Pro tip"; color: var(--mint); } .lh-article .warn::before { content: "Careful"; color: #b26a00; }
[lang="hi"] .tip::before { content: "काम की बात"; } [lang="hi"] .warn::before { content: "ध्यान दें"; }
.lh-article .tip > :last-child, .lh-article .warn > :last-child, .lh-article .note > :last-child { margin-bottom: 0; }
.lh-table { overflow-x: auto; margin: 0 0 1.4em; background: var(--card); border-radius: var(--r2); border: 1px solid var(--line); }
.lh-article table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.lh-article caption { text-align: left; padding: 12px 16px 0; font: 600 16px var(--head); }
.lh-article th, .lh-article td { text-align: left; vertical-align: top; padding: 11px 16px; border-top: 1px solid var(--line); }
.lh-article thead th { border-top: 0; background: var(--plum); color: #fff; font: 600 14px var(--head); }

/* at a glance */
.lh-key { background: var(--plum); color: #fff; border-radius: var(--r); padding: 20px 22px; margin: 4px 0 34px; }
.lh-key-h { margin: 0 0 10px; font: 800 14px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--butter); }
.lh-key ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.lh-key li { background: rgba(255, 255, 255, .07); border-radius: var(--r2); padding: 11px 13px; margin: 0; }
.lh-key-name { margin: 0; font: 600 13px var(--head); color: #c8bfdc; }
.lh-key-val { font: 600 17px/1.35 var(--head); } .lh-key-val p { margin: 0; }
.lh-key-note { margin: 4px 0 0; font-size: 13px; color: #c8bfdc; }

/* contents */
.lh-toc { background: var(--card); border-radius: var(--r); padding: 18px 20px; margin: 0 0 40px; box-shadow: var(--shadow); }
.lh-toc > p { margin: 0 0 8px; font: 800 14px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--coral); }
.lh-toc ol { margin: 0; padding-left: 1.2em; columns: 2 250px; column-gap: 28px; }
.lh-toc li { break-inside: avoid; font: 600 16px/1.4 var(--head); margin: 0 0 6px; }
.lh-toc a { color: var(--ink2); text-decoration: none; } .lh-toc a:hover, .lh-toc a[aria-current] { color: var(--coral); }

/* tool */
.lh-tool { margin: 0 0 36px; }
.lh-pk { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; border-top: 6px solid var(--coral); }
.lh-pk-title { font: 800 24px var(--head); margin: 0; } .lh-pk-sub { color: var(--mute); margin: 2px 0 14px; font-size: 16px; }
.lh-pk fieldset { border: 0; padding: 0; margin: 0 0 12px; } .lh-pk legend { font: 600 14px var(--head); color: var(--ink2); margin-bottom: 6px; }
.lh-chips-row, .lh-pk-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lh-chip { position: relative; cursor: pointer; }
.lh-chip input { position: absolute; opacity: 0; inset: 0; }
.lh-chip span { display: inline-block; font: 600 15px var(--head); padding: 8px 14px; border-radius: 999px; background: var(--soft); color: var(--ink2); }
.lh-chip input:checked + span { background: var(--ink); color: #fff; }
.lh-chip input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.lh-pk-row label:first-child { font: 600 15px var(--head); display: inline-flex; align-items: center; gap: 8px; margin-right: 6px; }
.lh-pk-days { width: 72px; font: 600 16px var(--head); padding: 7px 10px; border: 2px solid var(--line); border-radius: 12px; }
.lh-pk-out { margin-top: 14px; }
.lh-pk-out h3 { font-size: 17px; margin: 16px 0 6px; color: var(--coral); }
.lh-pk-out ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; }
.lh-pk-out li { margin: 0; } .lh-pk-out label { display: flex; gap: 9px; align-items: flex-start; font-size: 16px; line-height: 1.45; background: var(--bg); border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.lh-pk-out input { margin-top: 4px; accent-color: var(--coral); width: 17px; height: 17px; flex: none; }
.lh-pk-out input:checked + span { text-decoration: line-through; color: var(--mute); }
.lh-pk-actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.lh-btn { background: var(--coral); color: #fff; border: 0; border-radius: 999px; padding: 11px 20px; font-weight: 600; font-size: 16px; cursor: pointer; }
.lh-pk-count { font: 600 14px var(--head); color: var(--mute); }
.lh-pk-note { margin: 10px 0 0; font-size: 13px; color: var(--mute); }
@media print { body.lh-printing * { visibility: hidden; } body.lh-printing .lh-print-me, body.lh-printing .lh-print-me * { visibility: visible; } body.lh-printing .lh-print-me { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; } .lh-pk fieldset, .lh-pk-row, .lh-pk-actions, .lh-pk-note { display: none; } }

/* faq */
.lh-faq details { background: var(--card); border-radius: var(--r2); margin: 0 0 10px; border: 1px solid var(--line); }
.lh-faq summary { cursor: pointer; list-style: none; padding: 15px 50px 15px 18px; font: 600 18px/1.35 var(--head); position: relative; }
.lh-faq summary::-webkit-details-marker { display: none; }
.lh-faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--coral2); color: var(--coral); display: grid; place-items: center; font-size: 20px; }
.lh-faq details[open] summary::after { content: "\2212"; }
.lh-faq-a { padding: 0 18px 8px; color: var(--ink2); }
.lh-ad { margin: 0 0 40px; }

/* related, indexes, tiles */
.lh-related h2 { font-size: 26px; }
.lh-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.lh-related a { display: flex; flex-direction: column; height: 100%; background: var(--card); border-radius: var(--r2); overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s; }
.lh-related a:hover { transform: translateY(-3px) rotate(-.5deg); }
.lh-related img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.lh-related b { padding: 12px 14px 2px; font: 800 18px var(--head); } .lh-related span { padding: 0 14px 14px; font: 600 13px var(--head); color: var(--mute); }
.lh-indexes { padding: 0 22px 64px; }
.lh-indexes-h { margin: 0 0 18px; }
.lh-index { background: var(--card); border-radius: var(--r); padding: 20px; margin: 0 0 16px; box-shadow: var(--shadow); }
.lh-index-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.lh-index-head h2 { margin: 0; font-size: 23px; } .lh-index-head h2::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; background: var(--st); margin-right: 10px; transform: rotate(45deg); }
.lh-index-head small { font: 600 14px var(--head); color: var(--mute); margin-left: 6px; }
.lh-filter { display: flex; align-items: center; gap: 8px; font: 600 13px var(--head); color: var(--mute); }
.lh-filter input { font: 400 15px var(--body); border: 2px solid var(--line); border-radius: 999px; padding: 7px 14px; width: 240px; max-width: 60vw; }
.lh-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.lh-chips a { display: flex; flex-direction: column; gap: 2px; height: 100%; text-decoration: none; color: var(--ink); background: var(--bg); border-radius: var(--r2); padding: 12px 14px; border: 2px solid transparent; }
.lh-chips a:hover { border-color: var(--st); background: #fff; }
.lh-chips b { font: 800 17px var(--head); } .lh-chips span { font-size: 14px; color: var(--mute); line-height: 1.45; }
.lh-index-none { margin: 10px 0 0; color: var(--mute); }
.lh-tiles { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.lh-tile a { display: block; background: var(--card); border-radius: var(--r2); overflow: hidden; color: var(--ink); text-decoration: none; height: 100%; box-shadow: var(--shadow); }
.lh-tile-img { display: block; aspect-ratio: 3 / 2; background: var(--soft); position: relative; } .lh-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.lh-tile-badge { position: absolute; left: 8px; top: 8px; background: var(--coral); color: #fff; font: 600 12px var(--head); border-radius: 999px; padding: 2px 9px; }
.lh-tile-body { display: block; padding: 10px 12px 12px; }
.lh-tile-name { display: block; font: 800 16px var(--head); } .lh-tile-meta { display: block; font-size: 13px; color: var(--mute); }
.lh-guides { padding-top: 10px; } .lh-guides-h { font: 800 22px var(--head); }

/* blog */
.lh-list-title { padding: 30px 0 10px; }
.lh-postlist { display: grid; gap: 12px; padding-bottom: 30px; }
.lh-postrow { background: var(--card); border-radius: var(--r2); padding: 18px 20px; box-shadow: 0 1px 2px rgba(29, 21, 48, .05); }
.lh-postrow h2 { font-size: 22px; margin: 0 0 4px; } .lh-postrow h2 a { color: var(--ink); text-decoration: none; } .lh-postrow h2 a:hover { color: var(--coral); }
.lh-date { font: 600 13px var(--head); color: var(--mute); margin: 0 0 6px; }
.lh-postrow p:last-child { margin: 0; color: var(--ink2); }
.lh-pager { display: flex; gap: 6px; flex-wrap: wrap; padding-bottom: 60px; }
.lh-pager a, .lh-pager span { padding: 7px 13px; border-radius: 999px; background: var(--card); text-decoration: none; font-family: var(--head); }
.lh-pager .current { background: var(--ink); color: #fff; }
.lh-article--post img { border-radius: var(--r2); margin: 1em 0; } .lh-article--post figure { margin: 0; }
.lh-latest { padding: 0 22px 60px; }
.lh-latest ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.lh-latest a { display: flex; flex-direction: column; gap: 4px; height: 100%; background: var(--card); border-radius: var(--r2); padding: 14px 16px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); font-family: var(--head); font-weight: 600; }
.lh-latest small { color: var(--mute); font-weight: 400; }
.lh-latest-more { font: 600 16px var(--head); }

/* footer: a big rounded card */
.lh-foot { padding: 10px 0 30px; }
.lh-foot-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 36px; background: var(--plum); color: #e9e4f5; border-radius: 30px; padding: 34px 34px 30px; }
.lh-logo--foot { color: #fff; margin-bottom: 10px; } .lh-logo--foot b { color: var(--butter); }
.lh-foot-brand p { color: #c8bfdc; max-width: 44ch; }
.lh-foot-links { list-style: none; margin: 0; padding: 0; columns: 2 180px; column-gap: 22px; }
.lh-foot-links li { break-inside: avoid; margin: 0 0 8px; }
.lh-foot-links a { color: #fff; text-decoration: none; font: 600 16px var(--head); } .lh-foot-links a:hover { color: var(--butter); }
.lh-foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 16px 28px 0; font: 600 14px var(--head); color: var(--mute); }
.lh-foot-legal a { color: var(--ink2); text-decoration: none; } .lh-foot-legal a:hover { color: var(--coral); }
@media (max-width: 760px) { .lh-foot-card { grid-template-columns: 1fr; padding: 26px 22px; border-radius: 24px; } }

.lh-read--narrow .lh-article h2 { font-size: 26px; margin-top: 1.4em; }
.lh-read--narrow .lh-article ul { list-style: disc; }
@media (max-width: 640px) {
	body { font-size: 17px; } .lh-wrap { padding: 0 16px; } .lh-read { padding: 6px 16px 50px; } .lh-indexes { padding: 0 16px 48px; }
	.lh-hero { padding: 24px 0 36px; } .lh-hero-lede, .lh-pagehead-lede, .lh-intro { font-size: 18px; }
	.lh-article ol.hacks > li { padding: 14px 14px 14px 62px; } .lh-article ol.hacks > li::before { left: 12px; width: 36px; height: 36px; line-height: 36px; }
	.lh-top-row { padding: 6px 6px 6px 12px; } .lh-logo { font-size: 20px; }
	.lh-filter, .lh-filter input { width: 100%; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
