/* ============================================================
   JLDigital — shared service-page components & refinements
   Loaded after each page's inline <style> so it can refine it.
   ============================================================ */

/* 1. Wider, better balanced section headings ---------------- */
.ga-sec > .ga-head{max-width:1080px}
.ga-sec > .ga-head h2{max-width:none;font-size:clamp(28px,3.35vw,46px);text-wrap:balance}
.ga-sec > .ga-head p{max-width:740px}
.ga-process-wrap > .ga-head{max-width:1000px}
@media(max-width:620px){.ga-sec > .ga-head h2{font-size:clamp(26px,7vw,34px)}}

/* 2. Hero footer row: tags + Trustpilot left, partner card right */
.jl-hero-foot{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:34px;align-items:end;margin-top:26px}
.jl-hero-foot-main{min-width:0}
.jl-hero-foot .ga-badges{margin-top:0}
@media(max-width:960px){.jl-hero-foot{grid-template-columns:1fr;align-items:start;gap:22px}}

/* Shared PartnerProofCard */
.jl-partner{display:inline-flex;align-items:center;gap:16px;padding:14px 20px;background:#fff;border:1px solid #e6e3dc;border-radius:16px;max-width:420px;text-decoration:none;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.jl-partner:hover{transform:translateY(-2px);border-color:#dad4c6;box-shadow:0 20px 44px -32px rgba(0,0,0,.4)}
.jl-partner img{height:auto;max-height:62px;max-width:104px;width:auto;object-fit:contain;display:block;flex-shrink:0}
.jl-partner .jl-partner-txt{display:flex;flex-direction:column;gap:3px}
.jl-partner .jl-partner-txt b{font-size:13.5px;font-weight:600;color:#1a1916;letter-spacing:-.005em}
.jl-partner .jl-partner-txt span{font-size:12.5px;color:#6b6557;line-height:1.5;max-width:32ch}
@media(max-width:520px){.jl-partner{gap:12px;padding:12px 16px}.jl-partner img{max-height:48px;max-width:84px}}
.jl-partner .jl-partner-txt .jl-partner-cert{font-style:normal;font-size:11px;letter-spacing:.11em;text-transform:uppercase;color:#8a8780;font-weight:600;margin-top:2px}

/* Google Ads certifications */
.gc-grid{list-style:none;margin:0 auto;padding:0;max-width:1080px;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.gc-card{background:#fff;border:1px solid #e9e6df;border-radius:18px;padding:30px 26px 28px;display:flex;flex-direction:column;align-items:center;text-align:center}
.gc-badge{height:112px;display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.gc-badge img{height:100%;width:auto;max-width:112px;object-fit:contain;display:block}
.gc-card h3{font-family:'Playfair Display',serif;font-weight:500;font-size:19px;letter-spacing:-.01em;color:#1a1916;margin-bottom:9px}
.gc-card p{color:#5a554c;font-size:14px;line-height:1.7;max-width:34ch}
@media(max-width:860px){.gc-grid{grid-template-columns:1fr;max-width:460px}.gc-badge{height:96px}.gc-badge img{max-width:96px}}

/* Certification section subtitle: centred, controlled measure */
#certificeringer .ga-head p.gc-sub{max-width:780px;margin-left:auto;margin-right:auto;text-align:center;text-wrap:pretty;font-size:15.5px;line-height:1.75}
#certificeringer .gc-grid{margin-top:8px}
.gc-card{transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
@media(hover:hover){.gc-card:hover{transform:translateY(-4px);border-color:#dad4c6;box-shadow:0 28px 56px -40px rgba(0,0,0,.35)}}
@media(prefers-reduced-motion:reduce){.gc-card{transition:none}.gc-card:hover{transform:none}}

/* Four-up certification grid (Klaviyo) */
/* Klaviyo partner + certifications combined layout */
.kp-layout{max-width:1180px;margin:8px auto 0;display:grid;grid-template-columns:minmax(0,0.86fr) minmax(0,1.6fr);gap:22px;align-items:stretch}
.kp-layout .kp-certs{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.kp-layout .gc-card{margin:0}
.kp-partner{justify-content:center;text-decoration:none;padding:36px 30px 34px}
.kp-partner .gc-badge{height:150px;margin-bottom:22px}
.kp-partner .gc-badge img{max-width:230px;height:auto;max-height:100%;object-fit:contain}
.kp-partner h3{font-size:22px}
.kp-partner p{max-width:36ch}
.kp-layout .kp-certs .gc-badge{height:104px}
.kp-layout .kp-certs .gc-badge img{max-width:104px;object-fit:contain}
.kp-layout .kp-certs .gc-card{padding:26px 22px 24px}
.kp-layout .kp-certs .gc-card p{font-size:13.5px;max-width:32ch}
@media(max-width:1040px){.kp-layout{grid-template-columns:1fr;max-width:760px;gap:20px}.kp-partner .gc-badge{height:120px}}
@media(max-width:620px){.kp-layout{max-width:420px}.kp-layout .kp-certs{grid-template-columns:1fr}}

.gc-grid.gc-grid-4{grid-template-columns:repeat(4,1fr);max-width:1180px}
.gc-grid.gc-grid-4 .gc-badge{height:104px}
.gc-grid.gc-grid-4 .gc-badge img{max-width:104px}
.gc-grid.gc-grid-4 .gc-card{padding:26px 22px 24px}
.gc-grid.gc-grid-4 .gc-card p{font-size:13.5px;max-width:32ch}
@media(max-width:1100px){.gc-grid.gc-grid-4{grid-template-columns:repeat(2,1fr);max-width:760px}}
@media(max-width:620px){.gc-grid.gc-grid-4{grid-template-columns:1fr;max-width:420px}}

/* 3. Logo-only channel tag (e.g. Google logo + separate "Search") */
.ga-badges li.tag-logo{padding:8px 14px}
.ga-badges li.tag-logo::before{content:none;display:none}
.ga-badges li.tag-logo img{height:19px;width:auto;object-fit:contain;display:block}

/* 4. Channel-fit panes (positive / negative) ----------------- */
.jl-fit .jl-fit-ic{width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;border:1px solid}
.jl-fit .jl-fit-ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.jl-fit-pos .jl-fit-ic{background:#eff3ed;border-color:#dde5d7;color:#4d6a50}
.jl-fit-neg .jl-fit-ic{background:#f7efe9;border-color:#ebdccf;color:#8d5f47}
.jl-fit ul.tk-list li::before{content:none;display:none}
.jl-fit ul.tk-list li{gap:11px;align-items:flex-start}
.jl-fit ul.tk-list li .jl-ic{flex-shrink:0;width:16px;height:16px;margin-top:3px;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.jl-fit-pos ul.tk-list li .jl-ic{stroke:#4d6a50}
.jl-fit-neg ul.tk-list li .jl-ic{stroke:#a97a63}
.jl-fit-concl{margin:28px auto 0;max-width:920px;text-align:center;color:#5a554c;font-size:15px;line-height:1.75}

/* 5. Shared format explorer (interactive cards + inline preview) */
.fx-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;font:inherit;cursor:pointer;padding:28px 26px 24px;min-height:150px}
.fx-card h3{font-family:'Playfair Display',serif;font-weight:500;font-size:21px;line-height:1.25;letter-spacing:-.01em;margin-bottom:10px;color:#1a1916}
.fx-card p{color:#5a554c;font-size:14.5px;line-height:1.7}
.fx-more{margin-top:18px;font-size:12.5px;font-weight:600;letter-spacing:.02em;color:#1a1916;opacity:.62;transition:opacity .25s ease,transform .25s ease}
.fx-card:hover .fx-more,.fx-card:focus-visible .fx-more{opacity:1;transform:translateX(3px)}
.fx-card[aria-expanded="true"]{border-color:#1a1916;box-shadow:0 30px 60px -44px rgba(0,0,0,.45)}
.fx-card[aria-expanded="true"] .fx-more{opacity:1}
.fx-card:focus-visible{outline:2px solid #1a1916;outline-offset:3px}
.fx-wrap{margin-top:26px}
.fx-panel{background:#fff;border:1px solid #e9e6df;border-radius:22px;padding:34px;position:relative;animation:fx-in .35s ease both}
.fx-panel[hidden]{display:none}
@keyframes fx-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.fx-grid{display:grid;grid-template-columns:210px 1fr;gap:38px;align-items:start}
.fx-txt h3{font-family:'Playfair Display',serif;font-weight:500;font-size:25px;letter-spacing:-.015em;margin-bottom:12px;color:#1a1916}
.fx-txt > p{color:#5a554c;font-size:15px;line-height:1.75;max-width:70ch}
.fx-lbl{display:block;font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:#8a8780;font-weight:600;margin:26px 0 14px;padding-top:20px;border-top:1px solid #ece9e1}
.fx-txt ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.fx-txt ul li{font-size:12.5px;color:#3a3631;background:#faf8f3;border:1px solid #ece9e1;border-radius:999px;padding:7px 13px}
.fx-note{margin-top:22px;font-size:12.5px;color:#8a8780;line-height:1.65;font-style:italic}
.fx-close{position:absolute;top:16px;right:16px;background:#faf8f3;border:1px solid #e9e6df;border-radius:999px;padding:7px 15px;font:inherit;font-size:12px;font-weight:600;color:#3a3631;cursor:pointer;transition:background .25s ease,border-color .25s ease}
.fx-close:hover{background:#1a1916;color:#fff;border-color:#1a1916}
/* Generic vertical-video mockups */
.fx-mock{background:#faf8f3;border:1px solid #ece9e1;border-radius:18px;padding:18px;display:flex;justify-content:center}
.fx-phone{width:150px;background:#fff;border:1px solid #eceae4;border-radius:14px;padding:10px;display:flex;flex-direction:column;gap:8px}
.fx-ph{position:relative;width:100%;aspect-ratio:9/16;border-radius:10px;background:linear-gradient(150deg,#efece4,#e2ddd1)}
.fx-ph.sq{aspect-ratio:1/1}
.fx-brand{display:flex;align-items:center;gap:6px}
.fx-dot{width:14px;height:14px;border-radius:50%;background:#dcd6c8;flex-shrink:0}
.fx-bn{height:6px;width:52px;border-radius:3px;background:#e4dfd3}
.fx-line{height:7px;border-radius:4px;background:#e4dfd3}
.fx-line.l1{width:88%}
.fx-line.l2{width:58%;background:#eeebe3}
.fx-cta{height:20px;width:70px;border-radius:999px;background:#1a1916;opacity:.85}
.fx-play{position:absolute;inset:0;margin:auto;width:0;height:0;border-left:16px solid rgba(26,25,22,.5);border-top:11px solid transparent;border-bottom:11px solid transparent}
.fx-tag{position:absolute;top:8px;left:8px;font-size:8.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#5a554c;background:rgba(255,255,255,.86);border:1px solid #ece9e1;border-radius:999px;padding:2px 7px}
.fx-side{position:absolute;right:8px;bottom:26px;display:flex;flex-direction:column;gap:6px}
.fx-side i{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.75);display:block}
.fx-prog{position:absolute;left:8px;right:8px;bottom:8px;height:3px;border-radius:2px;background:rgba(255,255,255,.6)}
.fx-prog i{display:block;height:100%;width:42%;border-radius:2px;background:#1a1916;opacity:.7}
.fx-prod{display:flex;align-items:center;gap:8px;border:1px solid #ece9e1;border-radius:10px;padding:7px}
.fx-prod .th{width:26px;height:26px;border-radius:7px;background:linear-gradient(150deg,#efece4,#e5e0d4);flex-shrink:0}
.fx-prod .tx{display:flex;flex-direction:column;gap:4px;flex:1}
.fx-prod .tx i{display:block;height:5px;border-radius:3px;background:#e4dfd3}
.fx-prod .tx i:last-child{width:52%;background:#eeebe3}
.fx-btn{font-size:9px;font-weight:600;color:#fff;background:#1a1916;border-radius:999px;padding:4px 9px;white-space:nowrap}
.fx-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.fx-thumbs span{aspect-ratio:1/1;border-radius:7px;background:linear-gradient(150deg,#efece4,#e5e0d4)}
.fx-variants{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.fx-variants span{aspect-ratio:9/16;border-radius:8px;background:linear-gradient(150deg,#efece4,#e5e0d4)}
@media(max-width:860px){.fx-panel{padding:26px 20px 22px}.fx-grid{grid-template-columns:1fr;gap:24px}.fx-mock{justify-content:flex-start}.fx-close{position:static;margin-top:22px;display:inline-flex}}
@media(max-width:680px){.fx-card{min-height:0;padding:22px 20px}}
@media(prefers-reduced-motion:reduce){.fx-panel{animation:none}.fx-card,.fx-more,.jl-partner{transition:none}}

/* Single-badge certification card (Pinterest / Snapchat) */
.gc-solo{text-align:left;max-width:760px;margin:8px auto 0;display:grid;grid-template-columns:auto 1fr;gap:28px;align-items:center;background:#fff;border:1px solid #e9e6df;border-radius:18px;padding:28px 32px;transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
@media(hover:hover){.gc-solo:hover{transform:translateY(-4px);border-color:#dad4c6;box-shadow:0 28px 56px -40px rgba(0,0,0,.35)}}
.gc-solo .gc-badge{height:118px;width:118px;margin:0}
.gc-solo .gc-badge img{height:100%;width:100%;max-width:none;object-fit:contain}
.gc-solo h3{font-family:'Playfair Display',serif;font-weight:500;font-size:21px;letter-spacing:-.01em;color:#1a1916;margin-bottom:9px}
.gc-solo p{color:#5a554c;font-size:14.5px;line-height:1.7;max-width:52ch}
@media(max-width:620px){.gc-solo{grid-template-columns:1fr;text-align:center;justify-items:center;padding:26px 22px;gap:18px}.gc-solo .gc-badge{height:96px;width:96px}}
@media(prefers-reduced-motion:reduce){.gc-solo{transition:none}}
