/* Match the established blog-pilot / branding-guides rhythm. Scoped to seven pages. */
.gift-editorial{--gift-muted:#35403b;--gift-line:var(--line,rgba(13,18,20,.16))}
.gift-editorial .gift-shell{width:100%;max-width:1460px;margin-inline:auto;padding:0 clamp(18px,4vw,56px) 88px}
.gift-editorial .gift-breadcrumb{display:flex;flex-wrap:wrap;gap:8px 18px;padding:26px 0 18px;color:var(--ink-soft,#66706c);font-size:12px}
.gift-editorial .gift-breadcrumb a{text-decoration:underline;text-decoration-color:var(--gift-line);text-underline-offset:4px}
.gift-editorial .gift-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(28px,4vw,64px);align-items:center;padding:38px 0 44px}
.gift-editorial .gift-hero-copy{min-width:0}
.gift-editorial .gift-label{margin:0 0 14px;color:#276b18;font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.gift-editorial h1{max-width:18ch;margin:0 0 20px;font-size:clamp(36px,3.15vw,58px);line-height:1;letter-spacing:-.04em;overflow-wrap:break-word;text-wrap:balance}
.gift-editorial .gift-lead{max-width:60ch;margin:0;color:#3d4743;font-size:clamp(17px,1.7vw,22px);line-height:1.52}
.gift-editorial .gift-primary{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 22px;border:1px solid var(--ink);border-radius:999px;background:var(--lime);color:var(--ink);font-weight:800;transition:transform .15s}
.gift-editorial .gift-primary:hover{background:var(--ink);color:var(--paper)}
.gift-editorial .gift-primary:active{transform:scale(.98)}
.gift-editorial .gift-hero-copy>.gift-primary{margin-top:24px}
.gift-editorial .gift-hero-photo{margin:0;min-width:0}
.gift-editorial .gift-photo-link{display:block;cursor:zoom-in;border-radius:14px;overflow:hidden;background:transparent}
/* No height, aspect-ratio or contain: render the complete original photograph. */
.gift-editorial .gift-photo-link img{display:block;width:100%;height:auto;max-height:none;background:transparent}
.gift-editorial a:focus-visible,.gift-editorial summary:focus-visible,.gift-lightbox button:focus-visible{outline:3px solid #285d18;outline-offset:5px}
.gift-editorial .gift-meta{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:28px;color:var(--ink-soft,#66706c);font-size:12px;line-height:1.5}
.gift-editorial .gift-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:24px 0;border-block:1px solid var(--gift-line);margin:0}
.gift-editorial .gift-facts dt{font-size:12px;font-weight:700;color:var(--ink-soft);margin-bottom:9px}
.gift-editorial .gift-facts dd{margin:0;font-size:18px;font-weight:700;line-height:1.45}
.gift-editorial .gift-layout{display:grid;grid-template-columns:210px minmax(0,940px);justify-content:center;gap:clamp(36px,5vw,72px);padding:72px 0 0;align-items:start;border-top:1px solid var(--ink)}
.gift-editorial .gift-toc{position:sticky;top:94px;display:grid;gap:9px;max-height:calc(100vh - 120px);overflow:auto;padding-right:14px;font-size:12px;line-height:1.35}
.gift-editorial .gift-toc strong{margin-bottom:8px;font-size:13px}
.gift-editorial .gift-toc a{color:var(--ink-soft,#66706c)}
.gift-editorial .gift-toc a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.gift-editorial .gift-content{min-width:0}
.gift-editorial .gift-intro{max-width:78ch;margin-bottom:54px}
.gift-editorial .gift-intro p:first-child{font-size:20px;line-height:1.65;color:#29332f}
.gift-editorial .gift-section{scroll-margin-top:110px;margin:54px 0 0}
.gift-editorial h2{max-width:27ch;margin:0 0 20px;font-size:clamp(29px,3vw,42px);line-height:1.08;letter-spacing:-.025em;overflow-wrap:break-word;text-wrap:balance}
.gift-editorial h3{max-width:34ch;margin:38px 0 14px;font-size:25px;line-height:1.18}
.gift-editorial .gift-prose{max-width:78ch}
.gift-editorial .gift-prose p,.gift-editorial .gift-intro p{margin:0 0 22px;color:var(--gift-muted);font-size:18px;line-height:1.72}
.gift-editorial .gift-prose a,.gift-editorial .gift-intro a{color:#245f18;text-decoration:underline;text-decoration-color:rgba(39,107,24,.55);text-underline-offset:3px;overflow-wrap:anywhere}
.gift-editorial .gift-prose ul{padding-left:1.35em;margin:14px 0 30px;list-style:square;color:var(--gift-muted);font-size:17px;line-height:1.52}
.gift-editorial .gift-prose li{margin:5px 0;padding-left:7px}
.gift-editorial .gift-prose li::marker{color:#4ca827}
.gift-editorial .gift-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px;margin:26px 0 12px}
.gift-editorial .gift-gallery[data-count="1"]{grid-template-columns:1fr}
.gift-editorial .gift-gallery[data-count="3"] figure:first-child{grid-column:1/-1}
.gift-editorial .gift-gallery figure{margin:0;min-width:0}
.gift-editorial figcaption{margin-top:10px;color:var(--ink-soft,#66706c);font-size:13px;line-height:1.45;max-width:65ch}
.gift-editorial .gift-table-wrap{overflow-x:auto;margin:28px 0 36px;border:1px solid var(--ink);border-radius:8px}
.gift-editorial table{width:100%;min-width:550px;border-collapse:collapse;background:var(--paper);font-size:13px;line-height:1.45}
.gift-editorial th,.gift-editorial td{padding:14px 15px;text-align:left;vertical-align:top;border-bottom:1px solid var(--gift-line)}
.gift-editorial th{background:#edf2e9;font-size:11px;text-transform:uppercase}
.gift-editorial tr:last-child td{border-bottom:0}
.gift-editorial .gift-faq details{margin:9px 0;border:1px solid var(--gift-line);border-radius:12px;background:var(--paper)}
.gift-editorial .gift-faq summary{cursor:pointer;padding:18px 20px;font-weight:750;font-size:17px;line-height:1.5}
.gift-editorial .gift-faq p{max-width:78ch;margin:0;padding:0 20px 20px;color:var(--gift-muted);font-size:17px;line-height:1.7}
/* Same photo + headline recommendation cards as established branding guides. */
.gift-editorial .gift-related{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gift-editorial .gift-related a{display:grid;grid-template-columns:118px minmax(0,1fr);min-height:118px;overflow:hidden;border:1px solid var(--gift-line);border-radius:12px;background:var(--paper);color:var(--ink);text-decoration:none}
.gift-editorial .gift-related img{display:block;width:118px;height:118px;align-self:center;object-fit:cover}
.gift-editorial .gift-related a>div{display:grid;align-content:center;gap:7px;padding:14px 16px;min-width:0}
.gift-editorial .gift-related small{color:var(--ink-soft,#66706c);font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.gift-editorial .gift-related strong{font-size:15px;line-height:1.3;overflow-wrap:break-word}
.gift-editorial .gift-related a:hover{border-color:var(--ink);box-shadow:4px 4px 0 var(--lime)}
.gift-editorial .gift-cta{margin:54px 0 0;padding:clamp(24px,5vw,52px);border-radius:20px;background:var(--ink);color:var(--paper)}
.gift-editorial .gift-cta h2{max-width:18ch}
.gift-editorial .gift-cta p{max-width:64ch;margin:0 0 24px;color:#c8d0cb;font-size:18px;line-height:1.6}
.gift-editorial .gift-cta .gift-primary:hover{border-color:var(--paper)}
/* Cases use the portfolio's full-width story grid, without an article sidebar. */
.gift-case .gift-layout{display:block;padding-top:0;border-top:0}
.gift-case .gift-toc{position:static;display:flex;flex-wrap:wrap;gap:12px 24px;max-height:none;padding:24px 0;border-bottom:1px solid var(--gift-line)}
.gift-case .gift-toc strong{margin:0}
.gift-case .gift-content{padding-top:48px}
.gift-case .gift-intro{max-width:78ch}
.gift-case .gift-section:has(>.gift-prose){display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:0 clamp(36px,5vw,72px);padding-top:48px;border-top:1px solid var(--gift-line)}
.gift-case .gift-section:has(>.gift-prose)>.gift-gallery{grid-column:1/-1;margin-top:24px}
.gift-lightbox{width:min(1180px,calc(100% - 32px));max-height:calc(100svh - 32px);padding:16px;border:1px solid #c4ccc4;border-radius:14px;color:#080d15;background:#fff;box-shadow:0 24px 90px rgba(8,13,21,.25)}
.gift-lightbox::backdrop{background:rgba(8,13,21,.78)}
.gift-lightbox header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:10px;font-size:14px}
.gift-lightbox button{min-height:44px;padding:10px 18px;border:1px solid #c4ccc4;border-radius:999px;background:#fff;color:#080d15;font:inherit;font-weight:700;cursor:pointer}
.gift-lightbox button:hover{background:#eaf5e5}
.gift-lightbox figure{margin:0}
.gift-lightbox img{display:block;max-height:calc(100svh - 205px);width:100%;object-fit:contain}
.gift-lightbox figcaption{margin-top:10px;font-size:14px;line-height:1.5}
.gift-lightbox nav{display:flex;justify-content:space-between;gap:20px;margin-top:12px}
@media(max-width:1000px){.gift-editorial .gift-related{grid-template-columns:1fr}}
@media(max-width:900px){.gift-editorial .gift-hero,.gift-editorial .gift-layout{grid-template-columns:1fr}.gift-editorial .gift-hero-photo{max-width:680px}.gift-editorial .gift-toc{position:static;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;padding:18px;border:1px solid var(--gift-line);border-radius:8px}.gift-editorial .gift-toc strong{grid-column:1/-1}.gift-editorial .gift-layout{gap:36px;padding-top:44px}.gift-editorial .gift-related{grid-template-columns:repeat(2,minmax(0,1fr))}.gift-case .gift-toc{display:flex;padding:22px 0;border:0;border-bottom:1px solid var(--gift-line);border-radius:0}.gift-case .gift-layout{padding-top:0}.gift-case .gift-section:has(>.gift-prose){grid-template-columns:1fr}.gift-case .gift-content{padding-top:36px}}
@media(max-width:680px){.gift-editorial .gift-shell{padding:0 16px 48px}.gift-editorial .gift-hero{padding:22px 0 38px;gap:28px}.gift-editorial h1{max-width:none;font-size:clamp(30px,8.2vw,42px);line-height:1.02;letter-spacing:-.035em}.gift-editorial .gift-lead{font-size:18px}.gift-editorial .gift-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.gift-editorial .gift-facts dd{font-size:16px}.gift-editorial .gift-toc{grid-template-columns:1fr}.gift-editorial .gift-section{margin-top:48px}.gift-editorial h2{font-size:30px;line-height:1.08}.gift-editorial h3{font-size:22px}.gift-editorial .gift-prose p,.gift-editorial .gift-intro p,.gift-editorial .gift-prose ul{font-size:16px;line-height:1.72}.gift-editorial .gift-intro p:first-child{font-size:20px}.gift-editorial .gift-gallery{grid-template-columns:1fr;gap:24px}.gift-editorial .gift-gallery[data-count="3"] figure:first-child{grid-column:auto}.gift-editorial .gift-related{grid-template-columns:1fr}.gift-editorial .gift-related a{grid-template-columns:96px minmax(0,1fr)}.gift-editorial .gift-related img{width:96px;height:96px}.gift-editorial .gift-cta{padding:25px 20px}.gift-case .gift-section:has(>.gift-prose){padding-top:32px}.gift-lightbox{padding:12px}.gift-lightbox header>span{max-width:55%;line-height:1.5}}
@media(prefers-reduced-motion:reduce){.gift-editorial .gift-primary{transition:none}.gift-editorial{scroll-behavior:auto}}
