/* Homepage business cards: preserve company-page card styling */
#foretagstjanster .service-photo-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;align-items:stretch!important}
#foretagstjanster .service-photo-card{display:flex!important;flex-direction:column!important;padding:0!important;min-height:0!important;overflow:hidden!important;background:#fffdf9!important;border:1px solid #ede5d6!important;border-radius:24px!important;text-decoration:none!important;box-shadow:0 12px 34px rgba(47,40,24,.055)!important;transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease!important}
#foretagstjanster .service-photo-card:before{display:none!important}
#foretagstjanster .service-photo-card:hover{transform:translateY(-6px)!important;border-color:#d9bd77!important;box-shadow:0 24px 50px rgba(47,40,24,.12)!important}
#foretagstjanster .service-photo-wrap{height:auto;aspect-ratio:1.54;position:relative;overflow:hidden;background:#efe9dc;flex-shrink:0}
#foretagstjanster .service-photo-wrap img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.7,.2,1);filter:saturate(.86)}
#foretagstjanster .service-photo-card:hover .service-photo-wrap img{transform:scale(1.055)}
#foretagstjanster .service-photo-action{position:absolute;top:16px;right:16px;width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#fffdf9;color:#a97d10;box-shadow:0 5px 18px #17130d22;transition:background .25s,color .25s,transform .25s}
#foretagstjanster .service-photo-card:hover .service-photo-action{background:#d4a21c;color:#242820;transform:rotate(45deg)}
#foretagstjanster .service-photo-body{padding:23px 24px 24px;display:flex;flex:1;flex-direction:column;align-items:flex-start}
#foretagstjanster .service-photo-body h3{margin:0 0 9px!important;font-size:22px!important;letter-spacing:-.035em!important;line-height:1.2!important;color:#242922!important}
#foretagstjanster .service-photo-body p{margin:0 0 22px!important;font-size:14px!important;line-height:1.7!important;color:#6c726a!important;flex:1}
#foretagstjanster .service-photo-price{display:inline-flex;align-items:center;min-height:31px;padding:7px 13px;border-radius:999px;background:#fff5df;color:#946d0e;font-size:12px;font-weight:650;letter-spacing:.01em}
#foretagstjanster .service-photo-card:focus-visible{outline:3px solid #bd8c13;outline-offset:4px}
@media(max-width:950px){#foretagstjanster .service-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){#foretagstjanster .service-photo-grid{grid-template-columns:1fr!important;gap:17px!important}#foretagstjanster .service-photo-wrap{aspect-ratio:1.7}#foretagstjanster .service-photo-body{padding:19px 20px 21px}#foretagstjanster .service-photo-body h3{font-size:20px!important}}
@media(prefers-reduced-motion:reduce){#foretagstjanster .service-photo-card,#foretagstjanster .service-photo-wrap img,#foretagstjanster .service-photo-action{transition:none!important}}

/* V39 – fyra fotokort per rad, 8 synliga + 3 expanderbara */
#foretagstjanster .service-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}
#foretagstjanster .service-photo-card[hidden]{display:none!important}
#foretagstjanster .service-photo-wrap{aspect-ratio:1.48}
#foretagstjanster .service-photo-body{padding:20px 19px 21px}
#foretagstjanster .service-photo-body h3{font-size:19px!important}
#foretagstjanster .service-photo-body p{font-size:13px!important}
#foretagstjanster .services-expand-actions{display:flex;justify-content:center;margin-top:32px}
#foretagstjanster .services-expand-btn{display:inline-flex;align-items:center;gap:16px;justify-content:center;cursor:pointer;background:#d3a11c;color:#202820;border:1px solid #d3a11c;border-radius:999px;padding:15px 25px;font:600 14px inherit;box-shadow:0 8px 20px #b58c1930;transition:transform .25s,background .25s,box-shadow .25s}
#foretagstjanster .services-expand-btn:hover{transform:translateY(-3px);background:#e2b12a;box-shadow:0 12px 26px #b58c1940}
#foretagstjanster .services-expand-btn:focus-visible{outline:3px solid #85600b;outline-offset:3px}
#foretagstjanster .services-expand-icon{font-size:19px;line-height:1}
@media(max-width:1050px){#foretagstjanster .service-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){#foretagstjanster .service-photo-grid{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){#foretagstjanster .services-expand-btn{transition:none}}

/* EMF homepage: 8 visible cards, 3 revealed on demand */
#foretagstjanster .emf-extra-business-card[hidden]{display:none!important}
#foretagstjanster .service-photo-footer{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:auto}
#foretagstjanster .services-expand-btn{font-family:inherit;font-weight:650}

/* Align the business-services heading below the fixed navigation on anchor scroll. */
#foretagstjanster{scroll-margin-top:72px}
@media(max-width:760px){#foretagstjanster{scroll-margin-top:72px}}

/* V42: Same card appearance and footer layout as /foretag */
#foretagstjanster .service-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}
#foretagstjanster .service-photo-card{padding:0!important;overflow:hidden!important}
#foretagstjanster .service-photo-wrap{display:block!important;position:relative!important;aspect-ratio:1.48!important;margin:0!important;border-radius:0!important}
#foretagstjanster .service-photo-wrap img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important}
#foretagstjanster .service-photo-action{position:absolute!important;top:16px!important;right:16px!important}
#foretagstjanster .service-photo-body{padding:20px 19px 21px!important;display:flex!important;flex-direction:column!important;flex:1!important}
#foretagstjanster .service-photo-body h3{font-size:19px!important}
#foretagstjanster .service-photo-footer{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;width:100%!important;margin-top:auto!important;flex-wrap:wrap!important}
#foretagstjanster .service-read-more{order:0!important;margin:0 auto 0 0!important;font-size:12px!important}
#foretagstjanster .service-photo-price{order:1!important;margin:0 0 0 auto!important;white-space:nowrap!important}
@media(max-width:1050px){#foretagstjanster .service-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){#foretagstjanster .service-photo-grid{grid-template-columns:1fr!important}}
