/* Page-owned CSS for the free tutorial "Cinematic Color Grading in Photoshop" (draft 1705895, 2026-11-03).
   The slider fixes moved to shared 1694002 / 1694015 the same night (Aaron: all free pages).
   Loaded by a <link> in the look-strip module, so nothing else on the site changes.
   Push: scripts/page_scripts_push.py this file, then bump ?v= in the module. */

/* ---------- Look strip: Original + five looks + Bonus, one row, Film Lab hub card hover */
body.single-tutorial .ft-looks{padding:28px 0 36px}
body.single-tutorial .ft-looks__head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin:0 0 22px}
body.single-tutorial .ft-looks__eyebrow{margin:0 0 6px!important;font-family:Lato,sans-serif;font-size:12px!important;font-weight:900;line-height:1.3!important;letter-spacing:.14em;text-transform:uppercase;color:#e0463d!important}
body.single-tutorial .ft-looks__title{margin:0!important;font-family:Lato,sans-serif;font-size:28px!important;font-weight:900;line-height:1.15!important;letter-spacing:-.01em;color:#16191c!important}
body.single-tutorial .ft-looks__lede{flex:0 1 430px;margin:0!important;font-size:15px!important;line-height:1.5!important;color:#5f666d!important}
body.single-tutorial .ft-looks__rail{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:16px;padding-top:6px}
body.single-tutorial .ft-looks__item{position:relative;min-width:0}
body.single-tutorial .ft-looks__card{display:block;position:relative;aspect-ratio:4/5;border-radius:14px;overflow:hidden;background:#d9dcdf;box-shadow:0 1px 2px rgba(22,25,28,.06),0 6px 16px rgba(22,25,28,.1);transition:transform .25s,box-shadow .25s}
body.single-tutorial .ft-looks__card img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;border-radius:0!important;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
body.single-tutorial .ft-looks__card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.72) 100%);pointer-events:none;transition:opacity .25s}
body.single-tutorial .ft-looks__pill{position:absolute;top:9px;left:9px;z-index:2;padding:4px 8px;border-radius:999px;background:#ff5248;color:#fff;font-size:10px;font-weight:900;line-height:1.2;letter-spacing:.06em;text-transform:uppercase}
body.single-tutorial .ft-looks__pill--plain{background:rgba(255,255,255,.88);color:#16191c}
body.single-tutorial .ft-looks__name{position:absolute;left:11px;right:11px;bottom:11px;z-index:2;color:#fff;font-weight:900;font-size:15px;line-height:1.15}
body.single-tutorial .ft-looks__name::before{content:"";display:block;width:0;height:3px;margin:0;border-radius:2px;background:#ff5248;transition:width .25s,margin .25s}
body.single-tutorial .ft-looks__what{margin:10px 2px 0!important;font-size:13px!important;line-height:1.45!important;color:#5f666d!important}
@media (hover:hover){
body.single-tutorial .ft-looks__item:hover .ft-looks__card{transform:translateY(-6px);box-shadow:0 2px 4px rgba(22,25,28,.08),0 16px 30px rgba(22,25,28,.18)}
body.single-tutorial .ft-looks__item:hover .ft-looks__card img{transform:scale(1.14)}
body.single-tutorial .ft-looks__item:hover .ft-looks__name::before{width:28px;margin-bottom:6px}
}
@media (max-width:991px){
body.single-tutorial .ft-looks{padding:20px 0 28px}
body.single-tutorial .ft-looks__head{display:block;margin-bottom:16px}
body.single-tutorial .ft-looks__title{font-size:24px!important}
body.single-tutorial .ft-looks__lede{margin-top:8px!important}
/* no sideways scrolling (Aaron 2026-11-03: "I hate horizontal scrolling in general… It can just show fewer on mobile"). 2026-11-04 audit: every look stays (the lede promises "every preset"); only the Original card goes, since the top slider already shows the photo untouched. Six cards: rows of three here, rows of two under 600 px. */
body.single-tutorial .ft-looks__rail{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.single-tutorial .ft-looks__item:first-child{display:none}
}

/* ---------- Practice-files card: one red button per list (the presets are the giveaway, gate /asset/0/3/), the rest white
   outlines. The whole row is the link (the button's ::after) and it reacts as one: row lifts with a coral edge, the icon tile
   fills coral with a white icon, the button goes dark (red goes darker), the download arrow bobs. Aaron 2026-11-04. */
body.single-tutorial #downloads.ft-dl a.ft-dl__btn:not([href$="/asset/0/3/"]){background:#fff!important;color:#16191c!important;border-color:#c9cdd1!important;box-shadow:inset 0 0 0 1px #c9cdd1!important}
body.single-tutorial #downloads.ft-dl .ft-dl__row{position:relative;transition:transform .25s,box-shadow .25s,border-color .25s}
body.single-tutorial #downloads.ft-dl .ft-dl__row a.ft-dl__btn{position:static!important}
body.single-tutorial #downloads.ft-dl .ft-dl__row a.ft-dl__btn:not(#_){transform:none!important;filter:none!important;will-change:auto!important}
body.single-tutorial #downloads.ft-dl .ft-dl__row a.ft-dl__btn:not(#_)::after{content:""!important;display:block!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;z-index:1;border-radius:12px;background:none!important}
body.single-tutorial #downloads.ft-dl .ft-dl__tile{transition:background-color .25s,transform .25s}
body.single-tutorial #downloads.ft-dl .ft-dl__tile svg{transition:stroke .25s,color .25s}
body.single-tutorial.single #downloads.ft-dl a.ft-dl__btn svg{animation:none!important;transition:transform .2s}
@media (hover:hover){
/* only while lifted, the link layer reaches back down over the spot the row left, so the cursor stays on it */
body.single-tutorial #downloads.ft-dl .ft-dl__row:hover a.ft-dl__btn:not(#_)::after{bottom:-5px!important}
body.single-tutorial #downloads.ft-dl .ft-dl__row:hover{transform:translateY(-3px);border-color:rgba(255,82,72,.45);box-shadow:0 10px 22px rgba(22,25,28,.1)}
body.single-tutorial #downloads.ft-dl .ft-dl__row:hover .ft-dl__tile{background:#ff5248!important;transform:scale(1.06)}
body.single-tutorial #downloads.ft-dl .ft-dl__row:hover .ft-dl__tile svg{stroke:#fff!important;color:#fff!important}
body.single-tutorial #downloads.ft-dl .ft-dl__row:hover a.ft-dl__btn:not([href$="/asset/0/3/"]){background:#16191c!important;color:#fff!important;border-color:#16191c!important;box-shadow:inset 0 0 0 1px #16191c!important}
body.single-tutorial #downloads.ft-dl .ft-dl__row:hover a.ft-dl__btn[href$="/asset/0/3/"]{background:#e0443d!important;border-color:#e0443d!important}
body.single-tutorial.single #downloads.ft-dl .ft-dl__row:hover a.ft-dl__btn svg{transform:translateY(2px)}
}
@media (prefers-reduced-motion:reduce){
body.single-tutorial #downloads.ft-dl .ft-dl__row,body.single-tutorial #downloads.ft-dl .ft-dl__tile{transition:none}
body.single-tutorial #downloads.ft-dl .ft-dl__row:hover,body.single-tutorial #downloads.ft-dl .ft-dl__row:hover .ft-dl__tile{transform:none}
body.single-tutorial.single #downloads.ft-dl .ft-dl__row:hover a.ft-dl__btn svg{transform:none}
}

/* ---------- Bottom download bar: Option A from the design session (Aaron 2026-11-03: "let's go with option A"), this page only.
   Photo + kicker + title + "Free with a PHLEARN account." on one row, then four cards. Layouts go by the bar's own width.
   The whole card is the link (.ftb-btn::after). The site styles every a.trigger-download as a big coral button, hence :not(#_). */
body.single-tutorial .ftb-wrap{container-type:inline-size}
body.single-tutorial .ftb-inner{padding:40px max(62px,calc((100cqw - 1155px)/2)) 44px;display:flex;flex-direction:column;gap:22px}
body.single-tutorial .ftb-head{display:flex;align-items:center;gap:18px}
body.single-tutorial .ftb-art{flex:none;width:72px;height:72px;border-radius:6px;overflow:hidden;box-shadow:0 8px 18px rgba(22,25,28,.16)}
body.single-tutorial .ftb-art img{display:block;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
body.single-tutorial .ftb-headtext{flex:1 1 auto;min-width:0}
body.single-tutorial p.ftb-kicker{margin:0 0 4px!important;font-size:13px!important;font-weight:700;line-height:1.3!important;letter-spacing:1.8px;text-transform:uppercase;color:#e0463d!important}
body.single-tutorial p.ftb-title{margin:0!important;font-size:30px!important;font-weight:900;line-height:1.15!important;color:#16191c!important;text-wrap:balance}
body.single-tutorial p.ftb-free{flex:none;margin:0!important;font-size:15px!important;line-height:1.4!important;color:#3d4247!important;text-align:right}
body.single-tutorial .ftb-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.single-tutorial .ftb-card{position:relative;display:flex;flex-direction:column;min-width:0;background:#fff;border-radius:12px;padding:18px;box-shadow:0 1px 2px rgba(22,25,28,.06),0 0 0 1px #e1e4e8;transition:transform .25s,box-shadow .25s}
body.single-tutorial .ftb-top{display:flex;flex-direction:column;gap:12px;flex:1 1 auto;min-width:0}
body.single-tutorial .ftb-tile{flex:none;width:44px;height:44px;border-radius:10px;background:#f1f2f4;color:#16191c;display:flex;align-items:center;justify-content:center}
body.single-tutorial .ftb-tile svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.single-tutorial .ftb-card--lead .ftb-tile{background:#ffecea;color:#e0463d}
body.single-tutorial .ftb-text{min-width:0}
body.single-tutorial p.ftb-name{margin:0!important;font-size:17px!important;font-weight:900;line-height:1.25!important;color:#16191c!important}
body.single-tutorial p.ftb-sub{margin:3px 0 0!important;font-size:14px!important;line-height:1.35!important;color:#5c6167!important}
body.single-tutorial .ftb-card > p:has(> a.ftb-btn){display:contents}
body.single-tutorial a.ftb-btn:not(#_):not(#_){position:static!important;display:flex!important;align-items:center;justify-content:center;gap:8px;width:auto;min-width:0;height:auto;min-height:44px;margin:14px 0 0!important;padding:0 10px!important;box-sizing:border-box;border-radius:6px!important;border:1.5px solid #c9cdd1!important;background:#fff!important;color:#16191c!important;font-size:13px!important;font-weight:700!important;line-height:1.2!important;letter-spacing:1.4px!important;text-transform:uppercase;text-decoration:none!important;box-shadow:none!important;transform:none!important;transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s}
body.single-tutorial a.ftb-btn:not(#_):not(#_)::before{content:none!important}
body.single-tutorial a.ftb-btn:not(#_):not(#_)::after{content:""!important;display:block!important;position:absolute;inset:0;width:auto!important;height:auto!important;z-index:1;border-radius:12px;background:none!important}
body.single-tutorial a.ftb-btn svg{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
body.single-tutorial a.ftb-btn--red:not(#_):not(#_){background:#ff5248!important;border-color:#ff5248!important;color:#fff!important;box-shadow:0 4px 12px rgba(255,82,72,.35)!important}
body.single-tutorial a.ftb-btn:not(#_):not(#_):focus-visible{outline:3px solid #16191c;outline-offset:2px}
body.single-tutorial .ftb-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (hover:hover){
body.single-tutorial .ftb-art:hover img{transform:scale(1.06)}
body.single-tutorial .ftb-card:hover a.ftb-btn:not(#_):not(#_)::after{bottom:-6px}
body.single-tutorial .ftb-card:hover{transform:translateY(-4px);box-shadow:0 2px 4px rgba(22,25,28,.08),0 14px 28px rgba(22,25,28,.14),0 0 0 1px #d5d8dc}
body.single-tutorial .ftb-card:hover a.ftb-btn:not(#_):not(#_){background:#16191c!important;border-color:#16191c!important;color:#fff!important}
body.single-tutorial .ftb-card:hover a.ftb-btn--red:not(#_):not(#_){background:#e0443d!important;border-color:#e0443d!important;box-shadow:0 6px 18px rgba(255,82,72,.5)!important}
body.single-tutorial .ftb-card:hover a.ftb-btn svg{transform:translateY(2px)}
}
@container (max-width:1279px){
body.single-tutorial .ftb-inner{padding:36px 100px 40px;gap:18px}
body.single-tutorial .ftb-head{flex-wrap:wrap}
body.single-tutorial .ftb-headtext{flex:1 1 300px}
body.single-tutorial p.ftb-free{flex:1 1 100%;margin:-8px 0 0 90px!important;text-align:left}
body.single-tutorial .ftb-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.single-tutorial .ftb-card{flex-direction:row;align-items:center;gap:12px;padding:12px 12px 12px 14px}
body.single-tutorial .ftb-top{flex-direction:row;align-items:center}
body.single-tutorial .ftb-tile{width:40px;height:40px}
body.single-tutorial p.ftb-name{font-size:16px!important}
body.single-tutorial p.ftb-sub{font-size:13px!important}
body.single-tutorial a.ftb-btn:not(#_):not(#_){flex:0 0 44px!important;margin:0!important;width:44px!important;max-width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;border-radius:50%!important}
body.single-tutorial .ftb-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
@container (max-width:899px){
body.single-tutorial .ftb-cards{grid-template-columns:minmax(0,1fr)}
}
@container (max-width:767px){
body.single-tutorial .ftb-inner{padding:28px 15px 32px;gap:16px}
body.single-tutorial .ftb-art{width:64px;height:64px}
body.single-tutorial p.ftb-title{font-size:22px!important}
body.single-tutorial p.ftb-kicker{font-size:12px!important}
body.single-tutorial .ftb-headtext{flex:1 1 0}
body.single-tutorial p.ftb-free{margin:0!important;font-size:14px!important}
}
@media (prefers-reduced-motion:reduce){
body.single-tutorial .ftb-card,body.single-tutorial a.ftb-btn:not(#_):not(#_),body.single-tutorial a.ftb-btn svg,body.single-tutorial .ftb-art img{transition:none}
body.single-tutorial .ftb-card:hover,body.single-tutorial .ftb-card:hover a.ftb-btn svg,body.single-tutorial .ftb-art:hover img{transform:none}
}

/* ---------- PRO course ad under the "20 More Looks" section. Real HTML, never a picture with words in it: a zoom hover
   resamples baked-in small text and it goes soft (Aaron 2026-11-03). Only the photo zooms here; the text stays still and sharp.
   The whole card is the link (the button's ::after covers it). */
body.single-tutorial .free-description .ft-ad-wrap{margin:32px 0 12px;cursor:pointer}
body.single-tutorial .free-description .ft-ad{position:relative;display:grid;grid-template-columns:240px minmax(0,1fr);margin:0;border-radius:14px;overflow:hidden;background:#141518;box-shadow:0 1px 2px rgba(22,25,28,.06),0 6px 16px rgba(22,25,28,.14);transition:transform .25s,box-shadow .25s}
body.single-tutorial .free-description .ft-ad__thumb{position:relative;overflow:hidden;min-height:100%;background:#23262b}
body.single-tutorial .free-description .ft-ad__thumb img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;object-fit:cover;object-position:50% 20%;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
body.single-tutorial .free-description .ft-ad__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;padding:26px 28px 28px}
body.single-tutorial .free-description .ft-ad p{margin:0!important}
body.single-tutorial .free-description .ft-ad__eyebrow{font-size:12px!important;font-weight:900;line-height:1.3!important;letter-spacing:.12em;text-transform:uppercase;color:#ff7470!important}
body.single-tutorial .free-description .ft-ad__title{font-size:24px!important;font-weight:900;line-height:1.2!important;letter-spacing:-.01em;color:#fff!important}
body.single-tutorial .free-description .ft-ad__stat{display:flex;align-items:center;gap:14px;width:100%;padding:12px 0;border-top:1px solid #2a2d33;border-bottom:1px solid #2a2d33}
body.single-tutorial .free-description .ft-ad__num{flex:none;font-size:40px;font-weight:900;line-height:1;color:#ff5248}
body.single-tutorial .free-description .ft-ad__lab{font-size:15px;line-height:1.4;color:#d5d8dc}
body.single-tutorial .free-description a.ft-ad__btn:not(#_):not(#_){display:inline-flex;align-items:center;gap:10px;padding:13px 20px!important;border:0!important;border-radius:6px;background:#ff5248;color:#fff!important;font-size:13px;font-weight:900;line-height:1;letter-spacing:.12em;text-transform:uppercase;text-decoration:none!important;transition:background-color .2s}
body.single-tutorial .free-description a.ft-ad__btn::after{content:"";position:absolute;inset:0;z-index:1}
body.single-tutorial .free-description .ft-ad__arrow{display:inline-block;transition:transform .2s}
body.single-tutorial .free-description a.ft-ad__btn:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (hover:hover){
body.single-tutorial .free-description .ft-ad-wrap:hover .ft-ad{transform:translateY(-4px);box-shadow:0 2px 4px rgba(22,25,28,.08),0 18px 34px rgba(22,25,28,.26)}
body.single-tutorial .free-description .ft-ad-wrap:hover .ft-ad__thumb img{transform:scale(1.08)}
body.single-tutorial .free-description .ft-ad-wrap:hover a.ft-ad__btn:not(#_):not(#_){background:#e0463d;color:#fff!important}
body.single-tutorial .free-description .ft-ad-wrap:hover .ft-ad__arrow{transform:translateX(4px)}
}
@media (max-width:640px){
body.single-tutorial .free-description .ft-ad{grid-template-columns:minmax(0,1fr)}
body.single-tutorial .free-description .ft-ad__thumb{min-height:0;aspect-ratio:16/10}
body.single-tutorial .free-description .ft-ad__body{padding:20px}
body.single-tutorial .free-description .ft-ad__title{font-size:22px!important}
body.single-tutorial .free-description .ft-ad__body > p:has(.ft-ad__btn){width:100%}
body.single-tutorial .free-description a.ft-ad__btn:not(#_):not(#_){width:100%;justify-content:center}
}

/* ---------- Practice-files rows stay on one line on phones: the optional words drop out */
@media (max-width:480px){body.single-tutorial #downloads.ft-dl .ft-opt{display:none}}

/* ---------- Install paths (Mac / Windows): one full-width card each, path on one copyable line, room below */
body.single-tutorial .free-description ul.free-keys.ft-paths{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:100%!important;max-width:none!important;margin:24px 0 30px!important;padding:0!important}
body.single-tutorial .free-description ul.free-keys.ft-paths li{display:block!important;width:auto!important;max-width:none!important;margin:0!important;padding:16px 20px!important}
body.single-tutorial .free-description ul.free-keys.ft-paths .free-keys__do{display:block!important;margin:0 0 6px!important;font-size:16px!important;font-weight:900;line-height:1.3!important;width:auto!important}
body.single-tutorial .free-description ul.free-keys.ft-paths .free-keys__keys{display:block!important;font-size:16px!important;line-height:1.5!important;text-align:left!important;overflow-wrap:anywhere;width:auto!important}

/* ---------- Every list row in the article (Quick answer, the looks, the fixes): row hover like the PRO "What you'll learn"
   list. The padding moves by the same amount on both sides, so the 6px nudge never rewraps a line. Negative side margins
   keep the text lined up with the rest of the box. */
body.single-tutorial .free-description .ft-list .ft-li{margin:0 -12px 0!important;padding:8px 12px;border-radius:10px;transition:background-color .2s,padding .2s,box-shadow .2s}
body.single-tutorial .free-description .ft-list .ft-mark{border-radius:50%;transition:background-color .2s,transform .2s}
body.single-tutorial .free-description .ft-list .ft-mark path,body.single-tutorial .free-description .ft-list .ft-mark rect{transition:stroke .2s,fill .2s}
body.single-tutorial .free-description .ft-list .ft-li strong{transition:color .2s}
@media (hover:hover){
body.single-tutorial .free-description .ft-list .ft-li:hover{background:#fff6f4;padding-left:18px;padding-right:6px;box-shadow:inset 0 0 0 1px rgba(255,82,72,.16)}
body.single-tutorial .free-description .ft-list .ft-li:hover .ft-mark{transform:none}
body.single-tutorial .free-description .ft-list .ft-li:hover .ft-mark:has(path){background:#ff5248}
body.single-tutorial .free-description .ft-list .ft-li:hover .ft-mark path{stroke:#fff!important}
body.single-tutorial .free-description .ft-list .ft-li:hover .ft-mark rect{fill:#ff5248!important;stroke:#ff5248!important}
body.single-tutorial .free-description .ft-list .ft-li:hover span > strong:first-child{color:#e0463d!important}
}
@media (max-width:599px){
body.single-tutorial .ft-looks__rail{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){
body.single-tutorial .ft-looks__card,body.single-tutorial .ft-looks__card img,body.single-tutorial .ft-looks__name::before,body.single-tutorial .free-description .ft-list .ft-li,body.single-tutorial .free-description .ft-ad,body.single-tutorial .free-description .ft-ad__thumb img,body.single-tutorial .free-description .ft-ad__arrow{transition:none}
body.single-tutorial .ft-looks__item:hover .ft-looks__card,body.single-tutorial .ft-looks__item:hover .ft-looks__card img{transform:none}
}
