/* Академия Банкротства 5.10 — единая фотосистема hero */
:root{--academy-ink:#142d42;--academy-muted:#657c8d;--academy-navy:#08283d;--academy-green:#0ba84f;--academy-mint:#a9efc4;--academy-border:#dce7ed;--academy-page-max:1500px}
html{scroll-behavior:smooth}body{font-family:Manrope,"Segoe UI",Arial,sans-serif;overflow-x:hidden}img{max-width:100%;height:auto}
.academy-photo-hero{position:relative!important;isolation:isolate!important;overflow:hidden!important;min-height:320px!important;padding:clamp(44px,5vw,76px) 0!important;background-color:#08263b!important;background-size:118% auto!important;background-repeat:no-repeat!important;background-position:85% 48%!important;color:#f7fbfd!important}
.academy-photo-hero:before{content:""!important;position:absolute!important;inset:0!important;z-index:0!important;pointer-events:none!important;background:linear-gradient(90deg,rgba(4,20,34,.96) 0%,rgba(4,20,34,.86) 38%,rgba(4,20,34,.62) 70%,rgba(4,20,34,.42) 100%)!important}
.academy-photo-hero>.container,.academy-photo-hero .container{position:relative!important;z-index:1!important;width:min(var(--academy-page-max),calc(100% - 80px))!important;margin-inline:auto!important}
.academy-photo-hero .innergrid{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(270px,.75fr)!important;gap:clamp(22px,3vw,42px)!important;align-items:center!important}
.academy-photo-hero h1{max-width:900px!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:850 clamp(34px,3.25vw,52px)/1.1 Manrope,"Segoe UI",Arial,sans-serif!important;letter-spacing:-.04em!important;text-wrap:balance!important;overflow-wrap:anywhere!important}
.academy-photo-hero .leadtext,.academy-photo-hero .articlelead{max-width:790px!important;color:#e2edf2!important;font:500 clamp(16px,1.15vw,18px)/1.65 Manrope,"Segoe UI",Arial,sans-serif!important}
.academy-photo-hero .fine{color:#c5d7e0!important;font-size:13px!important;line-height:1.55!important}
.academy-photo-hero .eyebrow{border:1px solid rgba(156,238,188,.42)!important;background:rgba(255,255,255,.10)!important;color:#baf2cc!important;font-size:11px!important;font-weight:850!important}
.academy-photo-hero .infobox{max-width:460px!important;min-width:0!important;padding:clamp(20px,2vw,28px)!important;border:1px solid rgba(224,237,243,.98)!important;border-top:5px solid #11b95d!important;border-radius:19px!important;background:rgba(255,255,255,.97)!important;box-shadow:0 20px 48px rgba(0,0,0,.22)!important;color:#142d42!important;backdrop-filter:blur(8px)}
.academy-photo-hero .infobox b{color:#142d42!important;font-size:17px!important}.academy-photo-hero .infobox p,.academy-photo-hero .infobox li,.academy-photo-hero .infobox span{color:#61798b!important;font-size:14px!important;line-height:1.55!important}.academy-photo-hero .btn{min-height:48px!important;font-size:15px!important}
.academy-photo-hero--consultation{background-image:url('/assets/images/academy-home-hero-background-v510.webp')!important}
.academy-photo-hero--court{background-image:url('/assets/images/academy-courtroom-background-v510.webp')!important}
.academy-photo-hero--finance{background-image:url('/assets/images/financial-analysis-v58.webp')!important}
.academy-photo-hero--company{background-image:url('/assets/images/akban-court-practice-v55.webp')!important}
.academy-photo-hero--reviews{background-image:url('/assets/images/financial-analysis-v58.webp')!important}
.academy-photo-hero--franchise{background-image:url('/assets/images/akban-court-practice-v55.webp')!important}
.articlehero.academy-photo-hero{background-size:118% auto!important;background-position:85% 46%!important;padding-block:clamp(42px,4.5vw,68px)!important}
.articlehero.academy-photo-hero:before{background:linear-gradient(90deg,rgba(4,20,34,.94),rgba(4,20,34,.78) 60%,rgba(4,20,34,.42))!important}
.articlehero.academy-photo-hero .container{max-width:1100px!important}
/* Franchise hero uses legal-practice imagery; no employee or group portraits. */
.hero.franchisehero.academy-franchise-background{position:relative!important;isolation:isolate!important;overflow:hidden!important;min-height:590px!important;padding:0!important;background-image:url('/assets/images/academy-home-hero-background-v510.webp')!important;background-size:130% auto!important;background-position:63% center!important;background-repeat:no-repeat!important}
.hero.franchisehero.academy-franchise-background:before{content:""!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;border-radius:0!important;z-index:0!important;pointer-events:none!important;background:linear-gradient(90deg,rgba(3,20,34,.94) 0%,rgba(3,20,34,.82) 40%,rgba(3,20,34,.54) 72%,rgba(3,20,34,.42) 100%)!important}
.hero.franchisehero.academy-franchise-background:after{display:none!important;content:none!important}
.franchisehero.academy-franchise-background>.container.hero-grid{position:relative!important;z-index:1!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(320px,390px)!important;grid-template-rows:auto!important;grid-auto-flow:row!important;gap:clamp(28px,4vw,64px)!important;align-items:center!important;width:min(1500px,calc(100% - 80px))!important;min-height:590px!important;margin-inline:auto!important;padding:56px 0!important}
.franchisehero.academy-franchise-background>.container.hero-grid>.hero-copy{grid-column:1!important;grid-row:1!important;min-width:0!important;width:100%!important;max-width:840px!important}
.franchisehero.academy-franchise-background .hero-copy h1{max-width:740px!important;font-size:clamp(40px,3.65vw,54px)!important;line-height:1.08!important}
.franchisehero.academy-franchise-background .hero-copy .leadtext{max-width:700px!important;color:#e7f0f4!important;font-size:17px!important;line-height:1.65!important}
.franchisehero.academy-franchise-background .points{gap:12px!important;margin:22px 0 26px!important}.franchisehero.academy-franchise-background .points li{font-size:15px!important;line-height:1.5!important;padding-left:32px!important}.franchisehero.academy-franchise-background .points li:before{width:22px!important;height:22px!important;font-size:13px!important}
.franchisehero.academy-franchise-background .heroactions .btn{min-height:50px!important;font-size:14px!important;padding-inline:18px!important}.franchisehero.academy-franchise-background .fine{font-size:12px!important;line-height:1.55!important;max-width:720px!important}
.franchisehero.academy-franchise-background>.container.hero-grid>.photo{display:none!important}
.franchisehero.academy-franchise-background>.container.hero-grid>.heroform{grid-column:2!important;grid-row:1!important;min-width:0!important;width:100%!important;max-width:390px!important;justify-self:end!important;padding:24px!important;border-radius:20px!important}
.franchisehero.academy-franchise-background .heroform h2{font-size:24px!important}.franchisehero.academy-franchise-background .heroform p{font-size:14px!important}.franchisehero.academy-franchise-background .heroform .lead label:not(.consent){font-size:13px!important}.franchisehero.academy-franchise-background .heroform .lead input:not([type=checkbox]),.franchisehero.academy-franchise-background .heroform .lead select{min-height:46px!important;font-size:14px!important}.franchisehero.academy-franchise-background .heroform .consent{font-size:12px!important}.franchisehero.academy-franchise-background .heroform button{min-height:50px!important;font-size:14px!important}
/* Keep the descriptive copy below the hero but remove the repeated identical image. */
.academy-photo-hero + .page-topic-media{padding:18px 0!important;background:#f2f7f8!important}
.academy-photo-hero + .page-topic-media figure{display:block!important;margin:0!important;padding:16px 20px!important;border-left:4px solid #0ba84f!important;border-radius:0 12px 12px 0!important;background:#fff!important;box-shadow:none!important}
.academy-photo-hero + .page-topic-media img{display:none!important}
.academy-photo-hero + .page-topic-media figcaption{display:flex!important;flex-wrap:wrap!important;gap:7px 16px!important;align-items:baseline!important;color:#61798b!important;font-size:14px!important;line-height:1.5!important}
.academy-photo-hero + .page-topic-media figcaption strong{color:#142d42!important;font-size:15px!important}
/* Shared header micro-alignment across all document templates. */
.academy-header-v58 .akban-topline-inner{min-height:78px!important;max-width:1600px!important;margin-inline:auto!important}
.academy-header-v58 .akban-brand img{max-width:220px!important;max-height:58px!important;object-fit:contain!important}
.academy-header-v58 .akban-main-nav a,.academy-header-v58 .akban-main-nav button{font:750 14px/1.25 Manrope,"Segoe UI",Arial,sans-serif!important;white-space:nowrap!important}
.academy-header-v58 .akban-main-nav{gap:clamp(10px,1.1vw,18px)!important;min-width:0!important}
.academy-header-v58 .akban-main-nav a{padding:10px 0!important}
.academy-header-v58 .akban-phone{font-size:17px!important;font-weight:850!important;white-space:nowrap!important}
.academy-header-v58 .akban-city-trigger{min-height:42px!important;padding-inline:14px!important;font-size:13px!important;white-space:nowrap!important}
@media(max-width:1100px){.academy-photo-hero .container{width:calc(100% - 48px)!important}.academy-photo-hero .innergrid{grid-template-columns:minmax(0,1fr) minmax(250px,.8fr)!important;gap:22px!important}.academy-photo-hero{padding-block:46px!important}.franchisehero.academy-franchise-background>.container.hero-grid{grid-template-columns:minmax(0,1fr) minmax(300px,360px)!important;width:calc(100% - 48px)!important;min-height:550px!important;gap:22px!important}}
@media(max-width:780px){
 .academy-photo-hero{min-height:0!important;padding:38px 0!important;background-size:auto 150%!important;background-position:56% center!important}
 .academy-photo-hero:before{background:linear-gradient(90deg,rgba(3,18,31,.94),rgba(3,18,31,.86) 65%,rgba(3,18,31,.68))!important}
 .academy-photo-hero .container{width:calc(100% - 36px)!important}.academy-photo-hero .innergrid{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
 .academy-photo-hero h1{font-size:clamp(30px,8vw,42px)!important;line-height:1.1!important}.academy-photo-hero .leadtext,.academy-photo-hero .articlelead{font-size:16px!important;line-height:1.6!important}
 .academy-photo-hero .infobox{max-width:none!important;width:100%!important;padding:18px!important}.articlehero.academy-photo-hero{padding-block:36px!important;background-position:58% center!important}
 .hero.franchisehero.academy-franchise-background{min-height:0!important;background-size:auto 150%!important;background-position:56% center!important}
 .franchisehero.academy-franchise-background:before{background:linear-gradient(90deg,rgba(3,18,31,.94),rgba(3,18,31,.86) 65%,rgba(3,18,31,.68))!important}
 .franchisehero.academy-franchise-background>.container.hero-grid{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:22px!important;width:calc(100% - 36px)!important;min-height:0!important;padding:40px 0!important}
 .franchisehero.academy-franchise-background>.container.hero-grid>.hero-copy{grid-column:1!important;grid-row:1!important;max-width:none!important}
 .franchisehero.academy-franchise-background .hero-copy h1{font-size:clamp(32px,8.2vw,42px)!important;max-width:100%!important}
 .franchisehero.academy-franchise-background .hero-copy .leadtext{font-size:16px!important}.franchisehero.academy-franchise-background .points li{font-size:14px!important}
 .franchisehero.academy-franchise-background>.container.hero-grid>.heroform{grid-column:1!important;grid-row:2!important;justify-self:stretch!important;max-width:none!important;margin:0!important}
 .franchisehero.academy-franchise-background .heroform .fields{grid-template-columns:1fr!important}
 .academy-header-v58 .akban-topline-inner{min-height:64px!important}.academy-header-v58 .akban-brand img{max-width:170px!important;max-height:46px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Compact the old topic-photo caption after its image has moved into the full-bleed hero. */
.academy-photo-hero + .page-topic-media{padding:14px 0!important;background:transparent!important;min-height:0!important;height:auto!important}
.academy-photo-hero + .page-topic-media .container{height:auto!important;min-height:0!important}
.academy-photo-hero + .page-topic-media figure{position:static!important;display:block!important;height:auto!important;min-height:0!important;overflow:visible!important;margin:0!important;padding:14px 18px!important;border:1px solid #e1e9ee!important;border-left:4px solid #0ba84f!important;border-radius:0 12px 12px 0!important;background:#fff!important;box-shadow:none!important}
.academy-photo-hero + .page-topic-media figure:before,.academy-photo-hero + .page-topic-media figure:after{display:none!important;content:none!important}
.academy-photo-hero + .page-topic-media figure img{display:none!important;width:0!important;height:0!important}
.academy-photo-hero + .page-topic-media figcaption{position:static!important;inset:auto!important;display:flex!important;flex-wrap:wrap!important;gap:5px 14px!important;align-items:baseline!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#61798b!important;font-size:13px!important;line-height:1.5!important}
.academy-photo-hero + .page-topic-media figcaption strong{display:block!important;position:static!important;color:#142d42!important;font-size:14px!important}
.academy-photo-hero + .page-topic-media figcaption span{display:inline!important;color:#536c7d!important;opacity:1!important;font-size:13px!important;line-height:1.5!important}
.academy-photo-hero + .page-topic-media figcaption span{display:none!important}
.academy-photo-hero + .page-topic-media figcaption{opacity:1!important;color:#536c7d!important}
.academy-photo-hero + .page-topic-media figure{opacity:1!important}
