/* 1.12.35.82 — wspólne krawędzie kafli i układ mieszczący się w oknie.
   Arkusz ładowany po pełnej kolorystyce/typografii .81. */
body.as-design-v81{--layout-gutter:max(7vw,28px);--layout-gap:24px;--layout-card-padding:clamp(24px,3vw,40px)}

/* Wszystkie szerokości liczone względem rodzica, bez wymuszania 100vw. */
body.as-design-v81 :is(main,.listing,.listing-hero,.listing-grid,.listing-card,.filter-row,.content-search,.content-search-box,.contact-grid,.site-footer){min-width:0!important;box-sizing:border-box!important}
body.as-design-v81 main:not(.article):not(.case):not(.article-shell):not(.case-shell):not(.book-detail){width:100%;max-width:100%}
body.as-design-v81 :is(.listing,.listing-hero){width:100%!important;max-width:100%!important;padding-left:var(--layout-gutter)!important;padding-right:var(--layout-gutter)!important}
body.as-design-v81 .listing-grid{width:100%!important;max-width:100%!important;min-width:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}
body.as-design-v81 .listing-card{width:100%!important;max-width:100%!important;min-width:0!important}
body.as-design-v81 .listing-card>*,
body.as-design-v81 .listing-hero>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.as-design-v81 .listing-card :is(h2,p,span,.area-label),
body.as-design-v81 .listing-hero :is(h1,p,a){white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
body.as-design-v81 .filter-row{flex-wrap:wrap!important;max-width:100%!important}
body.as-design-v81 .filter-row .filter{max-width:100%!important;white-space:normal!important}
body.as-design-v81 .content-search-box{max-width:100%!important}
body.as-design-v81 .content-search-input{width:100%!important;min-width:0!important;max-width:100%!important}
body.as-design-v81 .title-last-word{white-space:normal!important}

/* Książka, perspektywa i współpraca: białe panele o krawędziach listy nowości. */
body.as-design-v81.home main > .home-areas-section,
body.as-design-v81.home main > .home-latest-section{padding-left:var(--layout-gutter)!important;padding-right:var(--layout-gutter)!important}
body.as-design-v81.home main > .book-section,
body.as-design-v81.home main > .workshop-perspective-section,
body.as-design-v81.home main > .home-contact-section{
 width:auto!important;max-width:none!important;min-width:0!important;
 margin:0 var(--layout-gutter) var(--layout-gap)!important;
 padding:var(--layout-card-padding)!important;box-sizing:border-box!important;
 background:#fff!important;background-image:none!important;
 border:1px solid #d9d9d9!important;border-radius:12px!important;
 box-shadow:0 4px 14px rgba(16,41,54,.05)!important;
}
body.as-design-v81.home main > :is(.book-section,.workshop-perspective-section,.home-contact-section)::before,
body.as-design-v81.home main > .book-section::after{display:none!important;content:none!important}
body.as-design-v81.home :is(.book-wrap,.book-copy,.book-cover,.workshop-perspective-copy,.home-contact-inner){min-width:0!important;max-width:100%!important}

/* Krótszy rytm podstron; każda pozostała sekcja na osobnym białym panelu. */
body.as-design-v81 main.work-page,
body.as-design-v81 main.about-page{padding:24px 0 16px!important;background:#f3f2ef!important}
body.as-design-v81 main.work-page > section,
body.as-design-v81 main.about-page > section{
 width:auto!important;max-width:none!important;min-width:0!important;
 margin:0 var(--layout-gutter) var(--layout-gap)!important;
 padding:var(--layout-card-padding)!important;
 background:#fff!important;background-image:none!important;
 border:1px solid #d9d9d9!important;border-radius:12px!important;
 box-shadow:0 4px 14px rgba(16,41,54,.05)!important;
}
body.as-design-v81 main.work-page > section > *,
body.as-design-v81 main.about-page > section > *{min-width:0!important;max-width:100%!important}
body.as-design-v81 :is(.work-section-heading,.about-roles-inner>h2){margin-bottom:24px!important}
body.as-design-v81 :is(.work-steps,.about-role-grid){gap:18px!important}
body.as-design-v81 .about-role-grid{margin-top:24px!important;grid-template-columns:repeat(3,minmax(0,1fr))}
body.as-design-v81 :is(.work-step,.about-role-card){min-width:0!important;padding:24px!important}

/* Dane kontaktowe zachowują działające odnośniki. */
body.as-design-v81 .contact-grid .contact-card h2,
body.as-design-v81 .contact-grid .contact-card h2 a,
body.as-design-v81 .contact-grid .contact-card h2 a:visited,
body.as-design-v81 .contact-grid .contact-card h2 a:hover{color:#000!important}
body.as-design-v81 .contact-grid .contact-card h2 a:hover{text-decoration:underline}
body.as-design-v81 .contact-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.as-design-v81 .contact-card{min-width:0!important}
body.as-design-v81 .contact-card h2 a{overflow-wrap:anywhere!important;white-space:normal!important}

/* Menu i stopka również nie wymuszają szerszego dokumentu. */
body.as-design-v81 .brand{min-width:0!important}
body.as-design-v81 .brand span{white-space:normal!important;overflow-wrap:anywhere}
body.as-design-v81 .site-footer :is(a,p,span){overflow-wrap:anywhere!important}
@media(max-width:1100px){
 body.as-design-v81 .listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.as-design-v81 .desktop-nav{display:none!important}
 body.as-design-v81 .menu-btn{display:block!important;flex-shrink:0}
 body.as-design-v81 .nav{height:68px!important}
 body.as-design-v81 .mobile-nav{top:68px!important;max-width:100%!important}
 body.as-design-v81 .brand{max-width:calc(100% - 50px)!important}
}
@media(max-width:850px){
 body.as-design-v81 .about-role-grid{grid-template-columns:minmax(0,1fr)!important}
 body.as-design-v81 .contact-grid{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:759px){
 body.as-design-v81{--layout-gutter:20px;--layout-gap:18px;--layout-card-padding:24px}
 body.as-design-v81 .listing-grid{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
 body.as-design-v81 :is(.work-step,.about-role-card){padding:20px!important}
 body.as-design-v81 main.work-page,body.as-design-v81 main.about-page{padding-top:18px!important}
}
@media(max-width:360px){body.as-design-v81{--layout-gutter:16px;--layout-card-padding:20px}}
