/* guitartutorial.com v2.2 lesson layout: hero, wider reading column, section breaks, gear boxes */

/* Hero */
.lesson-hero{background:linear-gradient(135deg,#f7f1e6 0%,#f3efe4 45%,#e9f2ed 100%);border-bottom:1px solid var(--line)}
.lesson-hero .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);gap:48px;align-items:center;padding:34px 0 44px}
.lesson-hero .breadcrumbs{margin-bottom:6px}
.lesson-hero .lesson-label{margin:0 0 4px}
.lesson-hero h1{font-size:clamp(2.2rem,4.2vw,3.6rem);margin:.18em 0 .32em;max-width:640px}
.lesson-hero .lede{font-size:1.16rem;line-height:1.6;color:#3f4b48;margin:0 0 18px;max-width:600px}
.lesson-hero .article-meta{border:0;padding:0;margin:0;font-size:.9rem}
.lesson-hero .hero-media img{display:block;width:100%;aspect-ratio:9/5;object-fit:cover;border-radius:20px;box-shadow:0 18px 40px rgba(23,33,31,.16);margin:0}

/* Reading column + sidebar */
.article-wrap{grid-template-columns:minmax(0,750px) 290px;gap:56px;justify-content:center;padding:40px 0 64px}
.article p,.article li{font-size:1.075rem;line-height:1.72}
.article>h2{font-size:clamp(1.55rem,2.5vw,2.05rem);margin:2em 0 .55em;padding-top:1.05em;border-top:1px solid var(--line);position:relative}
.article>h2:before{content:"";position:absolute;left:0;top:-2px;width:56px;height:3px;border-radius:3px;background:var(--wood)}
.article>.quick:first-child,.article>p:first-child{margin-top:0}
.article .toolbox h2{font-size:1.4rem;margin:0 0 .4em}
.sidebar{position:static;align-self:stretch;display:flex;flex-direction:column}
.gear-sticky{position:sticky;top:96px;margin-top:4px}

/* Gear box (in-lesson) */
.gear-box{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px 24px 22px;margin:28px 0;box-shadow:0 8px 28px rgba(23,33,31,.06)}
.gear-box .gear-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:4px}
.gear-box h2{font-size:1.35rem;margin:0;letter-spacing:-.015em}
.gear-box .gear-intro{color:var(--muted);margin:4px 0 18px;font-size:1rem}
.gear-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.gear-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.gear-card .gear-img{background:#f6f2ea;aspect-ratio:4/3;display:block}
.gear-card .gear-img img{width:100%;height:100%;object-fit:cover;border-radius:0;display:block}
.gear-card .gear-body{display:flex;flex-direction:column;gap:6px;padding:14px 14px 16px;flex:1}
.gear-card .gear-type{font-size:.72rem;letter-spacing:.11em;text-transform:uppercase;font-weight:800;color:var(--wood)}
.gear-card h3{font-size:1.06rem;margin:0}
.gear-card p{font-size:.95rem!important;line-height:1.5!important;color:var(--muted);margin:0}
.gear-card .btn{margin-top:auto;text-align:center;font-size:.92rem;padding:11px 12px}
.gear-card .btn,.gear-reminder .btn,.gear-sticky .btn,.gear-item .btn,.loop-card .btn{color:#fff;text-decoration:none}
.btn.small{min-height:40px;padding:9px 12px;font-size:.88rem;border-radius:9px}
.btn.alt{color:var(--green)!important}

/* Reminder strip at the end of a lesson */
.gear-reminder{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;background:#f4f7f5;border:1px solid var(--line);border-radius:16px;padding:16px 18px;margin:30px 0 8px}
.gear-reminder .thumbs{display:flex}
.gear-reminder .thumbs img{width:58px;height:58px;object-fit:cover;border-radius:50%;border:3px solid #fff;margin-left:-14px;background:#f6f2ea;box-shadow:0 2px 6px rgba(23,33,31,.1)}
.gear-reminder .thumbs img:first-child{margin-left:0}
.gear-reminder strong{display:block;font-size:1.02rem}
.gear-reminder p{margin:2px 0 0;font-size:.95rem!important;color:var(--muted)}

/* Sticky sidebar gear card */
.gear-sticky{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:0 8px 24px rgba(23,33,31,.06)}
.gear-sticky .eyebrow{display:block;margin-bottom:10px;font-size:.72rem}
.gear-sticky ul{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:10px}
.gear-sticky li{display:grid;grid-template-columns:52px 1fr;gap:10px;align-items:center;font-size:.93rem;line-height:1.35}
.gear-sticky li img{width:52px;height:52px;object-fit:cover;border-radius:10px;background:#f6f2ea}
.gear-sticky li small{display:block;color:var(--muted);font-size:.82rem}
.gear-sticky .btn{display:flex;justify-content:center;align-items:center;width:100%;margin-top:8px}
.gear-sticky .pack-row{display:block;padding:10px 0;border-top:1px solid var(--line)}
.gear-sticky .pack-row:first-of-type{border-top:0;padding-top:0}
.gear-sticky .pack-row strong{display:block;margin-bottom:6px;font-size:.95rem}
.gear-sticky .pack-row .btns{display:flex;gap:6px}
.gear-sticky .pack-row .btn{margin:0;flex:1;width:auto}
.gear-icon{width:52px;height:52px;border-radius:10px;background:#f6f2ea;display:grid;place-items:center}
.gear-icon svg{width:30px;height:30px}

/* Starter pack comparison: three aligned columns (subgrid rows) */
.pack-compare{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0 18px}
.pack-col{display:grid;grid-row:span 6;grid-template-rows:subgrid;row-gap:0;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(23,33,31,.05)}
.pack-name{display:flex;align-items:center;gap:10px;background:#f7f1e6;padding:14px 16px;border-bottom:1px solid var(--line)}
.pack-name h3{margin:0;font-size:1.08rem}
.pack-name .gear-icon{width:40px;height:40px;background:#fff;flex:none}
.pack-name .gear-icon svg{width:24px;height:24px}
.pack-col dl{display:contents}
.pack-col dl>div{margin:0 16px;padding:11px 0;border-bottom:1px solid var(--line)}
.pack-col dl>div:last-child{border-bottom:0}
.pack-col dl>div:first-child{padding-top:14px}
.pack-col dt{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;font-weight:800;color:var(--wood);margin-bottom:3px}
.pack-col dd{margin:0;font-size:.95rem;line-height:1.5}
.pack-col .yes{color:#9a4f1f;font-weight:750}
.pack-col .no{color:var(--green2);font-weight:750}
.pack-col .shop{display:flex;flex-direction:column;gap:7px;padding:12px 16px 16px;align-self:start}
.pack-col .shop .btn{text-align:center;display:flex;align-items:center;justify-content:center}
.pack-col .shop .btn:not(.alt){color:#fff;text-decoration:none}
.shop-gap{display:block;min-height:40px}
/* Mobile: stack, nothing sticks */
@media(max-width:900px){
 .lesson-hero .wrap{grid-template-columns:1fr;gap:22px;padding:18px 0 28px}
 .lesson-hero .hero-media{order:2}
 .article-wrap{grid-template-columns:minmax(0,1fr);padding:26px 0 48px;gap:28px}
 .gear-sticky{position:static}
 .sidebar{display:block}
}
@media(max-width:760px){
 .gear-cards{grid-template-columns:1fr;gap:10px}
 .gear-card{flex-direction:row}
 .gear-card .gear-img{width:104px;height:104px;flex:none;aspect-ratio:1/1;align-self:flex-start;margin:12px 0 12px 12px;border-radius:10px;overflow:hidden}
 .gear-card .gear-body{padding:12px}
 .gear-box{padding:18px 16px}
 .gear-reminder{grid-template-columns:1fr;gap:10px}
 .pack-compare{grid-template-columns:1fr}
 .pack-col{grid-row:auto;grid-template-rows:none;display:block}
 .shop-gap{display:none}
 .pack-col .shop{flex-direction:row}
 .pack-col .shop .btn{flex:1}
}

/* fixes found in the mockup pass */
.lesson-steps{list-style:none;padding-left:0!important}
.related-lessons h2{font-size:clamp(1.4rem,2.2vw,1.75rem)}

/* v2.2 site-wide additions */
.lesson-hero.no-media .wrap{grid-template-columns:minmax(0,860px);justify-content:start}
.lesson-hero.no-media h1,.lesson-hero.no-media .lede{max-width:820px}
.gear-title{display:block;font-size:1.12rem;font-weight:800;letter-spacing:-.01em;color:var(--ink);margin:0}

/* Compact "what you need" box near the top of a lesson */
.gear-box.compact{padding:16px 18px 16px;margin:22px 0 6px;border-radius:16px}
.gear-box.compact .gear-head{display:block;margin-bottom:10px}
.gear-items{list-style:none;margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.gear-item{display:grid;grid-template-columns:64px minmax(0,1fr);gap:4px 12px;align-items:start;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff}
.gear-item img{grid-row:span 2;width:64px;height:64px;object-fit:cover;border-radius:10px;background:#f6f2ea;display:block}
.gear-item .gi-text{font-size:.9rem;line-height:1.4;color:var(--muted)}
.gear-item .gi-text strong{display:block;color:var(--ink);font-size:.98rem;margin-bottom:1px}
.gear-item .btn{justify-self:start;min-height:36px;padding:7px 11px;font-size:.84rem;border-radius:8px}
.gear-items.rows .gear-item{grid-template-columns:64px minmax(0,1fr) auto;align-items:center}
.gear-items.rows .gear-item img{grid-row:auto}
.gear-items.rows .gear-item .btn{justify-self:end}
.gear-item .gear-icon{grid-row:span 2;width:64px;height:64px}
.gear-item .gear-icon svg{width:34px;height:34px}
.gear-item .btn-row{display:flex;gap:6px;flex-wrap:wrap}
.gear-reminder .btn-row{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.gear-sticky p.gs-text{margin:0 0 12px;font-size:.93rem;color:var(--muted);line-height:1.45}
.gear-sticky .btn.alt{color:var(--green)!important}

/* Loop library card (practice pages) */
.loop-card{display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;margin:18px 0 22px;box-shadow:0 8px 24px rgba(23,33,31,.05)}
.loop-card img{width:180px;height:120px;object-fit:cover;border-radius:12px;display:block}
.loop-card .gear-title{font-size:1.05rem}
.loop-card p{margin:4px 0 10px;font-size:.95rem!important;line-height:1.5!important;color:var(--muted)}

/* /gear/ hub photo cards */
.gear-hub .gear-cards{margin-top:6px}
.gear-hub .gear-card p{margin:0}
.gear-hub .gear-card .btn-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:6px}
.gear-hub .gear-card .btn-row .btn{flex:1 1 auto}
.gear-hub .gear-img.drawn{display:grid;place-items:center;gap:0}
.gear-hub .gear-img.drawn .icons{display:flex;gap:18px}
.gear-hub .gear-img.drawn svg{width:70px;height:70px}

@media(max-width:900px){
 .lesson-hero .hero-media img{aspect-ratio:2/1}
 .lesson-hero h1{font-size:clamp(2rem,8vw,2.6rem)}
 .lesson-hero .lede{font-size:1.05rem}
}
@media(max-width:760px){
 .gear-items{grid-template-columns:1fr}
 .gear-items.rows .gear-item{grid-template-columns:56px minmax(0,1fr)}
 .gear-items.rows .gear-item .btn{grid-column:2;justify-self:start}
 .gear-item{grid-template-columns:56px minmax(0,1fr)}
 .gear-item img,.gear-item .gear-icon{width:56px;height:56px}
 .gear-reminder .btn-row{justify-content:flex-start}
 .loop-card{grid-template-columns:96px minmax(0,1fr);gap:12px}
 .loop-card img{width:96px;height:72px}
 .gear-hub .gear-card{flex-direction:column}
 .gear-hub .gear-card .gear-img{width:auto;height:auto;aspect-ratio:16/9;margin:0;border-radius:0}
}
.credits td a{word-break:break-all}.credits td{vertical-align:top}
/* v2.2 step 2: model picks inside the starter comparison */
.pack-pick{display:grid;grid-template-columns:84px minmax(0,1fr);grid-template-rows:auto auto 1fr auto;column-gap:12px;padding:14px 16px;border-top:1px solid var(--line);align-content:start}
.pack-pick .pp-img{grid-row:1/4;width:84px;height:63px;border-radius:10px;overflow:hidden;background:#fff;border:1px solid var(--line);display:grid;place-items:center}
.pack-pick .pp-img img{width:100%;height:100%;object-fit:cover;display:block}
.pack-pick .pp-img .gear-icon{width:100%;height:100%;border-radius:0;background:#f6f2ea}
.pack-pick .pp-img .gear-icon svg{width:30px;height:30px}
.pack-pick .pp-store{font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;font-weight:800;color:var(--wood)}
.pack-pick strong{font-size:.98rem;line-height:1.3}
.pack-pick p{margin:4px 0 10px!important;font-size:.88rem!important;line-height:1.45!important;color:var(--muted)}
.pack-pick .btn{grid-column:1/-1;margin:0;text-align:center;color:#fff;text-decoration:none}
.loop-icon{width:180px;height:120px;border-radius:12px;background:#f6f2ea;display:grid;place-items:center}
.loop-icon svg{width:64px;height:64px}
@media (max-width:760px){.loop-icon{width:96px;height:72px}.loop-icon svg{width:40px;height:40px}}
.gear-item .gear-icon,.gear-sticky li .gear-icon,.gear-reminder .thumbs .gear-icon{border-radius:10px;background:#f6f2ea;display:grid;place-items:center;flex:none}
.gear-reminder .thumbs .gear-icon{border:3px solid #fff;border-radius:50%}
.gear-sticky li .gear-icon svg{width:28px;height:28px}
.gear-items.rows{grid-template-columns:1fr;gap:8px}
.gear-items.rows .gear-item .gear-icon{grid-row:auto}
.gear-items.rows .gear-item .btn{white-space:nowrap}
@media(max-width:760px){.gear-items.rows .gear-item .gear-icon{grid-row:span 2}.gear-items.rows .gear-item img{grid-row:span 2}}
.gear-reminder.multi{grid-template-columns:auto minmax(0,1fr)}
.gear-reminder.multi .btn-row{grid-column:1/-1;justify-content:flex-start}
.gear-reminder .thumbs .gear-icon{margin-left:-14px}
.gear-reminder .thumbs>:first-child{margin-left:0}
@media(max-width:760px){.gear-reminder.multi{grid-template-columns:1fr}}
.gear-sticky ul.with-btns li{align-items:flex-start}
.gear-sticky ul.with-btns li>span{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.gear-sticky ul.with-btns .btn{width:auto;margin:0;min-height:32px;padding:5px 10px;font-size:.8rem;border-radius:8px}
@media(max-width:760px){.gear-items.rows .gear-item{align-items:start}}
.gear-hub .btn-row.two{display:grid;grid-template-columns:1fr 1fr;gap:6px}.gear-hub .btn-row.two .btn{margin:0;padding-left:6px;padding-right:6px;font-size:.8rem}
.pack-pick{grid-template-columns:1fr;grid-template-rows:auto auto auto 1fr auto}
.pack-pick .pp-img{grid-row:auto;width:100%;height:120px;margin-bottom:10px}
.pack-pick .pp-img img{object-fit:contain}
@media(max-width:760px){.pack-pick{grid-template-columns:96px minmax(0,1fr);grid-template-rows:auto auto 1fr auto}.pack-pick .pp-img{grid-row:1/4;width:96px;height:72px;margin:0}}
.pack-pick .pp-img{display:block}
.pack-pick .pp-img img{height:118px;width:100%;object-fit:contain;background:#fff}
.pack-pick .pp-img .gear-icon{display:grid;height:118px}
.pack-pick .pp-img .gear-icon svg{width:48px;height:48px}
@media(max-width:760px){.pack-pick .pp-img img,.pack-pick .pp-img .gear-icon{height:70px}.pack-pick .pp-img .gear-icon svg{width:32px;height:32px}}

/* ---- v2.2 respin: readable sizes, contrast, 44px buttons, guitar photos and drawings, top picks, homepage ---- */
:root{--wood:#8a4f26}
.eyebrow,.gear-sticky .eyebrow,.pill,.pack-col dt,.pack-pick .pp-store,.gear-card .gear-type,.capo-placement .label{font-size:.8125rem}
.capo-bar{font-size:.8125rem;letter-spacing:.04em}
.btn{min-height:44px}
.btn.small,.gear-item .btn,.gear-sticky ul.with-btns .btn,.gear-hub .btn-row.two .btn,.pack-pick .btn,.top-picks .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:.875rem;line-height:1.2}
.gear-sticky ul.with-btns .btn{padding:6px 12px}
.gear-hub .btn-row.two .btn{font-size:.8125rem}
/* guitar cards: tight body crops on light grey, drawings in the same frame */
.pack-pick .pp-img{height:auto;aspect-ratio:4/3;background:#eceeec;border-color:#e1e4e1}
.pack-pick .pp-img img{height:100%;object-fit:cover;background:#eceeec}
.illo-card{position:relative;display:block;width:100%;height:100%}
.illo-card svg,.illo-thumb svg{display:block;width:100%;height:100%}
.illo-tag{position:absolute;left:8px;bottom:8px;background:#fff;color:#17211f;border:1px solid #cfd6d2;border-radius:999px;padding:2px 9px;font-size:.8125rem;font-weight:700;line-height:1.35}
.illo-thumb{display:block;flex:none;border-radius:10px;overflow:hidden;background:#eceeec}
.gear-sticky li .illo-thumb{width:52px;height:52px}
@media(max-width:760px){.pack-pick .pp-img{width:96px;height:72px;aspect-ratio:auto}.pack-pick .pp-img img{height:72px}.illo-tag{left:4px;bottom:4px;padding:1px 6px;font-size:.8125rem}}
/* how-to-buy: top picks */
.top-picks{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 20px 16px;margin:26px 0;box-shadow:0 8px 28px rgba(23,33,31,.06)}
.top-picks .tp-head{display:flex;align-items:baseline;justify-content:space-between;gap:6px 16px;flex-wrap:wrap;margin-bottom:10px}
.top-picks ul{list-style:none;margin:0!important;padding:0!important;display:grid;gap:8px}
.top-picks li{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:6px 14px;align-items:center;border-top:1px solid var(--line);padding:10px 0 0;margin:0!important}
.top-picks li:first-child{border-top:0;padding-top:0}
.top-picks li img,.top-picks li .illo-thumb{width:64px;height:64px;border-radius:10px;object-fit:cover;display:block;background:#eceeec}
.top-picks .tp-text{font-size:.95rem;line-height:1.4;color:var(--muted)}
.top-picks .tp-text strong{display:block;color:var(--ink);font-size:1rem}
.top-picks .tp-btns{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.top-picks .btn{margin:0;color:#fff;text-decoration:none;padding:6px 12px;white-space:nowrap}
.top-picks .btn.alt{color:var(--green)}
.top-picks .tp-more{display:block;margin-top:10px;font-size:.95rem}
@media(max-width:760px){.top-picks{padding:16px}.top-picks li{grid-template-columns:56px minmax(0,1fr)}.top-picks li img,.top-picks li .illo-thumb{width:56px;height:56px}.top-picks .tp-btns{grid-column:1/-1}}
/* homepage: hero photo + drawn topic icons */
.home-hero .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,500px);gap:44px;align-items:center}
.home-hero h1{font-size:clamp(2.4rem,4.6vw,4.2rem)}
.home-hero .hero-photo img{display:block;width:100%;height:auto;aspect-ratio:9/5;object-fit:cover;border-radius:20px;box-shadow:0 18px 40px rgba(23,33,31,.16)}
.card .icon{width:48px;height:48px;border-radius:12px;background:#f2ede3;display:grid;place-items:center;margin-bottom:12px}
.card .icon svg{width:30px;height:30px;display:block}
@media(max-width:900px){.home-hero .wrap{grid-template-columns:1fr;gap:26px}.home-hero .hero-photo{max-width:620px}}
h1{overflow-wrap:break-word}
.chord-strip b{font-size:.8125rem}
@media(max-width:900px){.home-hero .wrap{grid-template-columns:minmax(0,1fr)}}
.top-picks .btn{white-space:normal;text-align:center}
.top-picks .tp-btns{grid-template-columns:repeat(2,minmax(0,1fr));width:280px}
@media(max-width:760px){.top-picks .tp-btns{width:auto}}
@media(max-width:760px){.top-picks{padding:14px 14px 12px;margin:22px 0}.top-picks .tp-head{margin-bottom:8px}.top-picks li{gap:6px 12px;grid-template-columns:48px minmax(0,1fr);padding-top:8px}.top-picks li img,.top-picks li .illo-thumb{width:48px;height:48px}.top-picks .tp-text{font-size:.9rem;line-height:1.35}.top-picks .tp-more{margin-top:8px}}
.top-picks .tp-btns{width:320px}.top-picks .btn{white-space:nowrap;padding:6px 10px}.top-picks .nw{white-space:nowrap}
@media(max-width:760px){.top-picks .tp-btns{width:auto}.top-picks .btn{white-space:normal}}

@media(max-width:760px){.illo-tag{display:none}}
.top-picks .tp-more{display:inline-flex;align-items:center;min-height:44px}
