/* Profilent Case Studies v1.1 — polished single page and card grid */
.profilent-case-section,.profilent-case-single,.profilent-case-related{color:#10233d}
.profilent-case-section{padding:48px 0 60px;background:#fff}
.profilent-case-section *,.profilent-case-single *,.profilent-case-related *{box-sizing:border-box}
.profilent-case-inner{width:min(1172px,calc(100% - 40px));margin:0 auto}
.profilent-case-heading{display:grid;grid-template-columns:1.05fr .8fr;align-items:end;gap:42px;margin-bottom:32px}
.profilent-case-heading h2{max-width:600px;margin:0;color:#10233d;font-size:clamp(32px,4vw,44px);line-height:1.1;letter-spacing:-.045em;font-weight:800}
.profilent-case-heading p{margin:0 0 4px;color:#425a78;font-size:15px;line-height:1.7}
.profilent-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.profilent-case-card{min-width:0;overflow:hidden;background:#fff;border:1px solid #d7e5f2;border-radius:19px;box-shadow:0 8px 26px rgba(18,49,82,.045);transition:transform .2s,border-color .2s,box-shadow .2s}
.profilent-case-card:hover{transform:translateY(-3px);border-color:#b6dfe4;box-shadow:0 12px 30px rgba(18,49,82,.08)}
.profilent-case-cover{position:relative;display:block;height:166px;overflow:hidden;background:linear-gradient(120deg,#bff2ee,#d8ddff 60%,#ffe1b6);text-decoration:none}
.profilent-case-card:nth-child(3n+2) .profilent-case-cover{background:linear-gradient(120deg,#d5f3e9,#dceafa)}
.profilent-case-card:nth-child(3n) .profilent-case-cover{background:linear-gradient(120deg,#d7f5f2,#e7e4ff)}
.profilent-case-image{display:block;width:100%;height:100%;object-fit:cover}
.profilent-case-art{position:absolute;inset:0;display:block}
.profilent-case-paper{position:absolute;left:25%;right:5%;top:18px;bottom:-8px;background:rgba(255,255,255,.88);border-radius:13px 13px 0 0;transform:rotate(3deg);box-shadow:0 8px 22px rgba(21,61,92,.08);padding:50px 16px 0}
.profilent-case-paper:before{content:"";display:block;height:5px;width:100%;margin-bottom:15px;background:linear-gradient(90deg,#06b7c2,#727bff);transform:rotate(-8deg)}
.profilent-case-paper i{display:block;height:5px;margin:10px 0;background:#d4e8ed;transform:rotate(-5deg)}
.profilent-case-badge{position:absolute;left:20px;bottom:19px;padding:9px 11px;border-radius:999px;background:#fff;color:#071b3c;font-size:10px;font-weight:800;letter-spacing:.06em;line-height:1;text-transform:uppercase}
.profilent-case-body{padding:22px 21px 23px}
.profilent-case-body h3{margin:0 0 10px;color:#071b3c;font-size:17px;line-height:1.35;font-weight:750}
.profilent-case-body h3 a{color:inherit;text-decoration:none}
.profilent-case-body p{margin:0 0 19px;color:#435a78;font-size:13px;line-height:1.7}
.profilent-case-link{display:inline-flex;gap:8px;align-items:center;color:#00899b;text-decoration:none;font-size:13px;font-weight:800}
.profilent-case-notice{padding:18px;border:1px solid #d7e5f2;border-radius:12px;background:#f8fbff;color:#183252}
/* Individual case study page */
.profilent-case-single{background:#fff}
.profilent-case-hero{position:relative;overflow:hidden;padding:58px 0 44px;background:linear-gradient(120deg,#f1f8ff 0%,#effafa 55%,#fff8ee 100%)}
.profilent-case-hero-inner{width:min(1050px,calc(100% - 40px));margin:0 auto}
.profilent-case-back{display:inline-block;margin:0 0 30px;color:#087f91;font-size:13px;font-weight:750;text-decoration:none}
.profilent-case-hero-label{display:block;margin-bottom:13px;color:#078da1;font-size:11px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
.profilent-case-hero h1{max-width:850px;margin:0 0 16px;color:#10233d;font-size:clamp(36px,5.5vw,62px);line-height:1.04;letter-spacing:-.05em;font-weight:850}
.profilent-case-hero-excerpt{max-width:760px;margin:0;color:#425a78;font-size:18px;line-height:1.7}
.profilent-case-facts{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}
.profilent-case-facts>div{min-width:150px;max-width:300px;padding:13px 16px;border:1px solid rgba(190,213,230,.8);border-radius:12px;background:rgba(255,255,255,.75)}
.profilent-case-facts span{display:block;margin-bottom:6px;color:#64809a;font-size:9px;font-weight:850;letter-spacing:.1em}
.profilent-case-facts strong{display:block;color:#10233d;font-size:13px;line-height:1.4}
.profilent-case-feature-image{width:min(1120px,calc(100% - 40px));margin:30px auto 0;overflow:hidden;border-radius:20px;background:#edf5f8}
.profilent-case-single-image{display:block;width:100%;max-height:570px;object-fit:cover}
.profilent-case-article{width:min(850px,calc(100% - 40px));margin:44px auto 0}
.profilent-case-block{margin:0 0 34px}
.profilent-case-block h2{margin:0 0 13px;color:#10233d;font-size:clamp(23px,3vw,30px);line-height:1.2;letter-spacing:-.025em}
.profilent-case-block-text{color:#405774;font-size:16px;line-height:1.85}
.profilent-case-block-text p{margin:0 0 1em}
.profilent-case-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.profilent-case-gallery-item{display:block;overflow:hidden;border-radius:13px;background:#f2f7fa}
.profilent-case-gallery-image{display:block;width:100%;height:270px;object-fit:cover;transition:transform .25s}
.profilent-case-gallery-item:hover .profilent-case-gallery-image{transform:scale(1.025)}
.profilent-case-tech-grid{display:flex;flex-wrap:wrap;gap:10px}
.profilent-case-tech{display:flex;align-items:center;gap:10px;min-height:58px;padding:10px 14px;border:1px solid #d7e5f2;border-radius:13px;background:#fff}
.profilent-case-tech-logo{display:block;width:30px;height:30px;object-fit:contain}
.profilent-case-tech span{color:#183252;font-size:13px;font-weight:750}
.profilent-case-related{padding:48px 0 68px;background:#f7fbfd}
.profilent-case-related-head{width:min(1172px,calc(100% - 40px));margin:0 auto 24px}
.profilent-case-related .profilent-case-grid{width:min(1172px,calc(100% - 40px));margin:0 auto}
.profilent-case-kicker{margin:0 0 9px;color:#078da1;font-size:10px;font-weight:850;letter-spacing:.13em}
.profilent-case-related h2{margin:0;color:#10233d;font-size:clamp(27px,3.5vw,36px);letter-spacing:-.035em;line-height:1.15}
@media(max-width:900px){.profilent-case-heading{grid-template-columns:1fr;gap:14px}.profilent-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profilent-case-cover{height:155px}.profilent-case-hero{padding:44px 0 36px}}
@media(max-width:600px){.profilent-case-section{padding:36px 0 44px}.profilent-case-inner{width:calc(100% - 28px)}.profilent-case-heading{margin-bottom:24px}.profilent-case-heading h2{font-size:clamp(30px,8vw,38px)}.profilent-case-grid{grid-template-columns:1fr;gap:16px}.profilent-case-cover{height:170px}.profilent-case-body{padding:19px}.profilent-case-hero-inner{width:calc(100% - 28px)}.profilent-case-hero h1{font-size:clamp(34px,10vw,46px)}.profilent-case-hero-excerpt{font-size:16px}.profilent-case-facts{gap:8px}.profilent-case-facts>div{flex:1 1 140px}.profilent-case-feature-image{width:calc(100% - 28px);margin-top:18px;border-radius:13px}.profilent-case-article{width:calc(100% - 28px);margin-top:30px}.profilent-case-gallery{grid-template-columns:1fr}.profilent-case-gallery-image{height:230px}.profilent-case-related{padding:36px 0 44px}.profilent-case-related-head,.profilent-case-related .profilent-case-grid{width:calc(100% - 28px)}}


/* Profilent branded single case-study page polish */
body.single-profilent_case_study { background:#f6fbfc; color:#14243a; }
body.single-profilent_case_study .site-main,
body.single-profilent_case_study main { background:transparent; }
body.single-profilent_case_study .profilent-case-single { color:#14243a; padding-top:1px; }
body.single-profilent_case_study .profilent-case-single-content { width:min(920px,calc(100% - 40px)); margin:36px auto 76px; padding:clamp(24px,4vw,48px); background:#fff; border:1px solid #dcebed; border-radius:24px; box-shadow:0 18px 55px rgba(17,44,70,.07); }
body.single-profilent_case_study .profilent-case-single-content h1 { color:#14243a; font-size:clamp(38px,5.3vw,64px); line-height:1.04; letter-spacing:-.045em; margin:0 0 24px; }
body.single-profilent_case_study .profilent-case-single-content h2 { color:#14243a; font-size:clamp(24px,3vw,32px); letter-spacing:-.025em; margin:0 0 14px; }
body.single-profilent_case_study .profilent-case-single-content p { color:#40546b; line-height:1.85; }
body.single-profilent_case_study .profilent-case-client { background:linear-gradient(110deg,#e8fbfb,#f2f3ff); border-left:4px solid #09B5C1; border-radius:0 12px 12px 0; padding:16px 20px; margin:24px 0; color:#14243a; }
body.single-profilent_case_study .profilent-case-client strong { color:#087f8a; }
body.single-profilent_case_study .profilent-case-detail { margin-top:26px; padding:28px 0 6px; border-top:1px solid #dcebed; }
body.single-profilent_case_study .profilent-case-detail h2:before { content:""; display:inline-block; width:7px; height:25px; margin:0 12px -3px 0; border-radius:8px; background:#09B5C1; }
body.single-profilent_case_study .profilent-case-single-cover { margin-top:28px; border-radius:22px; box-shadow:0 18px 50px rgba(17,44,70,.10); }
body.single-profilent_case_study .profilent-case-single-image { max-height:560px; }
body.single-profilent_case_study .profilent-case-single-content a { color:#008b98; text-underline-offset:4px; }
@media(max-width:600px){ body.single-profilent_case_study .profilent-case-single-content{width:calc(100% - 28px);padding:22px;margin:22px auto 44px;border-radius:18px;} }
