/* MD2: MYDWOJE_003 F6 public presentation bundle - assembled by tests/panel20/f6-current/public/assemble-public.py (2026-09-17T19:01:56.999829+00:00) from the D8 design package and MAINTAINED BY HAND since then: the F6 review deltas and the F7 corrections (a11y, CLS, R3 K2/K3/K7) exist only in this file, not in the assembler sources - do NOT re-run the assembler over it (docs/repos/mydwoje/03d_PANEL_2_0.md, bundle build debt). Loaded only when ENV_PUBLIC=on and the page is in theme/public/scope.php. */

/* ===== D8 refresh.css (base overlay, Kontakt R1/R2 method: original HTML + CSS) ===== */
/* Kontakt / CMS 6916 \2014  presentation overlay on the original HTML.
   No new content, no DOM rewrite, no replacement of existing styles/scripts.
   This file is loaded only for this approved-for-design preview route. */

/* Existing palette, font and controls. */
body{color:#003368;font-family:Montserrat,Arial,sans-serif}
a,button,input,select,textarea{scroll-margin-top:190px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #003368!important;outline-offset:4px}
#top-bar .button,#subpage-content .button,#register .button,#contact-us .button,#faces-of .button,#step-by-step .button{border-radius:2px;box-shadow:none;font-weight:600}
#top-bar .button-green,#subpage-content .button-green,#register .button-green,#faces-of .button-green,#step-by-step .button-green{background:#7AC319;color:#003368}
#top-bar .button-blue,#contact-us .button-blue{background:#003368;color:#fff}
#top-bar .button:hover,#subpage-content .button:hover,#register .button:hover,#contact-us .button:hover,#faces-of .button:hover,#step-by-step .button:hover{box-shadow:inset 0 0 0 1px currentColor}

/* The same three header columns and all seven existing secondary links. */
#top-bar .top-nav{padding:16px 0}
#top-bar .logo-container img{width:235px;max-width:100%;height:auto}
#top-bar .top-nav .buttons-container .button{min-height:46px;padding:12px 22px;font-size:15px;line-height:22px}
#top-bar .top-nav .burger-container .menu{min-height:44px;font-size:16px}
#top-bar .middle-nav nav{gap:0;justify-content:space-between;align-items:stretch}
#top-bar .middle-nav nav a{padding:13px 8px;font-size:13px;line-height:20px;text-decoration:none}
#top-bar .middle-nav nav a:hover{text-decoration:underline;text-underline-offset:4px}
#top-bar #mainNav{padding:28px 0}
#top-bar #mainNav ul{margin:0;column-gap:28px}
#top-bar #mainNav ul li{padding:0;break-inside:avoid}
#top-bar #mainNav ul li a{display:block;padding:12px 0;font-size:15px;line-height:1.6}
#breadcrumbs .breadcrumb{margin-bottom:0;padding:20px 0}

/* Original content blocks: reduce empty space, retain the exact copy. */
#subpage-content.office-contact{padding-top:28px;padding-bottom:0}
#subpage-content.office-contact .title-box{padding-bottom:40px}
#subpage-content.office-contact .title-box > .container > .row{align-items:flex-start}
#subpage-content.office-contact .title-box > .container > .row > .pb-5{padding-bottom:28px!important}
#subpage-content.office-contact .page_title{padding:0 0 25px}
#subpage-content.office-contact .page_title h1{font-size:36px;font-weight:600;line-height:1.25;letter-spacing:-.7px}
#subpage-content.office-contact .order-lg-0{font-size:17px;line-height:1.85;padding-right:48px;overflow-wrap:anywhere}
#subpage-content.office-contact .order-lg-0 > p{font-size:17px;line-height:1.85;margin-bottom:22px;max-width:730px}
#subpage-content.office-contact .order-lg-0 > p:has(>br:only-child){font-size:0;line-height:0;margin:0}
#subpage-content.office-contact .order-lg-0 > br{display:none}
#subpage-content.office-contact .order-lg-0 > div:not(.page_title){font-size:17px;line-height:1.85}
#subpage-content.office-contact .order-lg-0 a{color:#003368;font-weight:600;text-decoration:underline;text-underline-offset:4px}

/* Same search form and radio/select controls, visually aligned. */
#subpage-content.office-contact #search-box{padding:24px!important;background:#EDF3F7;border-radius:2px}
#subpage-content.office-contact #search-box .search-form{font-size:23px;line-height:1.4;font-weight:600}
#subpage-content.office-contact #search-box .check-container{flex-direction:row;gap:10px;margin-top:8px;margin-bottom:10px}
#subpage-content.office-contact #search-box .form-check{margin-right:0;min-width:0}
#subpage-content.office-contact #search-box .form-check label{margin-bottom:8px}
#subpage-content.office-contact #search-box .form-check span{font-size:14px;line-height:24px;padding:13px 8px 13px 43px;background-position:13px center;background-size:22px auto;box-shadow:none}
#subpage-content.office-contact #search-box .form-check input:checked+span{border-color:#7AC319;background-color:#fff}
#subpage-content.office-contact #search-box select{height:48px;font-size:14px;line-height:1.5;font-weight:500;background-color:white;color:#003368;border:1px solid #bfceda;border-radius:2px;box-shadow:none;padding:10px 32px 10px 14px}
#subpage-content.office-contact #search-box .form-group{margin-bottom:14px}
#subpage-content.office-contact #search-box .button{min-height:48px;margin-top:2px;padding:12px 16px;font-size:16px;line-height:24px}

/* Preserve all related items and their original three-column order. */
#subpage-content.office-contact .div_pages_similar{padding-top:8px}
#subpage-content.office-contact .div_pages_similar_header{font-size:18px;font-weight:600;line-height:1.5;padding:0 0 18px;margin:0}
#subpage-content.office-contact .div_pages_similar > .row{row-gap:0}
#subpage-content.office-contact .div_pages_similar > .row > [class*="col-"]{display:flex;align-items:center;gap:14px;padding:18px 15px;border-top:1px solid #E9EEF2;min-width:0}
#subpage-content.office-contact .div_pages_similar_img{flex:0 0 auto;margin:0}
#subpage-content.office-contact .div_pages_similar_img:empty{display:none}
#subpage-content.office-contact .div_pages_similar_img img{max-width:38px;max-height:42px;width:auto;height:auto}
/* F7 R3-K7 (19.09.2026): the thumbnail column keeps its 38 px even when the image does not load - a failed image was rendered as its alt text,
   grew to 280-540 px and squeezed the link column to 0 px (captions one letter per line). Story pages use their own full-width variant. */
#subpage-content.office-contact:not(.md-story) .div_pages_similar_img{flex:0 0 38px;width:38px;max-width:38px;overflow:hidden}
#subpage-content.office-contact:not(.md-story) .div_pages_similar_img img{display:block;font-size:0;color:transparent}
#subpage-content.office-contact:not(.md-story) .div_pages_similar_link{flex:1 1 auto}
#subpage-content.office-contact .div_pages_similar_link{margin:0;padding:0;line-height:1.65;min-width:0}
#subpage-content.office-contact .div_pages_similar_link a{font-size:15px;line-height:1.65;color:#003368;font-weight:500;overflow-wrap:anywhere}
#subpage-content.office-contact .div_pages_similar_link a:hover{color:#AD0000;text-decoration:underline}

/* Preserve centered registration and its labels/fields/consents. */
#register{padding:54px 0 58px;min-height:0;background-color:#003368}
#register h2{font-size:34px;line-height:1.3;padding-bottom:25px;margin-bottom:18px}
#register-form{padding-right:0;max-width:680px;margin:0 auto}
#register .form-container{width:100%}
#register-form .form-group{margin-left:0;margin-right:0;margin-bottom:14px;align-items:flex-start}
#register-form label:not(.custom-control-label){margin-left:0;padding:4px 16px 0 0;flex:1;font-size:14px;line-height:40px}
#register-form .form-group .input-wrapper{width:480px;max-width:100%;margin:0 0 0 16px;min-width:0}
#register-form .form-group .input-wrapper.single{margin-left:auto}
#register-form .form-group .input-wrapper .input,#register-form .form-group .input-wrapper .select{height:46px;box-shadow:none;border:1px solid #bfceda;font-size:15px;padding:11px 14px;border-radius:2px;background-color:#fff;color:#003368;min-width:0}
#register-form .form-group .input-wrapper .input::placeholder{color:#5c7185}
#register-form .form-inline .select{flex:1;width:0;max-width:100%;padding-right:27px}
#register-form .form-group .input-wrapper .custom-control.custom-checkbox{margin-top:4px;font-size:12px;line-height:1.8}
#register-form .form-group .input-wrapper .custom-control.custom-checkbox label{line-height:1.8}
#register-form .form-group .button{min-height:46px;height:auto;font-size:16px;line-height:1.5;box-shadow:none}
#register-form .form-group .button.button-green{margin-top:12px;padding:12px 18px}
#register-form .form-group .button.button-fb{font-size:14px;margin-bottom:6px;text-align:center;padding:13px 18px}
#register-form .clause{font-size:12px;line-height:1.8}
#register-form .form-group .dim{font-size:12px;line-height:1.6;color:#d5e0e9}
#register .highlight{color:#a5df54}

/* Existing lower sections, same images and their proportions. */
#contact-us{padding-top:48px;padding-bottom:48px}
#contact-us .contact-card{border-radius:2px;box-shadow:none}
#contact-us .contact-card .card-body{padding:30px}
#contact-us h3{font-size:27px;line-height:1.4;margin-bottom:20px}
#faces-of{padding-top:55px}
#faces-of h2{font-size:30px;line-height:1.4;margin-bottom:30px}
#faces-of .faces-container .person .id{font-size:13px;line-height:1.7;margin:12px 0 5px}
#faces-of .faces-container .person .description{font-size:13px;line-height:1.75;overflow-wrap:anywhere}
#faces-of .faces-container .person img{max-width:100%;height:auto}
#faces-of .faces-container .register p{font-size:16px;line-height:1.8}
#faces-of .age-buttons{padding-top:28px;padding-bottom:54px}
#faces-of .age-buttons h4{font-size:17px;line-height:1.7;margin-bottom:15px}
#faces-of .age-buttons .age-button{font-size:15px;line-height:24px;min-height:46px;box-shadow:none;border-radius:2px}
#step-by-step{padding:52px 0}
#step-by-step h2{font-size:30px;line-height:1.4}
#step-by-step .steps{padding-top:35px;padding-bottom:35px}
#step-by-step .steps .wrapper .step{font-size:14px;line-height:1.75}
footer{padding:32px 0}
footer .footer-content{line-height:1.8;padding-top:22px;padding-bottom:20px}
footer .footer-content .footer-menu{gap:3px 10px}
footer .footer-content .footer-menu li{padding:0}
footer .footer-content .footer-menu a{display:inline-block;padding:7px 0;font-size:12px}

@media(min-width:1380px){#top-bar .middle-nav nav a{font-size:13px;padding-inline:9px}}
@media(min-width:992px) and (max-width:1199px){#register-form .form-group .input-wrapper{width:440px}#subpage-content.office-contact .order-lg-0{padding-right:28px}#subpage-content.office-contact #search-box{padding:20px!important}#subpage-content.office-contact #search-box .form-check span{font-size:13px;padding-left:35px;background-position:9px center;background-size:18px auto}}
@media(max-width:991px){
 #top-bar .logo-container img{width:205px}
 #top-bar .top-nav .buttons-container .button{font-size:13px;padding:10px 16px;min-height:44px}
 #top-bar .middle-nav nav{justify-content:flex-start;gap:0 10px}
 #top-bar .middle-nav nav a{padding:10px 0;font-size:12px}
 #subpage-content.office-contact .order-lg-0{order:0!important;padding-right:15px}
 #subpage-content.office-contact .order-lg-1{order:1!important}
 #subpage-content.office-contact .page_title h1{font-size:34px}
 #subpage-content.office-contact #search-box{max-width:100%;padding:24px!important}
 #subpage-content.office-contact #search-box .search-form > .row{max-width:100%}
 #subpage-content.office-contact .title-box{padding-bottom:32px}
 #register-form .form-group .input-wrapper{width:470px}
 #faces-of .age-buttons .age-button{padding:10px 28px 10px 12px;background-position:right 10px center}
}
@media(max-width:767px){
 #top-bar .top-nav{padding:13px 0}
 #top-bar .logo-container img{width:170px}
 #top-bar .top-nav .buttons-container{display:flex;gap:8px;padding-top:0}
 #top-bar .top-nav .buttons-container .button{flex:1;margin:0!important;font-size:13px;line-height:22px;min-height:44px;padding:11px 8px}
 #top-bar .top-nav .burger-container .menu{font-size:14px;margin-left:auto;padding-left:0;min-height:44px}
 #top-bar .top-nav .burger-container .menu .menu-text{display:block}
 #top-bar #mainNav{padding-top:16px;padding-bottom:24px}
 #top-bar #mainNav ul{columns:1}
 #top-bar #mainNav ul li a{padding:12px 0;font-size:15px;border-bottom:1px solid #E9EEF2}
 #breadcrumbs{display:block}
 #breadcrumbs .breadcrumb{padding:15px 0;margin:0}
 #breadcrumbs .breadcrumb .breadcrumb-item{font-size:11px;line-height:1.7}
 #subpage-content.office-contact{padding-top:20px}
 #subpage-content.office-contact .page_title{padding-bottom:22px}
 #subpage-content.office-contact .page_title h1{font-size:32px;line-height:1.25}
 #subpage-content.office-contact .order-lg-0,#subpage-content.office-contact .order-lg-0 > p,#subpage-content.office-contact .order-lg-0 > div:not(.page_title){font-size:15px;line-height:1.85}
 #subpage-content.office-contact .order-lg-0 > p{margin-bottom:20px}
 #subpage-content.office-contact .order-lg-0 > p:has(>br:only-child){font-size:0;line-height:0;margin:0}
 #subpage-content.office-contact .title-box > .container > .row > .pb-5{padding-bottom:28px!important}
 #subpage-content.office-contact #search-box{padding:22px!important;margin-top:0}
 #subpage-content.office-contact #search-box .search-form{font-size:22px}
 #subpage-content.office-contact #search-box .search-form > .row{max-width:none}
 #subpage-content.office-contact #search-box select{font-size:16px}
 #subpage-content.office-contact #search-box .form-check span{font-size:14px;padding:13px 8px 13px 44px}
 #subpage-content.office-contact .div_pages_similar_header{font-size:17px;padding-bottom:16px}
 #subpage-content.office-contact .div_pages_similar > .row > [class*="col-"]{padding-top:15px;padding-bottom:15px}
 #subpage-content.office-contact .div_pages_similar_link a{font-size:14px}
 #register{padding:36px 0 40px}
 #register h2{font-size:29px;padding-bottom:10px;margin-bottom:18px}
 #register-form{max-width:530px;margin:0 auto}
 #register-form .form-group{margin-bottom:17px}
 #register-form label:not(.custom-control-label){display:block!important;width:100%;flex:auto;text-align:left;padding:0;margin:0 0 7px;font-size:13px;line-height:1.7}
 #register-form .form-group .input-wrapper,#register-form .form-group .input-wrapper.single{width:100%;margin:0}
 #register-form .form-group .input-wrapper .input,#register-form .form-group .input-wrapper .select{font-size:16px;background-color:white;color:#003368;border:1px solid #bfceda;height:48px}
 #register-form .form-group .input-wrapper .select{background-image:url('/theme/images/form-arrow-down.png');background-position:right 10px center}
 #register-form .form-group .input-wrapper .custom-control .custom-control-label{font-size:13px;line-height:1.6}
 #register-form .form-group .input-wrapper .custom-control.custom-checkbox label{font-size:12px;line-height:1.85}
 #register-form .form-group .input-wrapper .custom-radio{margin-bottom:4px}
 #register-form .form-group .dim{line-height:1.7}
 #register-form .form-group .button.button-fb{font-size:13px}
 #register-form .form-group .highlight.d-none{display:block!important}
 #register-form .form-group .input-wrapper .form-control.select{flex:1;width:0;padding-left:10px;padding-right:22px;font-size:14px}
 #register-form .clause{font-size:12px;line-height:1.8}
 #contact-us{padding:32px 0}
 #contact-us .contact-card .card-body{padding:25px}
 #contact-us h3{font-size:25px}
 #faces-of{padding-top:38px}
 #faces-of h2{font-size:25px;margin-bottom:25px}
 #faces-of .age-buttons{padding-top:18px;padding-bottom:38px}
 #faces-of .age-buttons h4{font-size:15px}
 #faces-of .age-buttons .age-button{font-size:15px;padding:10px 35px 10px 16px;background-position:right 14px center}
 #faces-of .faces-container .register p{font-size:15px}
 #faces-of .faces-container .register .button{font-size:14px}
 #step-by-step{padding:35px 0}
 #step-by-step h2{font-size:26px}
 #step-by-step .steps{padding-top:24px;padding-bottom:20px}
 #step-by-step .steps .wrapper .step{font-size:13px;line-height:1.8;min-height:44px}
 footer{padding:28px 0}
 footer .footer-content .footer-menu{gap:2px 16px}
 footer .footer-content .footer-menu li a{font-size:12px;padding-block:8px}
}
@media(max-width:575px){
 #top-bar .logo-container img{width:160px}
 #subpage-content.office-contact #search-box .form-check span{padding-left:37px;background-position:10px center;background-size:20px auto;font-size:13px}
 #register-form .form-group .input-wrapper .form-control.select{font-size:13px;padding-left:8px;padding-right:22px}
 #register-form .form-group .input-wrapper .select:nth-child(2){margin-left:6px;margin-right:6px}
}
@media(prefers-reduced-motion:reduce){#top-bar *,#subpage-content *,#register *{transition:none!important;scroll-behavior:auto}}

/* Keep the mobile header in flow; retain every original break in contact copy. */
@media(max-width:991px){#top-bar{position:sticky;top:0}#top-bar.fixed{position:sticky}}
@media(max-width:767px){
 .container{width:100%;max-width:none;padding-left:20px;padding-right:20px}
 #top-bar .top-nav .row>.col-5{flex:0 0 55%;max-width:55%}
 #top-bar .top-nav .row>.col-7{flex:0 0 45%;max-width:45%}
 #top-bar .logo-container img{width:160px}
}
/* Uncontained legacy row and cookie close control: fit their existing wrappers. */
#subpage-content.office-contact .title-box>.row{margin-left:0;margin-right:0}
#div_accept_cookies .accept_cookies_info{width:calc(100% - 32px);max-width:1100px;table-layout:fixed;margin-left:auto;margin-right:auto}
#div_accept_cookies .accept_cookies_info td[width]{width:32px}
#div_accept_cookies .accept_cookies_close{display:inline-flex;width:28px;min-height:32px;align-items:center;justify-content:center}
#div_accept_cookies .accept_cookies_close img{max-width:20px;height:auto}


/* ===== D8 pages.css (page families: wydarzenia, opinie, historie, privacy, kontakt-serwisu ...) ===== */
/* Five isolated public-page overlays. Existing source nodes remain the basis. */
#subpage-content.office-contact .page_title h1{font-size:40px;line-height:1.23;letter-spacing:-.8px;font-weight:600;max-width:860px}
#subpage-content.office-contact .order-lg-0{font-size:17px;line-height:1.85}
#subpage-content.office-contact .order-lg-0 [style*="text-align"],#subpage-content.office-contact .sz_content [style*="text-align"]{text-align:left!important}
#subpage-content.office-contact .order-lg-0>div:not(.page_title){font-size:17px;line-height:1.85}
#subpage-content.office-contact h2{font-size:26px;line-height:1.45;font-weight:600;letter-spacing:-.3px}
#subpage-content.office-contact h3{font-size:23px;line-height:1.45;font-weight:600;letter-spacing:-.2px}
#subpage-content.office-contact h4{font-size:20px;line-height:1.5;font-weight:600}
#subpage-content.office-contact .order-lg-0>h2{margin:5px 0 22px}
#subpage-content.office-contact .order-lg-0>h3{margin:38px 0 18px}
#subpage-content.office-contact .order-lg-0>p{font-size:16px;line-height:1.85;margin-bottom:22px}
#subpage-content.office-contact .order-lg-0>p:not(:has(img)):not(:has(a)):not(:has(b)):not(:has(strong)):not(:has(span)):not(:has(em)){min-height:0}
#subpage-content.office-contact .order-lg-0>p:empty,#subpage-content.office-contact .order-lg-0>p:has(>br:only-child){display:none}
#subpage-content.office-contact .order-lg-0>ul{padding-left:24px;font-size:16px;line-height:1.85;margin-bottom:28px}
#subpage-content.office-contact .order-lg-0>ul>li{padding-left:5px;margin:0 0 12px}
#subpage-content.office-contact .md-content-jump{display:inline-block;background:#7AC319;color:#003368;text-decoration:none;font-size:15px;line-height:24px;font-weight:600;padding:13px 21px;margin-top:26px;border-radius:2px}
#subpage-content.office-contact .md-content-jump:hover{background:#69b00e}
.md-section-nav{background:#EDF3F7;padding:25px;margin-bottom:24px;border-radius:2px}
#subpage-content .md-section-nav h2{font-size:18px;margin:0 0 16px}
.md-section-nav ul{list-style:none;padding:0;margin:0}
.md-section-nav li{border-top:1px solid #d6e2ec;margin:0;padding:0}
.md-section-nav a{display:block;color:#003368;font-size:14px;line-height:1.65;padding:12px 0;text-decoration:underline;text-underline-offset:3px}
#subpage-content.md-article .order-lg-0 img{max-width:100%!important;height:auto!important;display:block;margin:26px auto}
#subpage-content.md-article .order-lg-0 [style*="width"]{max-width:100%!important}
#subpage-content.md-article .order-lg-0 h3{scroll-margin-top:210px}
#subpage-content.md-article .order-lg-0>h2{color:#42637f;font-size:24px;font-weight:500}
#subpage-content.md-article .page_title h1{font-size:42px}

/* Existing category wall: keep every title, description, image and link. */
#subpage-content #div_page_list{background:#f5f8fa;padding:36px 0 44px}
#subpage-content .page_wall{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;position:static!important;height:auto!important;width:100%!important;padding:0;margin:0}
#subpage-content .page_wall_box{position:static!important;inset:auto!important;transform:none!important;float:none!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;min-width:0;display:flex;background:#fff;border:1px solid #dbe5ed;border-radius:2px}
#subpage-content .page_wall_box .frame6_box_top,#subpage-content .page_wall_box .frame6_box_bottom{display:none}
#subpage-content .page_wall_box .frame6{width:100%!important;height:auto!important;padding:24px!important;margin:0!important;background:none!important;display:flex;flex-direction:column;box-shadow:none}
#subpage-content .frame6_img{width:100%!important;height:96px!important;margin:0 0 22px!important;display:flex;align-items:center;justify-content:center;float:none!important;background:#fff}
#subpage-content .frame6_img a{display:block}
#subpage-content .frame6_img img{max-width:100%;width:auto!important;height:auto!important;max-height:96px;object-fit:contain}
#subpage-content .frame6_title{padding:0!important;margin:0 0 12px!important;background:none!important;text-align:left!important;font-size:19px!important;line-height:1.5!important;height:auto!important}
#subpage-content .frame6_title a{font-size:19px!important;font-weight:600;color:#003368!important;text-decoration:none}
#subpage-content .frame6_title a:hover{text-decoration:underline;text-underline-offset:4px}
#subpage-content .frame6_text{font-size:14px!important;line-height:1.8!important;text-align:left!important;color:#42637f;padding:0!important;margin:0!important;height:auto!important;overflow:visible!important}
#subpage-content .page_wall+.clearfix{display:none}
#subpage-content.md-guide .page_wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
#subpage-content.md-guide .page_wall_box .frame6{padding:0!important}
#subpage-content.md-guide .frame6_img{height:205px!important;background:#EDF3F7;margin-bottom:0!important;overflow:hidden}
#subpage-content.md-guide .frame6_img a{width:100%;height:100%}
#subpage-content.md-guide .frame6_img img{width:100%!important;height:100%!important;max-height:none;object-fit:cover;object-position:center 35%}
#subpage-content.md-guide .frame6_title{padding:24px 24px 0!important;margin-bottom:12px!important}
#subpage-content.md-guide .frame6_text{padding:0 24px 26px!important;font-size:15px!important}

/* A real couple's story: original photograph, words and dates. */
#subpage-content.md-story .page_title{max-width:900px;margin:0 auto;padding-bottom:32px}
#subpage-content.md-story #div_page_content>.container{padding:0;max-width:100%}
#subpage-content.md-story .sz_frame{margin:0 0 42px!important;display:grid;grid-template-columns:1fr 1.15fr;gap:0;background:#EDF3F7;padding:32px;border-radius:2px}
#subpage-content.md-story .sz_frame_l,#subpage-content.md-story .sz_frame_r{width:100%;max-width:none;padding:0;min-width:0;float:none}
#subpage-content.md-story .sz_frame_r{padding:0 0 0 38px;align-self:center}
#subpage-content.md-story .sz_frame_img{position:relative;width:100%;max-width:390px;margin:0 auto;float:none;background:none}
#subpage-content.md-story .sz_frame_img>img{width:100%;height:auto;display:block;margin:0!important;border-radius:2px}
#subpage-content.md-story .sz_frame_img_d{position:absolute;bottom:12px;right:12px;top:auto;left:auto}
#subpage-content.md-story .sz_frame_hr{background:none;border:0;height:auto;margin:0;padding:0}
#subpage-content.md-story .sz_frame_quote{position:static;width:44px;margin:0 0 20px;padding:0;float:none;background:none}
#subpage-content.md-story .sz_frame_quote img{width:38px;height:auto}
#subpage-content.md-story .sz_frame_title{margin:0 0 24px;padding:0}
#subpage-content.md-story .sz_frame_title h2{font-size:30px;line-height:1.4;margin:0;color:#003368}
#subpage-content.md-story .sz_frame_person ul{display:flex;gap:25px;list-style:none;padding:0;margin:0}
#subpage-content.md-story .sz_frame_person li{width:auto;float:none;padding:0;margin:0;font-size:17px;font-weight:600;line-height:1.6;color:#003368}
#subpage-content.md-story .sz_frame_person li span{display:block;font-size:13px;font-weight:400;color:#42637f}
#subpage-content.md-story .sz_frame_person_descr{font-size:12px;color:#42637f;margin-top:12px}
#subpage-content.md-story .sz_frame>.clearfix{display:none}
#subpage-content.md-story .sz_frame_info{grid-column:1/-1;margin-top:32px;padding:28px 0 0;border-top:1px solid #cbdbe7;max-width:none}
#subpage-content.md-story .sz_frame_info ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;gap:15px;margin:0;list-style:none}
#subpage-content.md-story .sz_frame_info li{width:auto;float:none;text-align:center;margin:0;padding:0;background:none}
#subpage-content.md-story .my_date{font-size:13px;color:#42637f;margin-bottom:10px}
#subpage-content.md-story .my_ico{height:36px;margin-bottom:10px}
#subpage-content.md-story .my_ico img{max-height:34px;max-width:40px;width:auto}
#subpage-content.md-story .my_title{font-size:13px;font-weight:600}
#subpage-content.md-story .sz_content{max-width:760px;margin:0 auto 48px;font-size:17px;line-height:1.9;color:#003368}
#subpage-content.md-story .sz_content>div{margin-bottom:20px;font-size:17px;line-height:1.9}
#subpage-content.md-story .sz_content h3{margin:36px 0 18px}
#subpage-content.md-story .sz_content a{color:#003368;text-decoration:underline;text-underline-offset:4px}
#subpage-content.md-story .div_pages_similar{margin-top:40px}
#subpage-content.md-story .div_pages_similar_header{margin:26px 0 18px;font-size:21px}
#subpage-content.md-story .div_pages_similar .div_pages_similar_img{padding:0;background:#EDF3F7;min-height:100px;display:flex;align-items:center;justify-content:center;border-radius:2px}
#subpage-content.md-story .div_pages_similar_img img{width:100%!important;height:200px!important;max-width:100%;max-height:none;object-fit:cover}
#subpage-content.md-story .div_pages_similar_link{margin:13px 0 26px;font-size:15px}
#subpage-content.md-story .div_pages_similar_link a{font-size:15px;color:#003368;font-weight:600}
#subpage-content.md-story .div_pages_similar_img:has(img[src$="/."]):before{content:'Zdj\119 cie niedost\119 pne';font-size:13px;color:#42637f;padding:40px}
#subpage-content.md-story img[src$="/."]{display:none}

/* Legacy event tables retain the same content; the old frame artwork is decorative. */
#subpage-content.md-wydarzenia .nav_wydarzenia{list-style:none;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:0!important;margin:0 auto 44px!important;width:100%!important;max-width:1140px}
#subpage-content.md-wydarzenia .nav_wydarzenia>li{float:none!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;min-width:0;border:1px solid #dbe5ed;border-radius:2px;background:white;display:flex;flex-direction:column}
#subpage-content.md-wydarzenia .nav_wydarzenia>li>div{height:auto!important;width:100%!important}
#subpage-content.md-wydarzenia .nav_wydarzenia table{width:100%!important;max-width:100%;border-collapse:collapse;table-layout:fixed;border:0;background:none}
#subpage-content.md-wydarzenia .nav_wydarzenia>li>div>table>tbody>tr>td[width],#subpage-content.md-wydarzenia .nav_wydarzenia td[height]{display:none}
#subpage-content.md-wydarzenia .nav_wydarzenia>li>div>table>tbody>tr>td{padding:0!important;background:none!important}
#subpage-content.md-wydarzenia td[colspan="2"]{padding:0!important}
#subpage-content.md-wydarzenia .div_frame2_wrapper{width:100%!important;height:auto!important;position:static;overflow:visible}
#subpage-content.md-wydarzenia .div_frame2_wrapper>img{display:block!important;width:100%;height:185px;object-fit:cover;border-radius:2px 2px 0 0}
#subpage-content.md-wydarzenia .div_frame2_container_all{position:static!important;height:auto!important;width:100%!important;min-height:0!important;background:none!important;color:#003368;padding:20px;box-sizing:border-box;opacity:1!important}
#subpage-content.md-wydarzenia .div_frame2_wrapper>.div_frame2_container_all{display:block!important}
#subpage-content.md-wydarzenia [class*="div_frame2_container_top"],#subpage-content.md-wydarzenia [class*="div_frame2_container_bottom"]{position:static!important;height:auto!important;width:auto!important;background:none!important;padding:0!important}
#subpage-content.md-wydarzenia .div_frame2_container_topic{position:static;margin:10px 0 14px;padding:0;background:none;height:auto;line-height:1.5}
#subpage-content.md-wydarzenia .div_frame2_container_topic a{font-size:18px!important;font-weight:600;color:#003368;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
#subpage-content.md-wydarzenia .div_frame2_container_text{padding:0;margin:0 0 12px;position:static;height:auto;font-size:13px;line-height:1.65}
#subpage-content.md-wydarzenia .div_frame2_container_text td{width:auto!important;padding:4px 0;vertical-align:top;font-size:13px;overflow-wrap:anywhere;background:none!important}
#subpage-content.md-wydarzenia .div_frame2_container_text td:first-child{width:88px!important;color:#42637f}
#subpage-content.md-wydarzenia .div_frame2_container_text b{font-weight:500}
#subpage-content.md-wydarzenia .div_frame2_container_tags{padding:10px 0 0;background:none;position:static;font-size:12px;line-height:1.6;border-top:1px solid #E9EEF2}
#subpage-content.md-wydarzenia .div_frame2_container_tags a{color:#42637f;text-decoration:underline}
#subpage-content.md-wydarzenia .div_frame2_container_sash_category{position:static;margin:0;padding:0;float:none;height:auto;line-height:1.6}
#subpage-content.md-wydarzenia .sash_frame2a_c{position:static;background:none;font-size:12px;color:#42637f;padding:0;float:none;display:inline}
#subpage-content.md-wydarzenia .sash_frame2a_l,#subpage-content.md-wydarzenia .sash_frame2a_r,#subpage-content.md-wydarzenia .div_frame2_container_sash_details{display:none}
#subpage-content.md-wydarzenia .div_frame2_container_sash_partner{position:static;text-align:left;margin:6px 0;height:auto}
#subpage-content.md-wydarzenia .div_frame2_container_sash_partner img{max-width:95px;height:auto}
#subpage-content.md-wydarzenia .md-event-details{margin:0 20px 20px;border-top:1px solid #dbe5ed}
#subpage-content.md-wydarzenia .md-event-details>summary{cursor:pointer;padding:13px 0;font-size:14px;font-weight:600;color:#003368;line-height:1.6;min-height:44px}
#subpage-content.md-wydarzenia .md-event-details .div_frame2_container_all{display:block!important;padding:0}
#subpage-content.md-wydarzenia .md-event-details [class*="container_bottom"],#subpage-content.md-wydarzenia .md-event-details .div_frame2_container_sash_category,#subpage-content.md-wydarzenia .md-event-details .div_frame2_container_sash_partner{display:none}
#subpage-content.md-wydarzenia .div_frame2_container_details{position:static;font-size:14px;line-height:1.8;padding:0;height:auto!important;width:auto!important;max-height:none;overflow:visible!important;color:#42637f;background:none}
#subpage-content.md-wydarzenia .div_frame2_container_link{position:static;padding:15px 0 0}
#subpage-content.md-wydarzenia .div_frame2_container_link a{font-size:14px;color:#003368;text-decoration:underline}
#subpage-content.md-wydarzenia .title-box>.row{margin:0;padding:0 24px}
#subpage-content.md-wydarzenia .title-box>.row>.col-12{padding:0}
#subpage-content.md-wydarzenia .title-box>.row .container{padding-top:22px;max-width:100%;width:100%;font-size:16px;line-height:1.85}
/* F7 R3-K2 (19.09.2026): max-width:100% above let the events module run from 24 to 1416 px at 1440 while the intro sits in the page container
   (120-1320). From 768 px up the module follows the container widths of the page (theme/css/main.css); mobile stays as designed.
   :has(.nav_wydarzenia) keeps the narrower 800 px rule below for the text-only variant. */
@media(min-width:768px){#subpage-content.md-wydarzenia .title-box>.row .container:has(.nav_wydarzenia){max-width:720px;margin-left:auto;margin-right:auto}}
@media(min-width:1024px){#subpage-content.md-wydarzenia .title-box>.row .container:has(.nav_wydarzenia){max-width:894px}}
@media(min-width:1380px){#subpage-content.md-wydarzenia .title-box>.row .container:has(.nav_wydarzenia){max-width:1200px}}
#subpage-content.md-wydarzenia .title-box>.row .container h3,#subpage-content.md-wydarzenia .title-box>.row .container h4{margin:32px 0 16px}
#subpage-content.md-wydarzenia .title-box>.row .container img{max-width:100%;height:auto}

@media(max-width:1199px){
 #subpage-content.md-wydarzenia .nav_wydarzenia{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:991px){
 #subpage-content.office-contact .page_title h1{font-size:36px}
 #subpage-content .page_wall{grid-template-columns:repeat(2,minmax(0,1fr))}
 #subpage-content.md-story .sz_frame{padding:24px;grid-template-columns:1fr 1fr}
 #subpage-content.md-story .sz_frame_r{padding-left:24px}
 #subpage-content.md-story .sz_frame_title h2{font-size:24px}
 #subpage-content.md-story .sz_frame_person ul{flex-direction:column;gap:10px}
 #subpage-content.md-article .md-section-nav{margin-top:12px}
}
@media(max-width:767px){
 #subpage-content.office-contact .page_title h1,#subpage-content.md-article .page_title h1{font-size:30px;letter-spacing:-.5px;line-height:1.3}
 #subpage-content.office-contact .order-lg-0,#subpage-content.office-contact .order-lg-0>div:not(.page_title){font-size:15px;line-height:1.85}
 #subpage-content.office-contact h2{font-size:23px}
 #subpage-content.office-contact h3{font-size:21px}
 #subpage-content.office-contact .order-lg-0>p,#subpage-content.office-contact .order-lg-0>ul{font-size:15px;line-height:1.85}
 #subpage-content.office-contact .md-content-jump{font-size:14px;margin-top:20px}
 #subpage-content .page_wall,#subpage-content.md-guide .page_wall{grid-template-columns:1fr;gap:18px}
 #subpage-content #div_page_list{padding:24px 0 30px}
 #subpage-content .page_wall_box .frame6{padding:22px!important}
 #subpage-content .frame6_img{height:80px!important;justify-content:flex-start}
 #subpage-content .frame6_img img{max-height:80px}
 #subpage-content .frame6_title a{font-size:18px!important}
 #subpage-content.md-guide .frame6_img{height:185px!important}
 #subpage-content.md-story .page_title{padding-bottom:24px}
 #subpage-content.md-story .sz_frame{grid-template-columns:1fr;padding:20px;margin-bottom:28px!important}
 #subpage-content.md-story .sz_frame_r{padding:24px 0 0}
 #subpage-content.md-story .sz_frame_title h2{font-size:26px}
 #subpage-content.md-story .sz_frame_person ul{flex-direction:row;gap:20px}
 #subpage-content.md-story .sz_frame_person li{font-size:15px}
 #subpage-content.md-story .sz_frame_info ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 10px}
 #subpage-content.md-story .sz_frame_info{margin-top:24px;padding-top:24px}
 #subpage-content.md-story .sz_content,#subpage-content.md-story .sz_content>div{font-size:15px;line-height:1.9}
 #subpage-content.md-story .div_pages_similar_img img{height:220px!important}
 #subpage-content.md-wydarzenia .nav_wydarzenia{grid-template-columns:1fr;gap:20px;margin-bottom:32px!important}
 #subpage-content.md-wydarzenia .title-box>.row{padding:0 20px}
 #subpage-content.md-wydarzenia .div_frame2_wrapper>img{height:195px}
 #subpage-content.md-wydarzenia .title-box>.row .container{padding-left:0;padding-right:0;font-size:15px;line-height:1.85}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
#subpage-content.office-contact .order-lg-0 a.md-content-jump{text-decoration:none}
.md-mobile-toc{display:none}
@media(max-width:991px){
 #subpage-content:is(.md-article,.md-landing,.md-privacy) .order-lg-1>.md-section-nav{display:none}
 #subpage-content:is(.md-article,.md-landing,.md-privacy) .md-mobile-toc{display:block;margin:0 0 26px;background:#EDF3F7;border:1px solid #dbe5ed;border-radius:2px}
 .md-mobile-toc>summary{padding:14px 17px;min-height:48px;font-size:14px;font-weight:600;cursor:pointer}
 #subpage-content:is(.md-article,.md-landing,.md-privacy) .md-mobile-toc .md-section-nav{padding:0 17px 4px;margin:0}
 #subpage-content:is(.md-article,.md-landing,.md-privacy) .md-mobile-toc .md-section-nav h2{display:none}
}
/* Align original prose without dropping paragraphs that contain a line break. */
#subpage-content.office-contact .order-lg-0 p{text-align:left!important}
#subpage-content.office-contact .order-lg-0>p:has(>br:only-child){display:block;font-size:16px;line-height:1.85;margin:0 0 22px}
#subpage-content.office-contact .order-lg-0>p[data-empty-spacing]{display:none}
#subpage-content.office-contact .order-lg-0 a.md-content-jump{display:table;margin-top:26px}
#subpage-content.md-wydarzenia .order-lg-0>p{font-size:15px;line-height:1.85}
#subpage-content.md-wydarzenia .order-lg-0>h2{font-size:23px}
#subpage-content.md-story .sz_frame_person_descr{text-align:left}
@media(max-width:767px){#subpage-content.office-contact .order-lg-0>p:has(>br:only-child){font-size:15px}}
/* Keep source thumbnails at a modest size, including logos with embedded text. */
#subpage-content.md-wydarzenia .nav_wydarzenia .div_frame2_wrapper>img{height:180px!important;max-height:180px!important;width:100%!important;object-fit:contain;background:#f7fafc}
#subpage-content.md-wydarzenia .nav_wydarzenia,#subpage-content.md-wydarzenia .nav_wydarzenia *{font-family:Montserrat,Arial,sans-serif}
#subpage-content.md-wydarzenia .nav_wydarzenia .div_frame2_container_topic a{font-size:17px!important}
#subpage-content.md-guide .frame6_img img{object-fit:contain!important;object-position:center;max-width:320px;margin:auto}
#subpage-content.md-story .div_pages_similar>.row>[class*="col-"]{display:block;border:0;padding:0 15px}
#subpage-content.md-story .div_pages_similar>.row>.div_pages_similar_header{padding-top:20px;margin-bottom:18px}
#subpage-content.md-story .div_pages_similar_img{width:100%}
#subpage-content.md-story .sz_frame_info li{min-width:0!important;max-width:100%;overflow-wrap:anywhere}
#subpage-content.office-contact .order-lg-0 a.md-content-jump{display:block;width:fit-content;max-width:100%}
#subpage-content.md-wydarzenia .title-box>.row .container:not(:has(.nav_wydarzenia)){max-width:800px;margin-left:auto;margin-right:auto}
/* Batch 20: styles follow real CMS variants, never an item's position. */
#subpage-content .order-lg-0>table{max-width:100%;width:100%;margin-bottom:24px}
#subpage-content .order-lg-0>table td{vertical-align:middle;padding:0 18px 0 0}
#subpage-content .order-lg-0>table img{width:74px;max-width:100%;height:auto}
#subpage-content .order-lg-0>table h2{font-size:23px;margin:0}
#subpage-content .order-lg-0 [data-empty-spacing]{display:none!important}
#subpage-content .page_wall_box a{overflow-wrap:anywhere}
/* News archive: dense editorial rows instead of 92 tall cards. */
#subpage-content.md-news .page_wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px}
#subpage-content.md-news .page_wall_box{border:0;border-bottom:1px solid #cad9e5;background:transparent}
#subpage-content.md-news .page_wall_box .frame6{padding:22px 0!important;display:grid;grid-template-columns:86px minmax(0,1fr);gap:8px 18px;align-content:start}
#subpage-content.md-news .frame6_img{grid-column:1;grid-row:1/3;height:auto!important;margin:0!important;align-items:flex-start;background:none;justify-content:center}
#subpage-content.md-news .frame6_img img{max-width:86px!important;max-height:86px!important;object-fit:contain}
#subpage-content.md-news .frame6_title{grid-column:2;margin:0!important;font-size:17px!important;line-height:1.5!important}
#subpage-content.md-news .frame6_title a{font-size:17px!important}
#subpage-content.md-news .frame6_text{grid-column:2;font-size:13px!important;line-height:1.75!important}
/* Photographs of couples remain at modest source size. */
#subpage-content.md-stories .frame6_img{height:195px!important;background:#EDF3F7;margin-bottom:18px!important}
#subpage-content.md-stories .frame6_img img{max-height:195px!important;max-width:100%;width:auto!important;object-fit:contain}
#subpage-content.md-stories .frame6_img a{height:100%;display:flex;align-items:center;justify-content:center}
#subpage-content .md-story-categories{margin-top:30px;padding:22px;background:#EDF3F7}
#subpage-content .md-story-categories h2{font-size:18px;margin:0 0 12px}
#subpage-content .md-story-categories ul{list-style:none;display:flex;gap:8px;flex-wrap:wrap;margin:0;padding:0}
#subpage-content .md-story-categories a{display:block;background:white;padding:10px 14px;min-height:44px;font-size:14px;text-decoration:none;border:1px solid #bfceda}
/* Letters/opinions keep the actual table, complete text, date and attribution. */
#subpage-content .md-letters{width:100%;max-width:800px;margin:0 auto;table-layout:fixed;border-collapse:collapse;font-size:16px;line-height:1.9}
#subpage-content .md-letters tr[data-decorative-row]{display:none}
#subpage-content .md-letters td{vertical-align:top;padding:26px 0;border-bottom:1px solid #cbdbe6;text-align:left;overflow-wrap:anywhere}
#subpage-content .md-letters td:empty{display:none}
#subpage-content .md-letters td:first-child{width:100%}
#subpage-content .md-letters td>b:first-child,#subpage-content .md-letters td>i:first-child{font-size:12px;line-height:1.5;color:#42637f;font-weight:500;font-style:normal}
#subpage-content .md-letters td>b{font-size:13px;font-weight:600}
#subpage-content .md-letters td>span{font-size:13px;color:#42637f}
#subpage-content :is(.md-letters)+br+br+font{display:block;max-width:800px;margin:0 auto;font-size:12px;line-height:1.75}
/* Public help uses the existing index and answers; no answer is removed. */
#subpage-content.md-help .nav_pomoc{list-style:none;background:#EDF3F7;padding:22px!important;margin:18px 0 34px!important;font-size:15px;line-height:1.6}
#subpage-content.md-help .nav_pomoc ul{list-style:none;padding:0!important;margin:10px 0 0!important;columns:1}
#subpage-content.md-help .nav_pomoc li{list-style:none;padding:0!important;margin:0!important;float:none!important;width:auto!important}
#subpage-content.md-help .nav_pomoc li>span{display:none}
#subpage-content.md-help .nav_pomoc a{display:block;padding:10px 0;border-bottom:1px solid #cfdee8;font-size:14px;line-height:1.6}
#subpage-content.md-help .nav_pomoc>li>a{font-size:16px;font-weight:600;padding-top:0}
#subpage-content.md-help .list_news{padding:26px 0!important;margin:0!important;background:none!important;border-top:1px solid #cfdee8;font-size:16px;line-height:1.9;float:none;width:auto}
#subpage-content.md-help .list_news_title{font-size:23px!important;line-height:1.45!important;font-weight:600!important;padding:0!important;margin:0 0 18px!important;background:none!important;position:relative}
#subpage-content.md-help .list_news_title a[name]{position:absolute;top:0;scroll-margin-top:200px}
#subpage-content.md-help .list_news p,#subpage-content.md-help .list_news div:not(.list_news_title),#subpage-content.md-help .list_news span{font-family:Montserrat,Arial,sans-serif!important;font-size:15px!important;line-height:1.85!important;text-align:left!important}
#subpage-content.md-help .list_news p{margin:0 0 15px}
#subpage-content.md-help .list_news_short:empty{display:none}
#subpage-content.md-help .list_news ol,#subpage-content.md-help .list_news ul{padding-left:24px;margin:16px 0}
#subpage-content.md-help .list_news li{margin:0 0 15px;padding-left:5px}
#subpage-content.md-help .order-lg-0 form{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 22px}
#subpage-content.md-help .order-lg-0 form input{max-width:100%;min-height:44px;border:1px solid #a9bfce;background:white;border-radius:2px;font:15px Montserrat,Arial,sans-serif;padding:10px 13px}
#subpage-content.md-help .order-lg-0 form input[type=submit]{background:#003368;color:white}
/* Original ratings and reader comments: readable typography and bounded widths. */
#subpage-content.md-article .page_comment_text{font-size:14px;line-height:1.85;padding:18px 0;border-bottom:1px solid #d5e1e9;margin:0;overflow-wrap:anywhere;text-align:left!important}
#subpage-content.md-article [id*=comment]{max-width:100%}
#subpage-content.md-article .nav_rate_col{font-size:13px;line-height:1.7}
#subpage-content.md-article .order-lg-0 [style*=font-size]{font-size:inherit!important}
#subpage-content.md-article .order-lg-0 h3{scroll-margin-top:200px}
#subpage-content.md-story .my_title_off{font-size:13px;color:#536f85}
@media(max-width:991px){#subpage-content.md-news .page_wall{grid-template-columns:1fr}}
@media(max-width:767px){
 #subpage-content.md-stories .page_wall{grid-template-columns:1fr}
 #subpage-content .order-lg-0>table img{width:54px}
 #subpage-content .order-lg-0>table h2{font-size:21px}
 #subpage-content .md-letters{font-size:15px;line-height:1.85}
 #subpage-content .md-letters td{padding:22px 0}
 #subpage-content.md-news .page_wall_box .frame6{grid-template-columns:64px minmax(0,1fr);gap:8px 14px;padding:20px 0!important}
 #subpage-content.md-news .frame6_img img{max-width:64px!important;max-height:72px!important}
 #subpage-content.md-news .frame6_title a{font-size:16px!important}
 #subpage-content.md-help .list_news_title{font-size:21px!important}
 #subpage-content.md-help .nav_pomoc{padding:18px!important}
 #subpage-content.md-help .list_news p,#subpage-content.md-help .list_news div:not(.list_news_title),#subpage-content.md-help .list_news span{font-size:15px!important}
}
/* Narrow viewports: old search table and embedded media keep their source nodes. */
#subpage-content.md-help .order-lg-0 form table,#subpage-content.md-help .order-lg-0 form tbody{display:block;width:100%;max-width:100%}
#subpage-content.md-help .order-lg-0 form tr{display:flex;flex-wrap:wrap;gap:10px}
#subpage-content.md-help .order-lg-0 form td{display:block;min-width:0;max-width:100%;padding:0}
#subpage-content.md-help .order-lg-0 form .menu_user_btn2{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 15px;font-size:14px;background:#003368;color:white;text-decoration:none;border-radius:2px}
#subpage-content.md-article iframe{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;margin:26px 0;border:0}
/* Source-specific correction found in visual review: legacy align attribute. */
#subpage-content.md-historie .order-lg-0>div[align=justify]{text-align:left!important}
#subpage-content.md-historie .order-lg-0>div[align=justify]>br+br{display:none}
#subpage-content:is(.md-historie,.md-opinie) .order-lg-0>table td:first-child:has(img){width:92px}
@media(max-width:767px){#subpage-content:is(.md-historie,.md-opinie) .order-lg-0>table td:first-child:has(img){width:72px}}
/* This source story has a missing photograph: keep the state explicit. */
#subpage-content.md-story .sz_frame_img:has(img[src$="/."]){min-height:240px;display:flex;align-items:center;justify-content:center;background:white;border:1px solid #cbdbe6}
#subpage-content.md-story .sz_frame_img:has(img[src$="/."])::before{content:'Zdj\119 cie niedost\119 pne';font-size:14px;color:#42637f;padding:24px}
#subpage-content.md-story .page_col2_l,#subpage-content.md-story .sz_content{background:#fff!important}
#subpage-content.md-story .sz_content [align=justify]{text-align:left!important}
#subpage-content.md-story .sz_content>div>br:first-child,#subpage-content.md-story .sz_content>div>br+br{display:none}
#subpage-content.md-help .list_news_title>a[name]{text-decoration:none!important}
#subpage-content.md-help .order-lg-0 form .menu_user_btn2{background:#003368!important;color:#fff!important}
@media(min-width:768px){
 #subpage-content.md-help .nav_pomoc>li>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}
 #subpage-content.md-help .nav_pomoc>li>ul>li>a{height:100%;min-height:48px;padding:11px 0}
}

/* Ragged-right reading keeps legacy justified copy readable on narrow screens. */
#subpage-content.md-article .order-lg-0 :is(p,li,h2,h3,h4,div[align=justify]){text-align:left!important}

#subpage-content.md-help .list_news[id]{scroll-margin-top:200px}

/* New public variants: use their real content, illustrations and link groups. */
#subpage-content.md-service .frame6_img{height:96px!important;margin-bottom:20px!important;background:none}
#subpage-content.md-service .frame6_img img{max-height:96px!important;max-width:120px!important}
#subpage-content.md-latest .frame6_img{height:210px!important}
#subpage-content.md-latest .frame6_img img{max-height:210px!important;object-fit:contain}
#subpage-content.md-article .order-lg-0 table{max-width:100%;margin:22px 0;border-collapse:collapse}
#subpage-content.md-article .order-lg-0 table td{padding:10px;font-size:14px;line-height:1.75;vertical-align:top}
#subpage-content.md-article .order-lg-0 table img{max-width:100%;height:auto;width:auto}
#subpage-content.md-article .order-lg-0 table[align=right]{float:right;max-width:44%;margin:4px 0 22px 24px}
#subpage-content.md-article .order-lg-0 :is(pre,.Tekstwstpniesformatowany){white-space:normal;font-family:inherit;font-size:inherit;line-height:inherit}
#subpage-content.md-landing .order-lg-0 .row{row-gap:10px}
#subpage-content.md-landing .order-lg-0 .link2{display:inline-block;min-height:44px;padding:10px 0;font-size:14px;line-height:1.6}
#subpage-content.md-article .order-lg-0 :is(ol,ul){padding-left:23px}
#subpage-content.md-article .order-lg-0 li{margin-bottom:10px}
#subpage-content.md-privacy .list_news_short{font-size:15px;line-height:1.85;margin:0 0 20px;text-align:left}
@media(max-width:767px){
 #subpage-content.md-article .order-lg-0 table[align=right]{float:none;max-width:100%;margin:24px auto}
 #subpage-content.md-article .order-lg-0 table td{padding:8px;font-size:13px}
 #subpage-content.md-latest .frame6_img{height:190px!important}
}

/* Opinions R1: original table and all quotations retained; avatars are illustrations. */
#subpage-content.md-opinie .md-reviews-intro{max-width:1140px;margin:12px auto 28px;text-align:left}
#subpage-content.md-opinie .md-reviews-intro h2{font-size:26px;line-height:1.35;margin:0 0 10px;font-weight:600;letter-spacing:-.4px}
#subpage-content.md-opinie .md-reviews-intro p{font-size:13px;line-height:1.7;color:#42637f;margin:0}
#subpage-content.md-opinie .md-letters{display:block;max-width:1140px;border-collapse:separate}
#subpage-content.md-opinie .md-letters>tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
#subpage-content.md-opinie .md-review-card{display:block;border:1px solid #cbdbe6;border-radius:6px;background:#fff;overflow:hidden}
#subpage-content.md-opinie .md-review-card[data-review-length=long]{grid-column:1/-1}
#subpage-content.md-opinie .md-review-card>td:has(.md-review-quote){display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-rows:auto 1fr auto;grid-template-areas:'avatar author' 'avatar date' 'quote quote';gap:6px 18px;padding:28px;width:100%;border:0}
#subpage-content.md-opinie .md-review-card>td:not(:has(.md-review-quote)),#subpage-content.md-opinie .md-review-card>td>br{display:none}
#subpage-content.md-opinie .md-review-card .md-review-author{grid-area:author;font-size:14px;line-height:1.65;font-weight:600;align-self:end;color:#003368}
#subpage-content.md-opinie .md-review-card .md-review-date{grid-area:date;font-size:12px;line-height:1.6;font-weight:400;align-self:start;color:#42637f}
#subpage-content.md-opinie .md-review-quote{grid-area:quote;max-width:800px;font-size:16px;font-weight:400;line-height:1.85;color:#003368;margin:22px 0 0;padding:22px 0 0;border:0;border-top:1px solid #E9EEF2;text-align:left;overflow-wrap:anywhere}
#subpage-content.md-opinie .md-review-quote>br{display:none}
#subpage-content.md-opinie .md-review-avatar{grid-area:avatar;display:block;position:relative;isolation:isolate;width:72px;height:84px;border-radius:4px;background:#EDF3F7;overflow:hidden;border:3px solid white;box-shadow:0 0 0 1px #E9EEF2;align-self:start}
#subpage-content.md-opinie .md-avatar-head{position:absolute;display:block;left:23px;top:17px;width:22px;height:25px;border-radius:50%;background:#003368;opacity:.32}
#subpage-content.md-opinie .md-avatar-shoulders{position:absolute;display:block;left:6px;bottom:-10px;width:58px;height:45px;border-radius:50% 50% 0 0;background:#003368;opacity:.22;transform:rotate(-8deg)}
#subpage-content.md-opinie .md-avatar-quote{position:absolute;right:3px;top:0;font:600 30px/1.2 Georgia,serif;color:#003368}
#subpage-content.md-opinie [data-avatar-tone='1'] .md-review-avatar{background:#f1f7e9}
#subpage-content.md-opinie [data-avatar-tone='1'] .md-avatar-head{background:#4d750f;opacity:.4}
#subpage-content.md-opinie [data-avatar-tone='1'] .md-avatar-shoulders{background:#7AC319;opacity:.35;transform:rotate(8deg)}
#subpage-content.md-opinie [data-avatar-tone='2'] .md-review-avatar{background:#f8eeee}
#subpage-content.md-opinie [data-avatar-tone='2'] .md-avatar-head{background:#AD0000;opacity:.22}
#subpage-content.md-opinie [data-avatar-tone='2'] .md-avatar-shoulders{background:#AD0000;opacity:.14;transform:rotate(0)}
#subpage-content.md-opinie .md-letters+br+br+font{max-width:1140px;margin-top:28px}
@media(max-width:1023px){
 #subpage-content.md-opinie .md-letters>tbody{grid-template-columns:1fr;gap:18px}
 #subpage-content.md-opinie .md-review-card>td:has(.md-review-quote){padding:24px}
}
@media(max-width:575px){
 #subpage-content.md-opinie .md-reviews-intro{margin-top:0;margin-bottom:22px}
 #subpage-content.md-opinie .md-reviews-intro h2{font-size:23px}
 #subpage-content.md-opinie .md-review-card>td:has(.md-review-quote){padding:20px;grid-template-columns:58px minmax(0,1fr);gap:6px 14px}
 #subpage-content.md-opinie .md-review-avatar{width:58px;height:70px}
 #subpage-content.md-opinie .md-avatar-head{left:17px;top:14px;width:19px;height:22px}
 #subpage-content.md-opinie .md-avatar-shoulders{left:3px;width:48px;height:37px}
 #subpage-content.md-opinie .md-review-card .md-review-author{font-size:13px;line-height:1.65}
 #subpage-content.md-opinie .md-review-quote{font-size:15px;line-height:1.85;margin-top:16px;padding-top:18px}
}

/* Legacy inline search table: retain fields and action, fit narrow phones. */
@media(max-width:575px){
 #subpage-content.md-kontakt-serwisu form[name=f_search2] table,
 #subpage-content.md-kontakt-serwisu form[name=f_search2] tbody,
 #subpage-content.md-kontakt-serwisu form[name=f_search2] tr{display:block;width:100%}
 #subpage-content.md-kontakt-serwisu form[name=f_search2] td{display:block;width:100%;padding:4px 0}
 #subpage-content.md-kontakt-serwisu form[name=f_search2] input[name=word]{width:100%!important;max-width:100%;min-height:44px}
 #subpage-content.md-kontakt-serwisu form[name=f_search2] .menu_user_btn2{display:inline-flex;align-items:center;min-height:44px;padding:8px 18px}
}

/* Compact the nested illustration table without removing either source image. */
#subpage-content.md-privacy table[align=right]{width:300px;max-width:44%}
#subpage-content.md-privacy table[align=right] td[bgcolor]{padding:16px;background:#EDF3F7}
#subpage-content.md-privacy table[align=center]{width:100%;margin:0;border:0}
#subpage-content.md-privacy table[align=center] td{display:flex;align-items:center;gap:16px;padding:0}
#subpage-content.md-privacy table[align=center] td>br,
#subpage-content.md-privacy table[align=center] td>font{display:none}
#subpage-content.md-privacy table[align=center] td>div,
#subpage-content.md-privacy table[align=center] td>p{flex:1;min-width:0;margin:0!important;text-align:center!important}
#subpage-content.md-privacy table[align=center] img{display:block;max-width:100%;max-height:180px;margin:0 auto!important}
@media(max-width:767px){#subpage-content.md-privacy table[align=right]{width:100%;max-width:100%;margin:24px 0}}

/* Distinct rows for source age/region link lists, without rewriting their labels. */
#subpage-content.md-landing .order-lg-0 a[href^="/Ogloszenia-matrymonialne-"],
#subpage-content.md-warszawa .order-lg-0>a[href^="/zdjecia-ogloszenia-matrymonialne-"]{display:block;min-height:44px;padding:10px 0;border-bottom:1px solid #d7e2eb;font-size:14px;line-height:1.65}
#subpage-content.md-landing .order-lg-0 a[href^="/Ogloszenia-matrymonialne-"]>br{display:none}
#subpage-content.md-kontakt-serwisu form[name=f_search2] input[name=word]{background:#fff;border:1px solid #adc2d4;border-radius:2px;min-height:44px;padding:8px 10px;color:#003368}

/* Remove legacy justification gaps from the initial Events template. */
#subpage-content.md-events .order-lg-0 :is(p,h2,h3,h4,div[align=justify]){text-align:left!important}


/* ===== D8 navigation.css (mobile L2 menu) ===== */
/* Mobile second-level navigation: additions to original menu links. */
#top-bar #mainNav .md-submenu-toggle,#top-bar #mainNav .md-submenu{display:none}
#top-bar #mainNav [hidden]{display:none!important}
@media(max-width:1023px){
 #top-bar #mainNav{padding:12px 0 24px;max-height:calc(100vh - var(--md-menu-top,146px));max-height:calc(100dvh - var(--md-menu-top,146px));overflow-y:auto;overscroll-behavior:contain;scroll-padding:12px}
 #top-bar #mainNav>.container>ul{columns:1;display:block}
 #top-bar #mainNav>.container>ul>li{margin:0;min-height:48px;border-bottom:1px solid #E9EEF2}
 #top-bar #mainNav>.container>ul>li>a{border:0;padding:13px 0;font-size:15px;line-height:1.5;min-height:48px}
 #top-bar #mainNav>.container>ul>.md-nav-parent{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:start}
 #top-bar #mainNav .md-submenu-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;margin:3px 0 3px 4px;padding:0;border:1px solid #c5d5e2;border-radius:4px;background:#fff;color:#003368;cursor:pointer}
 #top-bar #mainNav .md-submenu-toggle span{display:block;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translate(-2px,-2px)}
 #top-bar #mainNav .md-submenu-toggle[aria-expanded=true]{background:#EDF3F7}
 #top-bar #mainNav .md-submenu-toggle[aria-expanded=true] span{transform:rotate(225deg) translate(-1px,-1px)}
 #top-bar #mainNav .md-submenu:not([hidden]){display:block;grid-column:1/-1;columns:1;width:100%;margin:0 0 12px;padding:8px 16px;background:#EDF3F7;border-left:3px solid #7AC319}
 #top-bar #mainNav .md-submenu>li{display:block;float:none;width:100%;padding:0;margin:0}
 #top-bar #mainNav .md-submenu>li>a{display:flex;align-items:center;min-height:44px;padding:11px 0;border:0;font-size:14px;font-weight:400;line-height:1.6;overflow-wrap:anywhere}
 #top-bar #mainNav .md-submenu a[aria-current=page]{font-weight:700;text-decoration:underline;text-underline-offset:4px}
 #top-bar #mainNav a:focus-visible,#top-bar #mainNav button:focus-visible{outline:3px solid #003368;outline-offset:2px}
}

/* F6 server-rendered navigation stays reachable when scripting is disabled.
   F7 00364 (19.09.2026): scoped to html:not(.md-js). The inline head marker (md2_public_head) sets md-js before first paint, so a
   browser WITH JavaScript never paints the expanded list and collapses it ~100 ms later (measured CLS 0.30-0.45 on every page).
   The shared JS still adds md-nav-ready after binding. */
/* F7 00364 PERF-CLS-03 (19.09.2026): WITH scripting the list starts collapsed in CSS until public.js has bound it (md-nav-ready).
   The legacy-shell documents of the F6 chrome (_inc/top_res*.php, contact) do not load theme/css/main.css (where #mainNav is
   display:none; the modern shells do, and this rule changes nothing there), so a first paint that beats public.js showed the
   whole list (248 px desktop / 750 px mobile) and then dropped it: CLS 0.15-0.68 on the heavy list pages (race, measured with
   layout-shift sources). public.js opens the menu with an inline display:block, which wins over this rule. */
html.md-js body[data-md-public="on"]:not(.md-nav-ready) #top-bar #mainNav{display:none}
html:not(.md-js) body[data-md-public="on"]:not(.md-nav-ready) #top-bar{position:static}
html:not(.md-js) body[data-md-public="on"]:not(.md-nav-ready) #top-bar .menu,
html:not(.md-js) body[data-md-public="on"]:not(.md-nav-ready) #mobileMenuNavigation{display:none!important}
html:not(.md-js) body[data-md-public="on"]:not(.md-nav-ready) #top-bar #mainNav{display:block!important;position:static;height:auto;max-height:none;overflow:visible}
html:not(.md-js) body[data-md-public="on"]:not(.md-nav-ready) #top-bar #mainNav .md-submenu:not([hidden]){display:block;columns:1;width:auto;margin:0 0 12px;padding:8px 16px;background:#EDF3F7;border-left:3px solid #7AC319}
html:not(.md-js) body[data-md-public="on"]:not(.md-nav-ready) #top-bar #mainNav .md-submenu>li{display:block;float:none;width:100%;padding:0;margin:0}
html:not(.md-js) body[data-md-public="on"]:not(.md-nav-ready) #top-bar #mainNav .md-submenu>li>a{display:block;min-height:44px;padding:11px 0;overflow-wrap:anywhere}


/* ===== D8 contact.css (Kontakt R2/R3: footer navigation, cookie bar, support blocks) ===== */
/* R2: owner-requested refinements on three bounded legacy HTML fragments. */

/* Keep related links compact while retaining touch targets and the old order. */
#subpage-content.office-contact .div_pages_similar{padding-top:0;padding-bottom:20px}
#subpage-content.office-contact .div_pages_similar_header{padding-bottom:10px}
#subpage-content.office-contact .div_pages_similar>.row>[class*="col-"]{padding-top:8px;padding-bottom:8px;min-height:44px}
#subpage-content.office-contact .div_pages_similar_link a{font-size:14px;line-height:1.5;display:block;padding:3px 0}
#subpage-content.office-contact .div_pages_similar+.row{margin-top:0}

/* One concise consent line, exact original three controls inside disclosure. */
#register-form .consent-section{margin-top:20px;margin-bottom:10px}
#register-form .consent-section>.input-wrapper{display:block}
#register-form .consent-overview[hidden]{display:none!important}
#register-form .consent-overview .custom-control{min-height:25px;padding-left:28px}
#register-form .consent-overview .custom-control-label{font-size:13px!important;line-height:1.7!important;font-weight:500;cursor:pointer}
#register-form .consent-overview a{color:white;text-decoration:underline;text-underline-offset:3px}
#register-form #consent-note{font-size:11px;line-height:1.6;color:#d9e6f0;padding:5px 0 0 28px;margin:0}
#register-form #consent-details{width:100%;font-size:12px;margin-top:2px}
#register-form #consent-details summary{display:list-item;cursor:pointer;padding:10px 0 10px 0;min-height:42px;color:#c4ef90;font-size:12px;line-height:22px;font-weight:600;text-align:left}
#register-form #consent-details summary:focus-visible{outline:2px solid white;outline-offset:2px}
#register-form .consent-options{padding:12px 14px 2px;background:rgba(0,20,49,.24);border:1px solid rgba(255,255,255,.2);border-radius:2px}
#register-form .consent-options .form-group{margin:0 0 15px}
#register-form .consent-options .input-wrapper{width:100%;margin:0!important}
#register-form .consent-options .custom-checkbox{margin-top:0!important}
#register-form .consent-options .custom-control-label{font-size:12px!important;line-height:1.7!important;cursor:pointer}
#register-form .consent-section+.form-group .button-green{margin-top:0}
#register-form .custom-control-input:focus~.custom-control-label:before{box-shadow:0 0 0 3px #95bfec}

/* Same footer container, logo, copyright and social links; a useful navigation. */
footer{padding:38px 0 25px;background:#f7fafc;border-top:1px solid #dde6ed}
footer>.container>.row:first-child img{width:155px;height:auto;max-width:100%}
footer .footer-content{padding-top:25px;padding-bottom:18px}
footer .footer-content>.row>.col-lg-8{flex:0 0 100%;max-width:100%}
footer .footer-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;align-items:start}
footer .footer-column h2{font-size:15px;line-height:1.5;font-weight:600;margin:0 0 10px;padding:0;color:#003368}
footer .footer-column ul{list-style:none;padding:0;margin:0}
footer .footer-column li{display:block;padding:0;margin:0}
footer .footer-column a,footer .footer-column button{display:inline-block;padding:8px 0;margin:0;min-height:36px;font:400 13px/1.5 Montserrat,Arial,sans-serif;text-align:left;color:#003368;background:none;border:0;border-radius:0;cursor:pointer;text-decoration:none;overflow-wrap:anywhere}
footer .footer-column a:hover,footer .footer-column button:hover{text-decoration:underline;text-underline-offset:4px;color:#AD0000}
footer .footer-content>.row>.col-lg-4{flex:0 0 100%;max-width:100%;margin-top:22px;padding-top:18px;border-top:1px solid #dfe8ee}
footer .copyright{display:block;text-align:left;font-size:11px;line-height:1.6;color:#586f83}
footer .social-media{padding-top:0}
footer .social-media a{display:inline-flex;min-width:36px;min-height:36px;align-items:center;justify-content:flex-start;margin:0}
footer .social-media img{width:20px;height:20px}

/* Discreet, readable cookie bar. No nested scrolling in the collapsed state. */
#div_accept_cookies.cookie-bar{position:fixed;z-index:10050;left:20px;right:20px;bottom:16px;top:auto;width:auto;max-width:1160px;margin:0 auto;padding:19px 22px;background:#fff;color:#003368;border:1px solid #c8d7e3;border-radius:6px;box-shadow:0 3px 24px rgba(0,30,64,.16);font:400 13px/1.6 Montserrat,Arial,sans-serif;text-align:left;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
#div_accept_cookies.cookie-bar[hidden],#div_accept_cookies #cookie-options[hidden]{display:none!important}
#div_accept_cookies .cookie-main{display:flex;align-items:center;gap:28px}
#div_accept_cookies .cookie-copy{flex:1;min-width:0}
#div_accept_cookies .cookie-heading{display:flex;gap:18px;align-items:center;justify-content:space-between;margin:0 0 4px}
#div_accept_cookies #cookie-title{font-size:16px;line-height:1.5;font-weight:600;margin:0;padding:0}
#div_accept_cookies p{font:inherit;color:#456079;margin:0;padding:0}
#div_accept_cookies p a{color:#003368;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
#div_accept_cookies button{font:600 12px/1.5 Montserrat,Arial,sans-serif;color:#003368;background:#fff;border:1px solid #7894ac;border-radius:2px;min-height:42px;padding:10px 15px;cursor:pointer;box-shadow:none}
#div_accept_cookies button:hover{background:#EDF3F7}
#div_accept_cookies button:focus-visible{outline:3px solid #003368;outline-offset:3px}
#div_accept_cookies button.cookie-settings-link{padding:5px 0;min-height:32px;flex:none;border:0;text-decoration:underline;text-underline-offset:3px;font-weight:400}
#div_accept_cookies .cookie-actions{display:flex;gap:9px;flex:none;align-items:center}
#div_accept_cookies [data-cookie-choice="all"],#div_accept_cookies [data-cookie-choice="selected"]{background:#003368;color:#fff;border-color:#003368}
#div_accept_cookies [data-cookie-choice="all"]:hover,#div_accept_cookies [data-cookie-choice="selected"]:hover{background:#16497c}
#div_accept_cookies #cookie-options{margin-top:17px;padding-top:16px;border-top:1px solid #dfe8ee}
#div_accept_cookies .cookie-options-intro{font-size:12px;margin-bottom:10px}
#div_accept_cookies .cookie-categories{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}
#div_accept_cookies .cookie-category{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0;margin:0;border-bottom:1px solid #e3ebf1;font-size:12px;cursor:pointer}
#div_accept_cookies .cookie-category strong{font-size:13px;line-height:1.5;font-weight:600;display:block}
#div_accept_cookies .cookie-category small{display:block;font-size:11px;line-height:1.5;font-weight:400;color:#526c82;margin-top:4px}
#div_accept_cookies .cookie-category input{appearance:auto;position:static;opacity:1;width:20px;height:20px;flex:0 0 20px;accent-color:#003368;cursor:pointer}
#div_accept_cookies .cookie-required{font-size:10px;line-height:1.5;font-weight:500;flex:0 0 65px;color:#526c82;text-align:right}
#div_accept_cookies .cookie-save-row{display:flex;justify-content:flex-end;padding-top:16px}
@media(max-width:991px){
 footer .footer-navigation{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 32px}
 #div_accept_cookies .cookie-main{gap:15px;align-items:stretch;flex-direction:column}
 #div_accept_cookies .cookie-actions{justify-content:flex-end}
}
@media(max-width:575px){
 #subpage-content.office-contact .title-box{padding-bottom:20px}
 #subpage-content.office-contact .div_pages_similar{padding-top:0;padding-bottom:14px}
 #subpage-content.office-contact .div_pages_similar_header{padding-bottom:7px}
 #subpage-content.office-contact .div_pages_similar>.row>[class*="col-"]{padding-top:5px;padding-bottom:5px;min-height:44px}
 #subpage-content.office-contact .div_pages_similar_link a{font-size:13px;line-height:1.6}
 footer{padding:25px 0 20px}
 footer .footer-content{padding-top:20px}
 footer .footer-navigation{gap:24px 18px}
 footer .footer-column h2{font-size:13px;margin-bottom:7px}
 footer .footer-column a,footer .footer-column button{font-size:12px;line-height:1.55;min-height:42px;padding:8px 0}
 #div_accept_cookies.cookie-bar{left:8px;right:8px;bottom:8px;padding:13px 14px;border-radius:5px;max-height:calc(100dvh - 16px);font-size:12px;line-height:1.5}
 #div_accept_cookies .cookie-main{gap:12px}
 #div_accept_cookies .cookie-heading{margin-bottom:5px;gap:8px}
 #div_accept_cookies #cookie-title{font-size:15px}
 #div_accept_cookies button.cookie-settings-link{font-size:11px}
 #div_accept_cookies .cookie-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 #div_accept_cookies .cookie-actions button{font-size:11px;padding:9px 6px;min-height:44px}
 #div_accept_cookies .cookie-categories{grid-template-columns:1fr}
 #div_accept_cookies .cookie-category{padding:10px 0}
 #div_accept_cookies .cookie-save-row button{width:100%;min-height:44px}
}

/* R3: support-first contact content in the existing columns. */
#subpage-content #support-contact{font-size:16px;line-height:1.75;overflow-wrap:normal}
#subpage-content #support-contact .page_title{padding:0;margin:0 0 20px}
#subpage-content #support-contact .page_title h1{font-size:18px;line-height:1.5;letter-spacing:0;font-weight:500;margin:0}
#subpage-content #support-contact .support-headline{font-size:46px;line-height:1.17;letter-spacing:-1.1px;font-weight:600;max-width:660px;margin:0 0 24px;color:#003368}
#subpage-content #support-contact .support-lead{font-size:18px;line-height:1.8;margin:0 0 17px;color:#294e72}
#subpage-content #support-contact p{margin-bottom:16px}
#subpage-content #support-contact .support-intro>p:not(.support-headline):not(.support-lead){font-size:15px;line-height:1.8;color:#4b637a;max-width:630px}
#subpage-content #support-contact .support-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin:26px 0 0}
#subpage-content #support-contact .support-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;font-size:14px;line-height:1.5;font-weight:600;padding:12px 23px;background:#7AC319;color:#003368;border-radius:2px;text-decoration:none}
#subpage-content #support-contact .support-secondary{display:inline-flex;align-items:center;min-height:44px;font-size:13px;font-weight:500}
#subpage-content #support-contact section{padding:0;margin:40px 0 0}
#subpage-content #support-contact h2{font-size:25px;line-height:1.4;font-weight:600;letter-spacing:-.3px;margin:0 0 12px;padding:0}
#subpage-content #support-contact .support-section-lead{color:#526a80;font-size:14px;line-height:1.75;margin:0 0 7px}
#subpage-content #support-contact .support-topic{display:flex;gap:18px;padding:23px 0;border-bottom:1px solid #dfe8ef}
#subpage-content #support-contact .support-topic>img{flex:0 0 28px;object-fit:contain;width:28px;height:28px;margin-top:3px}
#subpage-content #support-contact .support-topic>div{min-width:0}
#subpage-content #support-contact .support-topic h3{font-size:17px;line-height:1.5;font-weight:600;margin:0 0 6px}
#subpage-content #support-contact .support-topic p{font-size:14px;line-height:1.8;color:#4b637a;margin:0 0 7px}
#subpage-content #support-contact .support-topic a{display:inline-block;min-height:32px;font-size:12px;line-height:1.6;font-weight:500;padding:5px 0}
#subpage-content #support-contact .support-how{padding:25px 28px;background:#EDF3F7;border-radius:2px}
#subpage-content #support-contact .support-how h2{font-size:22px}
#subpage-content #support-contact .support-how p,#subpage-content #support-contact .support-how li{font-size:14px;line-height:1.8;color:#3f5b74}
#subpage-content #support-contact .support-how ul{margin:0 0 16px;padding-left:19px}
#subpage-content #support-contact .support-how li{padding:0 0 8px 3px}
#subpage-content #support-contact .support-how .support-privacy-note{font-size:12px;margin:0;padding-top:14px;border-top:1px solid #cbd9e4}
#subpage-content #support-contact .support-faq{margin-top:36px}
#subpage-content #support-contact .support-faq h2{font-size:22px;margin-bottom:13px}
#subpage-content #support-contact .support-faq details{border-top:1px solid #dfe8ef;padding:0}
#subpage-content #support-contact .support-faq details:last-child{border-bottom:1px solid #dfe8ef}
#subpage-content #support-contact .support-faq summary{font-size:14px;line-height:1.7;font-weight:500;cursor:pointer;padding:16px 0;list-style-position:outside;margin-left:17px}
#subpage-content #support-contact .support-faq summary:focus-visible{outline:2px solid #003368;outline-offset:3px}
#subpage-content #support-contact .support-faq details p{font-size:13px;line-height:1.85;color:#4b637a;margin:0;padding:0 0 18px 17px}
#subpage-content #support-contact .support-faq a{font-weight:500}
#subpage-content .support-side{padding:27px 28px;background:#EDF3F7;border-radius:2px;margin:0 0 28px}
#subpage-content .support-side>img{display:block;object-fit:contain;margin-bottom:21px}
#subpage-content .support-side h2{font-size:23px;line-height:1.45;font-weight:600;letter-spacing:-.3px;padding:0;margin:0 0 14px;color:#003368}
#subpage-content .support-side>p{font-size:14px;line-height:1.85;color:#48647b;margin:0 0 22px}
#subpage-content .support-availability{display:flex;align-items:center;gap:12px;padding:18px 0;border-top:1px solid #cbd9e4;border-bottom:1px solid #cbd9e4;margin-bottom:13px;font-size:12px;line-height:1.8;color:#4b637a}
#subpage-content .support-availability strong{font-size:15px;font-weight:600;color:#003368}
#subpage-content .support-availability img{object-fit:contain;flex:0 0 19px}
#subpage-content .support-side>a{font-size:12px;line-height:1.7;display:block;min-height:36px;padding:7px 0;color:#003368;text-decoration:underline;text-underline-offset:4px}
#subpage-content.office-contact .support-side+#search-box{background:#f8fafc;border:1px solid #e0e8ee}
#support-how,#contact-details{scroll-margin-top:180px}
#contact-details{padding:34px 0 28px;background:#fff;border-top:1px solid #dfe8ef;color:#003368}
#contact-details .contact-details-heading{display:flex;align-items:baseline;gap:20px;margin-bottom:22px}
#contact-details h2{font-size:20px;line-height:1.5;font-weight:600;margin:0;padding:0}
#contact-details .contact-details-heading>p{font-size:12px;line-height:1.7;color:#5d7387;margin:0}
#contact-details .contact-details-grid{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:38px}
#contact-details h3{font-size:12px;line-height:1.6;font-weight:500;margin:0 0 7px;color:#4b637a}
#contact-details .contact-direct{display:inline-flex;align-items:center;min-height:40px;font-size:16px;line-height:1.5;color:#003368;font-weight:500;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
#contact-details p{font-size:12px;line-height:1.8;color:#5b7185;margin:5px 0 0}
#contact-details .contact-company p{font-size:11px;line-height:1.9;margin:0 0 6px}
#contact-details .contact-company strong{font-weight:500}
@media(max-width:991px){
 #subpage-content #support-contact .support-headline{font-size:40px;max-width:620px}
 #subpage-content .support-side{margin-top:24px}
 #contact-details .contact-details-grid{gap:25px;grid-template-columns:1fr 1fr}
 #contact-details .contact-company{grid-column:1/-1;border-top:1px solid #e0e8ee;padding-top:18px}
}
@media(max-width:575px){
 #subpage-content #support-contact .page_title{margin-bottom:14px}
 #subpage-content #support-contact .page_title h1{font-size:14px}
 #subpage-content #support-contact .support-headline{font-size:34px;line-height:1.2;letter-spacing:-.7px;margin-bottom:20px}
 #subpage-content #support-contact .support-lead{font-size:16px;line-height:1.8}
 #subpage-content #support-contact .support-intro>p:not(.support-headline):not(.support-lead){font-size:14px;line-height:1.8}
 #subpage-content #support-contact .support-actions{gap:6px 18px;margin-top:20px}
 #subpage-content #support-contact .support-actions .button{width:100%;padding:12px 14px}
 #subpage-content #support-contact .support-secondary{padding:8px 0}
 #subpage-content #support-contact section{margin-top:30px}
 #subpage-content #support-contact h2{font-size:23px}
 #subpage-content #support-contact .support-topic{gap:14px;padding:20px 0}
 #subpage-content #support-contact .support-topic a{min-height:40px;padding:9px 0}
 #subpage-content #support-contact .support-how{padding:23px 20px}
 #subpage-content #support-contact .support-how h2{font-size:22px}
 #subpage-content .support-side{padding:25px 23px;margin-top:16px}
 #contact-details{padding:27px 0 23px}
 #contact-details .contact-details-heading{display:block;margin-bottom:19px}
 #contact-details h2{font-size:19px;margin-bottom:5px}
 #contact-details .contact-details-grid{grid-template-columns:1fr;gap:23px}
 #contact-details .contact-direct{min-height:44px;font-size:15px}
}


/* ===== D8 patterns.css (legal, tables, site-map, offers catalogs, functional states) ===== */
/* F6 D7. Only newly selected source documents opt into these refinements. */
body[data-md-pattern] #subpage-content .md-mobile-toc{margin-bottom:24px}
body[data-md-pattern] #subpage-content .md-mobile-toc[data-no-sidebar]{display:block}
body[data-md-pattern] #subpage-content .md-section-nav h2{font-size:17px;line-height:1.4}
body[data-md-pattern] #subpage-content .md-section-nav a{padding:10px 0}
body[data-md-pattern] #subpage-content [id^=md-sekcja-]{scroll-margin-top:180px}
body[data-md-pattern] #subpage-content .order-lg-0{min-width:0;overflow-wrap:break-word}
body[data-md-pattern] #subpage-content .order-lg-0 img{max-width:100%!important;height:auto!important}
body[data-md-pattern] #subpage-content .order-lg-0 [width],body[data-md-pattern] #subpage-content .order-lg-0 [style*=width]{max-width:100%}
body[data-md-pattern] #subpage-content .order-lg-0 li{margin-bottom:12px;line-height:1.8}
body[data-md-pattern] #subpage-content .order-lg-0 [data-empty-spacing]{display:none!important}
body[data-md-pattern] #subpage-content .md-legal-heading{font-size:23px!important;font-weight:600;margin:42px 0 20px!important;padding:22px 0 0;border-top:1px solid #cbd9e4;color:#003368}
body[data-md-pattern=legal-long] #subpage-content .order-lg-0 ol{padding-left:27px}
body[data-md-pattern=legal-long] #subpage-content .order-lg-0 [align=justify]{text-align:left}
body[data-md-pattern=legal-85] #subpage-content .order-lg-0 div{font-size:16px!important;line-height:1.85!important}
body[data-md-pattern=legal-85] #subpage-content .order-lg-0 h3{margin:38px 0 20px}
.md-table-scroll{max-width:100%;overflow:auto;margin:24px 0;border:1px solid #ccdbe6;border-radius:2px;scrollbar-color:#9ab0c0 #EDF3F7}
.md-table-scroll:focus-visible{outline:3px solid #7AC319;outline-offset:3px}
body[data-md-pattern] .md-table-scroll table{width:100%!important;min-width:650px;border-collapse:collapse;table-layout:fixed;margin:0!important;font-size:14px!important;line-height:1.7}
body[data-md-pattern] .md-table-scroll td,body[data-md-pattern] .md-table-scroll th{padding:16px!important;vertical-align:top!important;border:0!important;border-bottom:1px solid #d4e0e9!important;background:#fff!important;overflow-wrap:anywhere;text-align:left!important;color:#003368!important;line-height:1.7}
body[data-md-pattern] .md-table-scroll tr:nth-child(odd) td{background:#f6f9fb!important}
body[data-md-pattern] .md-table-scroll tr:first-child td{background:#003368!important;color:#fff!important;font-weight:600}
body[data-md-pattern] .md-table-scroll font{color:inherit!important;font-size:inherit!important}
/* HTML sitemap: existing lists and all destinations remain available. */
body[data-md-pattern=site-map] .order-lg-0>ul{list-style:none;padding:0!important;margin:0!important}
body[data-md-pattern=site-map] .order-lg-0>ul>li{padding:20px 0 8px;margin:22px 0 0!important;border-top:1px solid #ccdbe6;font-size:23px;font-weight:600}
body[data-md-pattern=site-map] .md-map-group{list-style:none;padding:0!important;margin:0 0 26px!important;columns:2;column-gap:28px}
body[data-md-pattern=site-map] .md-map-group li{break-inside:avoid;margin:0!important;padding:0!important;border-bottom:1px solid #E9EEF2}
body[data-md-pattern=site-map] .md-map-group a{display:block;padding:11px 0;font-size:14px;line-height:1.65}
body[data-md-pattern=site-map] .md-map-group ul{columns:1;margin:0 0 10px!important;padding-left:18px!important;border-left:2px solid #E9EEF2;list-style:none}
/* Older public offers renderer: same tables, profile contents and URLs. */
body[data-md-pattern^=offers-]:not(:has(#subpage-content)){margin:0;background:#fff;color:#003368;font-family:'PT Sans',Arial,sans-serif;font-size:17px;line-height:1.75}
body[data-md-pattern^=offers-]:not(:has(#subpage-content)) .container{max-width:1160px;width:100%;padding-left:24px;padding-right:24px}
body[data-md-pattern^=offers-] #div_top{position:relative;background:white;border-bottom:1px solid #e0e8ee;min-height:96px;height:auto;padding:20px 0;z-index:100}
body[data-md-pattern^=offers-] .top_navbar{display:flex;align-items:center;justify-content:space-between;gap:20px;height:auto!important;min-height:56px}
body[data-md-pattern^=offers-] .logo_main{width:200px;max-width:40%;position:static;float:none;margin:0;padding:0}
body[data-md-pattern^=offers-] .logo_main img{width:100%;height:auto}
body[data-md-pattern^=offers-] .top_menu{float:none;margin:0;padding:0;width:auto}
body[data-md-pattern^=offers-] .top_menu_list{display:flex;align-items:center;gap:14px;list-style:none;margin:0;padding:0}
body[data-md-pattern^=offers-] .top_menu_list>li{float:none;margin:0;padding:0}
body[data-md-pattern^=offers-] .top_menu_list>li>a{display:flex;min-height:44px;align-items:center}
body[data-md-pattern^=offers-] .top_menu_list>li>a img{height:34px;max-width:100%;width:auto}
body[data-md-pattern^=offers-] #menu_main_list{min-width:310px;right:0;left:auto;max-height:75vh;overflow-y:auto;background:#fff;color:#003368;padding:12px;box-shadow:0 14px 38px #00336820}
body[data-md-pattern^=offers-] #menu_main_list ul{list-style:none;margin:0;padding:0}
body[data-md-pattern^=offers-] #menu_main_list a{color:#003368;display:block;padding:12px 42px 12px 12px;white-space:normal;font-size:16px;line-height:1.5}
body[data-md-pattern^=offers-] #menu_main_list .md-nav-parent{position:relative}
body[data-md-pattern^=offers-] #menu_main_list .md-submenu-toggle{position:absolute;right:0;top:0;width:44px;height:48px;border:0;background:#EDF3F7;color:#003368;cursor:pointer}
body[data-md-pattern^=offers-] #menu_main_list .md-submenu-toggle:after{content:'+';font-size:23px}
body[data-md-pattern^=offers-] #menu_main_list .md-submenu-toggle[aria-expanded=true]:after{content:'\2212 '}
body[data-md-pattern^=offers-] #menu_main_list .md-submenu[hidden]{display:none!important}
body[data-md-pattern^=offers-] #menu_main_list .md-submenu:not([hidden]){display:block!important;background:#EDF3F7;padding:6px 10px}
body[data-md-pattern^=offers-] #menu_main_list .md-submenu a{font-size:14px;padding:10px}
body[data-md-pattern^=offers-] #div_page_path{padding:17px 0;background:#f5f8fa;height:auto;margin:0;color:#586f85;font-size:14px}
body[data-md-pattern^=offers-] #div_page_content{padding:38px 0 50px;background:#fff;color:#003368;font-size:17px;line-height:1.85}
body[data-md-pattern^=offers-] #div_page_content h1{font-family:inherit;color:#003368;font-size:40px;line-height:1.25;font-weight:700;margin:0 0 28px;max-width:920px}
body[data-md-pattern^=offers-] #div_page_content h2{font-family:inherit;color:#003368;font-size:26px;line-height:1.4;font-weight:700;margin:0 0 22px}
body[data-md-pattern^=offers-] #div_page_content h3{font-size:23px;margin:34px 0 18px;font-weight:700;line-height:1.5}
body[data-md-pattern^=offers-] #div_page_content a{color:#003368;text-underline-offset:4px}
body[data-md-pattern^=offers-] #div_page_content .page_title{margin:0;padding:0;height:auto}
body[data-md-pattern^=offers-] #div_page_content .m_10{margin:0 0 12px;background:#EDF3F7;border:1px solid #d5e1ea;border-radius:2px}
body[data-md-pattern^=offers-] #div_page_content .m_10 a{font-size:15px;font-weight:700;line-height:1.6;display:block;padding:14px 16px;text-decoration:none}
body[data-md-pattern^=offers-] #div_page_content .m_10 a:hover{background:#E9EEF2;text-decoration:underline}
body[data-md-pattern=offers-66] .nav_lista_om{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;list-style:none;margin:20px 0 0;padding:0;width:100%}
body[data-md-pattern=offers-66] .lista_om{float:none;width:auto!important;min-width:0;padding:22px!important;margin:0!important;border:1px solid #d2dfe8;border-radius:2px;background:#fff;box-shadow:0 4px 14px #00336806}
body[data-md-pattern=offers-66] .lista_om table{width:100%!important;max-width:100%;height:auto!important;border-collapse:collapse;background:none}
body[data-md-pattern=offers-66] .lista_om td{background-color:transparent!important;vertical-align:top}
body[data-md-pattern=offers-66] .lista_om>table>tbody>tr:first-child,body[data-md-pattern=offers-66] .lista_om>table>tbody>tr:last-child{display:none}
body[data-md-pattern=offers-66] .lista_om>table>tbody>tr>td[width]{display:none}
body[data-md-pattern=offers-66] .lista_om>table>tbody>tr>td{background:none!important;padding:0!important}
body[data-md-pattern=offers-66] .lista_om_table>tbody>tr{display:flex;gap:20px}
body[data-md-pattern=offers-66] .lista_om_table>tbody>tr>td:first-child{width:118px;min-width:118px}
body[data-md-pattern=offers-66] .lista_om_table>tbody>tr>td:empty{display:none}
body[data-md-pattern=offers-66] .lista_om_table>tbody>tr>td:last-child{flex:1;min-width:0}
body[data-md-pattern=offers-66] .lista_om td[background]{background-size:cover;background-position:center;border-radius:2px}
body[data-md-pattern=offers-66] .lista_om td[background] img{width:118px;height:176px;display:block}
body[data-md-pattern=offers-66] .lista_om_user{font-size:21px;font-weight:700;line-height:1.5;padding:0 0 14px}
body[data-md-pattern=offers-66] .lista_om_info{font-size:14px;color:#526b80;font-weight:400;margin-top:7px;line-height:1.5}
body[data-md-pattern=offers-66] .lista_om_motto{background:#EDF3F7!important;padding:14px;border-radius:2px;font-size:14px;line-height:1.65;height:auto}
body[data-md-pattern=offers-66] .lista_om_motto i{font-style:normal}
body[data-md-pattern=offers-66] .lista_om_login_date{padding-top:12px;font-size:12px;color:#526b80}
body[data-md-pattern=offers-66] .lista_om td[width="20"]{display:none}
body[data-md-pattern=offers-66] .lista_om_btn{margin-top:10px}
body[data-md-pattern=offers-66] .lista_om_btn a{display:inline-flex;min-height:35px;min-width:32px;align-items:center;justify-content:center}
body[data-md-pattern=offers-69] #div_oferty{background:#EDF3F7;padding:32px 0;margin:0}
body[data-md-pattern=offers-69] #slider_twarze1 .swiper-wrapper{display:flex!important;gap:0;height:auto!important}
body[data-md-pattern=offers-69] #slider_twarze1 .swiper-slide{position:static;flex-shrink:0;height:auto!important}
body[data-md-pattern=offers-69] .frame1{padding:0;margin:0;width:100%;height:auto;background:#fff;box-shadow:none;border:1px solid #d5e1ea}
body[data-md-pattern=offers-69] .frame1_link{display:flex;flex-direction:column;position:static;height:auto;width:100%;padding:0 0 16px;color:#003368}
body[data-md-pattern=offers-69] .frame1_img{position:static;width:100%;height:240px;object-fit:cover;margin:0 0 12px}
body[data-md-pattern=offers-69] .frame1_link span{position:static;color:#003368!important;background:transparent!important;display:block;width:auto;height:auto;margin:0;padding:2px 14px;font-size:14px;line-height:1.5;text-align:left}
body[data-md-pattern=offers-69] .frame1_zawod{font-weight:700}
body[data-md-pattern=offers-69] .frame1_img_px{display:none}
body[data-md-pattern=offers-69] #div_rejestracja{background:#003368;padding:48px 0;color:white}
body[data-md-pattern=offers-69] .reg_table{width:100%;max-width:760px;margin:auto;font-family:inherit;font-size:16px;line-height:1.6}
body[data-md-pattern=offers-69] .reg_table>tbody>tr>td{padding:7px 9px;color:white;vertical-align:middle}
body[data-md-pattern=offers-69] .home_reg_input{background:#fff;border:1px solid #ccdbe6;border-radius:2px;padding:11px 13px;min-height:46px;width:100%;color:#003368;font:inherit}
body[data-md-pattern=offers-69] .reg_table_res img{max-width:100%;height:auto}
body[data-md-pattern=offers-69] .md-consent-overview{display:none}
body[data-md-pattern=offers-69] .md-consent-overview label{font-size:15px;color:white;display:block;line-height:1.65;font-weight:400}
body[data-md-pattern=offers-69] .md-consent-overview button{font:inherit;color:#fff;border:1px solid #9eafc1;background:transparent;padding:8px 12px;border-radius:2px;min-height:44px;margin-top:12px}
body[data-md-pattern=offers-69] form[data-consents-ready] .md-consent-overview{display:table-row}
body[data-md-pattern=offers-69] form[data-consents-ready]:not([data-consents-open]) [data-legacy-consent]{display:none}
body[data-md-pattern=offers-69] #div_stopka{background:white;color:#003368;padding:35px 0;border-top:1px solid #d5e1ea}
body[data-md-pattern=offers-69] #div_stopka .row{display:block}
body[data-md-pattern=offers-69] #div_stopka .col-md-8,body[data-md-pattern=offers-69] #div_stopka .col-md-4{width:100%;float:none}
body[data-md-pattern=offers-69] #div_stopka .footer-navigation{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;list-style:none;margin:0;padding:0}
body[data-md-pattern=offers-69] #div_stopka a{color:#003368}
body[data-md-pattern=offers-69] #div_stopka li{list-style:none;line-height:1.7}
body[data-md-pattern=offers-69] #div_stopka .copyright{font-size:12px;color:#526b80;margin-top:30px}
/* Standalone preferences renderer: keep every original category/table/control. */
body[data-md-pattern=cookie-preferences]{background:#EDF3F7;color:#003368;font:16px/1.75 'PT Sans',Arial,sans-serif}
body[data-md-pattern=cookie-preferences] #div_top{background:#fff;padding:24px;min-height:84px;height:auto;position:static}
body[data-md-pattern=cookie-preferences] .logo_main{float:none;margin:0;max-width:190px}
body[data-md-pattern=cookie-preferences] .logo_main img{max-width:190px;height:auto}
body[data-md-pattern=cookie-preferences] #custom-content{width:100%;max-width:1160px;position:static;padding:36px 24px;margin:0 auto;background:none}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie{background:#fff;padding:32px;border:1px solid #d1dee8;border-radius:2px;width:100%;max-width:none}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_header{padding:0;margin:0;border:0}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_logo{display:none}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_body{display:grid;grid-template-columns:230px minmax(0,1fr);gap:30px;padding:0}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_left,body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_right{width:auto;min-width:0;float:none;padding:0;margin:0}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_tabs{padding:0;margin:0;list-style:none}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_tabs li{padding:15px 17px;min-height:48px;line-height:1.5;background:#EDF3F7;color:#003368;margin:0 0 8px;cursor:pointer;font-size:15px;border:1px solid transparent;border-radius:2px}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_tabs li.current{background:#003368;color:white}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie h3{font-size:28px;line-height:1.35;font-weight:700;color:#003368;margin:0 0 20px}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_content{font-size:16px;line-height:1.85;color:#003368;padding:0}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_status_active{float:none;display:table;background:#edf7e1;color:#254b08;font-size:13px;padding:4px 10px;margin:0 0 15px}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_status_edit{float:none;margin-bottom:20px}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_footer{border-top:1px solid #d1dee8;padding:24px 0 0;margin-top:28px}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie button{font:inherit;border-radius:2px;min-height:44px;white-space:normal}
body[data-md-pattern=cookie-preferences] .md-table-scroll table{min-width:690px}
@media(max-width:991px){
 body[data-md-pattern] #subpage-content .order-lg-1>.md-section-nav{display:none}
 body[data-md-pattern] #subpage-content .md-mobile-toc{display:block}
 body[data-md-pattern=offers-66] .nav_lista_om{grid-template-columns:1fr}
 body[data-md-pattern=offers-69] #slider_twarze1 .swiper-wrapper{grid-template-columns:repeat(3,minmax(0,1fr))}
 body[data-md-pattern=offers-69] .frame1_img{height:250px}
 body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_body{grid-template-columns:1fr;gap:20px}
 body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_tabs li{margin:0}
}
@media(max-width:575px){
 body[data-md-pattern^=offers-]:not(:has(#subpage-content)) .container{padding-left:20px;padding-right:20px}
 body[data-md-pattern^=offers-] #div_top{padding:16px 0}
 body[data-md-pattern^=offers-] .top_navbar{flex-wrap:wrap;gap:12px}
 body[data-md-pattern^=offers-] .logo_main{max-width:170px;width:170px}
 body[data-md-pattern^=offers-] .top_menu{width:100%}
 body[data-md-pattern^=offers-] .top_menu_list{justify-content:space-between;gap:10px}
 body[data-md-pattern^=offers-] .top_menu_list>li>a img{height:29px}
 body[data-md-pattern^=offers-] #div_page_content{padding:28px 0;font-size:16px;line-height:1.8}
 body[data-md-pattern^=offers-] #div_page_content h1{font-size:30px;margin-bottom:22px}
 body[data-md-pattern^=offers-] #div_page_content h2{font-size:23px}
 body[data-md-pattern=offers-66] .lista_om{padding:16px!important}
 body[data-md-pattern=offers-66] .lista_om_table>tbody>tr{gap:14px}
 body[data-md-pattern=offers-66] .lista_om_table>tbody>tr>td:first-child{width:94px;min-width:94px}
 body[data-md-pattern=offers-66] .lista_om td[background] img{width:94px;height:140px}
 body[data-md-pattern=offers-66] .lista_om_user{font-size:18px}
 body[data-md-pattern=offers-66] .lista_om_motto{padding:10px;font-size:13px}
 body[data-md-pattern=offers-69] #slider_twarze1 .swiper-wrapper{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 body[data-md-pattern=offers-69] .frame1_img{height:208px}
 body[data-md-pattern=offers-69] .frame1_link span{padding-left:10px;padding-right:10px;font-size:13px}
 body[data-md-pattern=offers-69] .reg_table>tbody>tr>td{display:block;width:100%!important;max-width:100%;padding:3px 0 7px;text-align:left}
 body[data-md-pattern=offers-69] .reg_table>tbody>tr>td:empty{display:none}
 body[data-md-pattern=offers-69] .reg_table>tbody>tr>td:first-child{padding-top:10px}
 body[data-md-pattern=offers-69] #div_stopka .footer-navigation{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}
 body[data-md-pattern=cookie-preferences] #custom-content{padding:20px 14px}
 body[data-md-pattern=cookie-preferences] #popup_accept_cookie{padding:20px 16px}
 body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_tabs li{font-size:14px;padding:12px}
 body[data-md-pattern=cookie-preferences] #popup_accept_cookie h3{font-size:25px}
 body[data-md-pattern=site-map] .md-map-group{columns:1}
 body[data-md-pattern] .md-table-scroll{margin:18px 0}
 body[data-md-pattern] #subpage-content [id^=md-sekcja-]{scroll-margin-top:95px}
}

body[data-md-pattern=offers-69] #div_stopka .footer-content{padding-top:25px;padding-bottom:18px}
body[data-md-pattern=offers-69] #div_stopka .footer-content>.row>.col-lg-8{flex:0 0 100%;max-width:100%}
body[data-md-pattern=offers-69] #div_stopka .footer-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;align-items:start}
body[data-md-pattern=offers-69] #div_stopka .footer-column h2{font-size:15px;line-height:1.5;font-weight:600;margin:0 0 10px;padding:0;color:#003368}
body[data-md-pattern=offers-69] #div_stopka .footer-column ul{list-style:none;padding:0;margin:0}
body[data-md-pattern=offers-69] #div_stopka .footer-column li{display:block;padding:0;margin:0}
body[data-md-pattern=offers-69] #div_stopka .footer-column a,body[data-md-pattern=offers-69] #div_stopka .footer-column button{display:inline-block;padding:8px 0;margin:0;min-height:36px;font:400 13px/1.5 Montserrat,Arial,sans-serif;text-align:left;color:#003368;background:none;border:0;border-radius:0;cursor:pointer;text-decoration:none;overflow-wrap:anywhere}
body[data-md-pattern=offers-69] #div_stopka .footer-column a:hover,body[data-md-pattern=offers-69] #div_stopka .footer-column button:hover{text-decoration:underline;text-underline-offset:4px;color:#AD0000}
body[data-md-pattern=offers-69] #div_stopka .footer-content>.row>.col-lg-4{flex:0 0 100%;max-width:100%;margin-top:22px;padding-top:18px;border-top:1px solid #dfe8ee}
body[data-md-pattern=offers-69] #div_page_content .col-md-4>a{display:block;background:#EDF3F7;border:1px solid #d5e1ea;padding:14px 16px;font-size:15px;font-weight:700;line-height:1.6;margin-bottom:12px;text-decoration:none}

body[data-md-pattern=offers-69] #slider_twarze1 .swiper-slide{box-sizing:border-box;padding-right:14px}
body[data-md-pattern=cookie-preferences] #div_top{display:block!important}
body[data-md-pattern=cookie-preferences] #div_top>.container{width:100%;max-width:1120px;margin:auto;padding:0}
body[data-md-pattern=cookie-preferences] #div_top .row{margin:0}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_header{display:none!important}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_content{height:auto!important;max-height:none!important;overflow:visible!important}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_right{height:auto!important;max-height:none!important;overflow:visible!important}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_footer{background:#fff!important}
body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_footer input[type=button],body[data-md-pattern=cookie-preferences] #popup_accept_cookie .my_footer button{background:#003368!important;color:#fff;border:1px solid #003368;padding:12px 18px;min-height:46px;box-shadow:none;font:600 15px/1.5 'PT Sans',Arial,sans-serif;border-radius:2px}
body[data-md-pattern] .md-table-hint{display:none;font-size:13px!important;line-height:1.6!important;color:#526b80}
@media(max-width:767px){body[data-md-pattern] .md-table-hint{display:block;margin:18px 0 0}body[data-md-pattern=offers-69] #div_stopka .footer-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:991px){
 body[data-md-pattern=offers-69] .reg_table>tbody>tr>td{display:block;width:100%!important;max-width:100%;padding:3px 0 7px;text-align:left}
 body[data-md-pattern=offers-69] .reg_table>tbody>tr>td:empty{display:none}
 body[data-md-pattern=offers-69] .reg_table>tbody>tr>td:first-child{padding-top:10px}
 body[data-md-pattern=offers-69] .home_reg_col_error{width:auto!important;min-width:0;max-width:100%}
}

.footer-navigation .md-footer-help>summary{font:400 13px/1.5 Montserrat,Arial,sans-serif;color:#003368;padding:8px 0;min-height:36px;cursor:pointer;list-style:revert}
.footer-navigation .md-footer-help>ul{padding:4px 0 7px 13px!important;border-left:2px solid #7AC319;margin:5px 0 10px!important}
.footer-navigation .md-footer-help>ul a{font-size:12px!important}
@media(max-width:575px){.footer-navigation .md-footer-help>summary{min-height:42px;font-size:12px;line-height:1.55}}
/* Legacy-only finishing: keep the source nodes, compact the original service blocks. */
body[data-md-pattern=offers-66] .lista_om{max-width:none!important;justify-self:stretch}
body[data-md-pattern=offers-69] #div_page_content p{text-align:left!important}
body[data-md-pattern=offers-69] #div_rejestracja>.container>.row>p{max-width:760px;margin:22px auto 0;line-height:1.7;text-align:left!important}
body[data-md-pattern=offers-69] #div_rejestracja>.container>.row>p font{font-size:12px!important;line-height:1.7}
body[data-md-pattern=offers-69] #div_kontakt{background:#EDF3F7!important;color:#003368;padding:28px 0;height:auto}
body[data-md-pattern=offers-69] #div_kontakt .kontakt_box{background:none;position:static;padding:0;height:auto;max-width:760px;margin:auto;float:none;width:100%;text-align:left}
body[data-md-pattern=offers-69] #div_kontakt .kontakt_box br{display:none}
body[data-md-pattern=offers-69] #div_kontakt .kontakt_text,body[data-md-pattern=offers-69] #div_kontakt a{color:#003368;font-size:16px;line-height:1.7}
body[data-md-pattern=offers-69] #div_kontakt .kontakt_text{margin:10px 0}
body[data-md-pattern=offers-69] #div_kontakt .kontakt_text_big{color:#003368;font-size:23px;line-height:1.4}
body[data-md-pattern=offers-69] #div_kroki{padding:32px 0;height:auto;background:#003368;color:#fff}
body[data-md-pattern=offers-69] #div_kroki .head4{font-size:24px;line-height:1.4;margin:0 0 22px;padding:0}
body[data-md-pattern=offers-69] .nav_kroki{display:flex;gap:14px;justify-content:center;padding:0;margin:0;float:none}
body[data-md-pattern=offers-69] .nav_kroki li{float:none;width:auto;flex:1;height:auto;padding:12px;min-width:0;display:flex;flex-direction:column;gap:12px;align-items:center}
body[data-md-pattern=offers-69] .nav_kroki li:has(.krok_arrow){display:none}
body[data-md-pattern=offers-69] .nav_kroki li img{width:38px;height:38px;object-fit:contain;margin:0}
body[data-md-pattern=offers-69] .nav_kroki li span{font:400 14px/1.6 'PT Sans',Arial,sans-serif;position:static;padding:0;margin:0}
@media(max-width:767px){body[data-md-pattern=offers-69] .nav_kroki{flex-direction:column}body[data-md-pattern=offers-69] .nav_kroki li{flex-direction:row;justify-content:flex-start;border-bottom:1px solid #ffffff33;padding:12px 0;text-align:left}body[data-md-pattern=offers-69] #div_kroki .head4{text-align:left}}

/* Keep mobile reading free of the source editor full-justification gaps. */
body[data-md-pattern] #subpage-content [align="justify" i],body[data-md-pattern] #subpage-content [style*="text-align: justify"],body[data-md-pattern] #subpage-content [style*="text-align:justify"]{text-align:left!important}
body[data-md-pattern=legal-table] .md-table-scroll table{min-width:940px}


/* ===== D8 feedback.css (letters / comments cards, D7 R2) ===== */
/* R2: the existing letters table and comment rows keep their full contents. */
#subpage-content.md-historie .md-letters{display:block;max-width:1040px;margin:32px auto 24px;padding:24px;background:#EDF3F7;border:1px solid #E9EEF2;border-radius:6px;border-collapse:separate}
#subpage-content.md-historie .md-letters>tbody{display:grid;gap:20px}
#subpage-content.md-historie .md-letter-card{display:block;background:white;border:1px solid #cfdae3;border-radius:6px}
#subpage-content.md-historie .md-letter-card>td:first-child{display:grid;width:100%;grid-template-columns:60px minmax(0,1fr);grid-template-areas:'seal date' 'seal quote' 'seal milestones' 'seal authors';column-gap:24px;padding:28px 32px;border:0}
#subpage-content.md-historie .md-letter-card>td+td,#subpage-content.md-historie .md-letter-card>td>br{display:none}
#subpage-content.md-historie .md-letter-seal{grid-area:seal;width:60px;height:64px;background:#EDF3F7 url('/theme/images/svg/envelope.svg') center/34px no-repeat;border-radius:6px;border-bottom:3px solid #7AC319}
#subpage-content.md-historie .md-letter-date{grid-area:date;display:block;font-size:12px;line-height:1.6;font-weight:500;font-style:normal;color:#526b80;padding:1px 0 12px;margin:0;border-bottom:1px solid #E9EEF2}
#subpage-content.md-historie .md-letter-quote{grid-area:quote;max-width:75ch;font:400 16px/1.85 Montserrat,Arial,sans-serif;color:#003368;text-align:left;margin:18px 0 0;padding:0;border:0;overflow-wrap:anywhere}
#subpage-content.md-historie .md-letter-milestones{grid-area:milestones;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:22px 0 0;padding:16px 0 0;border-top:1px solid #E9EEF2}
#subpage-content.md-historie .md-letter-milestones>br,#subpage-content.md-historie .md-letter-authors>br{display:none}
#subpage-content.md-historie .md-letter-milestones>span{display:block;font-size:11px;line-height:1.6;color:#526b80;padding-left:12px;border-left:2px solid #cbdbe6}
#subpage-content.md-historie .md-letter-milestones>span[style]{color:#AD0000!important;border-left-color:#AD0000}
#subpage-content.md-historie .md-letter-milestones strong{display:block;font-size:13px;font-weight:600;color:#003368;margin-top:3px;white-space:nowrap}
#subpage-content.md-historie .md-letter-authors{grid-area:authors;display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:16px;font-size:12px;line-height:1.6}
#subpage-content.md-historie .md-letter-authors b{font-weight:600}
#subpage-content .md-comment-list{display:block;border:0;border-collapse:separate;margin:20px 0 24px;padding:0;width:100%;max-width:800px;table-layout:fixed}
#subpage-content .md-comment-list>tbody,#subpage-content .md-comment-list tr{display:block;width:100%}
#subpage-content .md-comment-list td{display:block;width:100%;max-width:100%;border:1px solid #cfdae3;overflow-wrap:anywhere;text-align:left!important}
#subpage-content .md-comment-list .md-comment-author{position:relative;padding:18px 24px 16px 78px!important;background:#EDF3F7;border-bottom:0;border-radius:6px 6px 0 0;font-size:0;min-height:74px;margin:0}
#subpage-content .md-comment-author::before{content:'';position:absolute;left:22px;top:19px;width:38px;height:38px;border-radius:50%;background:white url('/theme/images/svg/envelope.svg') center/21px no-repeat}
#subpage-content .md-comment-author i{font-style:normal;font-size:12px;line-height:1.6;display:block}
#subpage-content .md-comment-author strong{display:block;font-size:14px;font-weight:600;color:#003368;line-height:1.5}
#subpage-content .md-comment-author time{display:block;color:#526b80;font-size:11px;margin-top:3px}
#subpage-content .md-comment-separator{display:none}
#subpage-content .md-comment-list .md-comment-body{padding:18px 24px 22px!important;font:400 15px/1.85 Montserrat,Arial,sans-serif;color:#003368;background:#fff;border-top:0;border-radius:0 0 6px 6px;margin:0}
#subpage-content .md-comment-body-row{margin-bottom:20px}
#subpage-content .md-comment-list .md-comment-removed{font-size:13px;color:#526b80;background:#f8fafb}
#subpage-content .md-comment-removed i{font-style:normal}
@media(max-width:767px){
 #subpage-content.md-historie .md-letters{padding:12px;margin:24px auto;border-radius:6px}
 #subpage-content.md-historie .md-letters>tbody{gap:14px}
 #subpage-content.md-historie .md-letter-card>td:first-child{grid-template-columns:44px minmax(0,1fr);grid-template-areas:'seal date' 'quote quote' 'milestones milestones' 'authors authors';column-gap:12px;padding:20px}
 #subpage-content.md-historie .md-letter-seal{width:44px;height:44px;background-size:26px;border-bottom-width:2px}
 #subpage-content.md-historie .md-letter-date{align-self:center;padding:0;border:0;font-size:11px}
 #subpage-content.md-historie .md-letter-quote{font-size:15px;line-height:1.8;margin-top:18px}
 #subpage-content.md-historie .md-letter-milestones{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px;margin-top:18px;padding-top:16px}
 #subpage-content.md-historie .md-letter-milestones>span{padding-left:8px;font-size:10px}
 #subpage-content.md-historie .md-letter-milestones strong{font-size:12px}
 #subpage-content .md-comment-list .md-comment-author{padding:16px 16px 14px 66px!important}
 #subpage-content .md-comment-author::before{left:16px;top:17px;width:34px;height:34px;background-size:19px}
 #subpage-content .md-comment-list .md-comment-body{padding:16px 18px 20px!important;font-size:14px;line-height:1.8}
}
@media(max-width:360px){#subpage-content.md-historie .md-letters{padding:8px}#subpage-content.md-historie .md-letter-card>td:first-child{padding:16px}}


/* ===== D8 public-offers.css (public C01 cards for catalogs, D7 R3) ===== */
/* C01 public variant. Reference: 6a/V16 and phase 3 md2_card.php.
   Scoped to one opted-in legacy document. No application styles are imported. */




body.md-public-offers{font-family:Montserrat,Arial,sans-serif!important;color:#003368;background:#fff}
.md-public-offers *{box-sizing:border-box}
.md-public-offers [hidden]{display:none!important}
.md-public-offers :focus-visible{outline:3px solid #003368;outline-offset:3px}
.md-public-offers .md-public-icon{width:24px;height:24px;flex:none;display:inline-block;vertical-align:middle;color:inherit}
body.md-public-offers .container{max-width:1248px!important;padding:0 32px!important;width:100%}
body.md-public-offers #div_top{padding:22px 0;min-height:102px}
body.md-public-offers #div_top .row{margin:0}
body.md-public-offers .top_navbar{gap:32px;min-height:58px}
body.md-public-offers .logo_main{max-width:none;width:220px;flex:none}
body.md-public-offers .logo_main a{display:block;position:relative;width:220px;height:66px}
body.md-public-offers .logo_main img{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.md-public-logo{display:block;width:100%;height:100%;background:url('/theme/images/logo.png') left center/contain no-repeat}
body.md-public-offers .top_menu{flex:1;min-width:0}
body.md-public-offers .top_menu_list{width:100%;gap:12px;display:flex;align-items:center}
body.md-public-offers #obj_dropdown{order:-1;margin-right:auto;position:static}
body.md-public-offers #obj_login{order:2}
body.md-public-offers .top_menu_list>li>a>img{display:none}
body.md-public-offers .top_menu_list>li>a{padding:10px 24px;border:1px solid #003368;border-radius:2px;min-height:46px;font:600 16px/1.5 Montserrat,sans-serif;text-decoration:none;color:white;background:#003368;white-space:nowrap}
body.md-public-offers .top_menu_list>li>a[href='/Rejestracja']{background:#7AC319;color:#003368;border-color:#7AC319}
body.md-public-offers #menu_dropdown{padding:10px 14px;border-color:transparent;background:transparent;color:#003368}
.md-public-trigger-label{display:flex;align-items:center;gap:10px}
body.md-public-offers #menu_main_list{top:100%;right:32px;left:32px;max-height:70dvh;min-width:0;padding:20px;border:1px solid #E9EEF2;border-radius:6px;z-index:102}
body.md-public-offers #menu_main_list .menu_main_list_wrap{width:100%;padding:0}
body.md-public-offers #menu_main_list .menu_main_list_wrap>ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 20px}
body.md-public-offers #menu_main_list a{font-family:Montserrat,sans-serif;padding:12px 48px 12px 12px}
body.md-public-offers #menu_main_list li{float:none;width:auto}
body.md-public-offers #menu_main_list .md-submenu-toggle{height:48px;border-radius:3px}
body.md-public-offers #menu_login_list{width:330px;max-width:calc(100vw - 32px);padding:20px;right:0;left:auto;top:calc(100% + 12px);border:1px solid #d2dfe8;border-radius:6px;background:white;box-shadow:0 12px 40px #00336824;color:#003368}
body.md-public-offers #menu_login_list table{width:100%;font-family:inherit}
body.md-public-offers #menu_login_list td{padding:4px 0;color:#003368;font-size:14px;white-space:normal}
body.md-public-offers #menu_login_list input:not([type=image]):not([type=hidden]){width:100%;height:44px;border:1px solid #91a9bd;border-radius:3px;background:white;color:#003368;padding:10px;font:16px Montserrat,sans-serif}
body.md-public-offers #menu_login_list a{color:#003368;display:inline-flex;min-height:44px;align-items:center;font-size:14px}
.md-public-section-nav{background:#003368;color:white}
.md-public-section-nav>.container{display:flex;gap:30px;flex-wrap:wrap}
.md-public-section-nav a{display:flex;align-items:center;min-height:52px;font-size:15px;font-weight:600;color:white!important;text-decoration:none;border-bottom:3px solid transparent;padding:12px 0 9px}
.md-public-section-nav a[aria-current]{border-color:#7AC319}
.md-public-section-nav a:hover{border-color:white}
body.md-public-offers #div_page_path{background:#fff;padding:19px 0 0}
body.md-public-offers #div_page_content{padding:28px 0 0;font-family:Montserrat,sans-serif;font-size:17px;line-height:1.7}
body.md-public-offers #div_page_content>.container>.row{margin:0}
body.md-public-offers #div_page_content .page_col2_l{padding:0;float:none}
body.md-public-offers #div_page_content h1{font-size:40px;line-height:1.18;max-width:960px;letter-spacing:-.7px;font-weight:900;margin:0 0 22px}
body.md-public-offers #div_page_content .md-public-intro{max-width:1020px;margin-bottom:26px;line-height:1.7;font-size:16px;color:#435d75}
body.md-public-offers #div_page_content .md-public-intro h2{font-size:22px;font-weight:600;line-height:1.4;margin:0 0 14px}
.md-public-intro>br{display:none}
body.md-public-offers #div_page_content .md-public-small-heading{font-size:15px;font-weight:600;margin:0 0 12px}
body.md-public-offers .md-public-ages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}
body.md-public-offers .md-public-ages>.col-md-4{width:auto;float:none;padding:0}
body.md-public-offers #div_page_content .m_10{margin:0;background:white;border:1px solid #cbd9e4;border-radius:6px}
body.md-public-offers #div_page_content .m_10 a{padding:10px 14px;font-size:13px;font-weight:600;line-height:1.5;min-height:44px}
body.md-public-offers .page_col2_l>br{display:none}
/* F7 R3-K3 (19.09.2026): the rule above also removed the <br><br> separators of link lists that are direct children of the column
   (city links on the faces pages ran together: "GdanskAnonse"). Breaks that directly follow a link are kept, as in the legacy page. */
body.md-public-offers .page_col2_l>a+br,body.md-public-offers .page_col2_l>a+br+br{display:revert}
.md-public-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding-top:36px;margin-bottom:16px}
body.md-public-offers #div_page_content .md-public-list-heading h2{font-size:25px;font-weight:600;margin:0}
.md-public-list-heading p{margin:0;font-size:14px;color:#526b80}
body.md-public-offers .nav_lista_om{gap:20px;margin:0;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
body.md-public-offers .lista_om{padding:20px!important;border:1px solid #d7e1e9;border-radius:6px;box-shadow:0 2px 6px #00336807;min-width:0;height:100%;transition:border-color .15s}
body.md-public-offers .lista_om:hover{border-color:#91a9bd}
body.md-public-offers .lista_om_table>tbody>tr{display:grid;grid-template-columns:135px minmax(0,1fr);gap:0 20px;align-items:start}
body.md-public-offers .lista_om_table>tbody>tr>td.md-public-photo-col,
body.md-public-offers .lista_om_table>tbody>tr>td.md-public-details-col,
body.md-public-offers .md-public-details-col>table,
body.md-public-offers .md-public-details-col>table>tbody,
body.md-public-offers .md-public-details-col>table>tbody>tr{display:contents!important}
body.md-public-offers .md-public-photo-col>table:first-child{grid-column:1;grid-row:1 / 3;position:relative}
body.md-public-offers .lista_om td[background]{background-color:#EDF3F7!important;background-size:cover;background-position:center;position:relative;border-radius:6px;overflow:hidden}
body.md-public-offers .lista_om td[background]{background-image:var(--md-source-photo),url('/theme/public/assets/md2-ph-nophoto-k.svg')}
body.md-public-offers .lista_om td[background]>a{display:block;position:relative;width:135px;height:200px}
body.md-public-offers .lista_om td[background] img{width:135px;height:200px;display:block}
.md-public-photo-status{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:5px;padding:6px 3px;color:#003368;background:#ffffffef;font-size:10px;line-height:1.3}
.md-public-photo-status .md-public-icon{width:14px;height:14px}
body.md-public-offers .md-public-details-col .lista_om_user{grid-column:2;grid-row:1;padding:0 0 12px;min-width:0}
body.md-public-offers #div_page_content .lista_om_user>a{display:inline-flex;min-height:32px;align-items:center;font:700 18px/1.5 Montserrat,monospace;color:#AD0000;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;overflow-wrap:anywhere;max-width:100%}
body.md-public-offers .lista_om_info{font:400 14px/1.45 Montserrat,sans-serif;margin:11px 0 0;color:#526b80}
.md-public-fact{display:flex;gap:9px;align-items:flex-start;padding:5px 0;overflow-wrap:anywhere}
.md-public-fact .md-public-icon{width:18px;height:18px;color:#637f96;margin-top:1px}
.md-public-separator{display:none}
body.md-public-offers .md-public-details-col>table>tbody>tr>td[width='100%']{grid-column:2;grid-row:2;display:block;width:auto!important}
body.md-public-offers .lista_om_motto{padding:0!important;background:none!important;font-size:14px;line-height:1.55;color:#003368;border-radius:0}
body.md-public-offers .lista_om_motto i{font-style:italic;display:block;position:relative;border-top:1px solid #E9EEF2;padding:12px 0 0}
body.md-public-offers .lista_om_login_date{font-family:Montserrat,sans-serif;font-size:11px;padding-top:14px;color:#60758b}
body.md-public-offers .lista_om_btn{grid-column:1 / -1;grid-row:3;margin-top:20px;padding-top:12px!important;border-top:1px solid #E9EEF2;display:block}
body.md-public-offers .lista_om_btn>tbody,body.md-public-offers .lista_om_btn>tbody>tr,body.md-public-offers .lista_om_btn td,body.md-public-offers .lista_om_btn td>div{display:contents!important}
body.md-public-offers .lista_om_btn{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body.md-public-offers .lista_om_btn a{width:100%;min-height:56px;min-width:44px;padding:7px 2px;display:flex;flex-direction:column;gap:6px;border-radius:4px;text-decoration:none;font:400 11px/1.25 Montserrat,sans-serif;color:#526b80}
body.md-public-offers .lista_om_btn a:hover{background:#EDF3F7;color:#003368}
body.md-public-offers .lista_om_btn a>img{display:none}
body.md-public-offers .lista_om_btn a .md-public-icon{width:24px;height:24px;color:#003368}
body.md-public-offers .nav_lista_om~p[align=center]{margin:20px 0 0;font-size:14px;color:#526b80}
body.md-public-offers .nav_lista_om~p[align=center] br{display:none}
body.md-public-offers #div_page_content .md-public-regions-title{font-size:26px;font-weight:600;margin:42px 0 18px;padding-top:30px;border-top:1px solid #E9EEF2}
body.md-public-offers .md-public-regions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px;margin:0 0 28px}
body.md-public-offers .md-public-regions>div{width:auto;float:none;padding:0;border-bottom:1px solid #E9EEF2}
body.md-public-offers .md-public-regions a{display:flex;align-items:center;min-height:64px;font-size:13px;line-height:1.55;padding:10px 0}
.md-public-join{background:#003368;color:white;padding:42px 0}
.md-public-join>.container{display:flex;align-items:center;justify-content:space-between;gap:36px}
.md-public-join h2{color:white;font:600 28px/1.3 Montserrat,sans-serif;margin:0 0 10px}
.md-public-join p{margin:0;color:#d4e0ea;font-size:16px;line-height:1.6;max-width:620px}
.md-public-join a{display:inline-flex;align-items:center;justify-content:center;gap:18px;flex:none;background:#7AC319;color:#003368;border-radius:4px;min-height:50px;padding:14px 22px;font:600 16px/1.4 Montserrat,sans-serif;text-decoration:none}
.md-public-offers footer .footer-content>.row>div{width:100%;float:none}
.md-public-offers footer .footer-navigation{grid-template-columns:repeat(4,minmax(0,1fr))}
.md-public-offers footer .footer-column a,.md-public-offers footer .footer-column button,.md-public-offers footer .md-footer-help summary{font-family:Montserrat,sans-serif;font-size:14px;min-height:44px}
.md-public-offers footer .social-media a{min-width:44px;min-height:44px}
.md-public-offers footer .md-footer-help{font-size:14px}
.md-public-offers footer .md-footer-help summary{cursor:pointer;padding:8px 0;line-height:1.5}
.md-public-offers footer .md-footer-help[open]>ul{border-left:2px solid #d1dfe9;padding:0 0 0 12px}
.md-public-offers footer .row{margin:0}
.md-public-offers footer .row>div{padding-left:0;padding-right:0}
.md-public-offers #div_accept_cookies{font-family:Montserrat,sans-serif}
.md-public-offers #div_accept_cookies button{font-family:Montserrat,sans-serif;min-height:44px}
.md-public-offers dialog{border:1px solid #d7e1e9;border-radius:6px;padding:36px;width:480px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;color:#003368;font:400 17px/1.6 Montserrat,sans-serif}
.md-public-offers dialog::backdrop{background:#001c3e88}
.md-public-close{position:absolute;right:10px;top:10px;width:44px;height:44px;border:0;background:white;color:#003368;display:grid;place-items:center;border-radius:4px;cursor:pointer}
.md-public-dialog-icon{background:#EDF3F7;border-radius:50%;width:60px;height:60px;display:grid;place-items:center;margin-bottom:20px}
.md-public-offers dialog h2{font-size:28px;font-weight:600;margin:0 0 14px;color:#003368;line-height:1.25}
.md-public-dialog-actions{display:grid;gap:10px;margin:24px 0 18px}
.md-public-dialog-actions a,.md-public-dialog-actions button{display:block;text-align:center;font:600 16px/1.5 Montserrat,sans-serif;color:#003368;border:1px solid #003368;background:white;min-height:48px;padding:10px;border-radius:4px;text-decoration:none;cursor:pointer}
.md-public-dialog-actions a{background:#7AC319;border-color:#7AC319}
.md-public-offers .md-public-dialog-note{font-size:12px;color:#526b80;margin:0}
@media(max-width:1023px){
 body.md-public-offers .container{padding:0 24px!important}
 body.md-public-offers .logo_main,body.md-public-offers .logo_main a{width:185px}
 body.md-public-offers .top_navbar{gap:18px}
 body.md-public-offers .top_menu_list>li>a{padding:10px 14px;font-size:14px}
 body.md-public-offers .lista_om{padding:16px!important}
 body.md-public-offers .lista_om_table>tbody>tr{grid-template-columns:112px minmax(0,1fr);gap:0 14px}
 body.md-public-offers .lista_om td[background]>a,body.md-public-offers .lista_om td[background] img{width:112px;height:166px}
 .md-public-photo-status{font-size:9px}
 .md-public-section-nav>.container{gap:22px}
 .md-public-section-nav a{font-size:13px;min-height:48px}
 body.md-public-offers .md-public-regions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .md-public-list-heading p{display:none}
 .md-public-join>.container{align-items:flex-start;flex-direction:column;gap:24px}
 .md-public-offers footer .footer-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
 body.md-public-offers #div_top{padding:14px 0}
 body.md-public-offers .container{padding:0 20px!important}
 body.md-public-offers .top_navbar{display:block;position:relative}
 body.md-public-offers .logo_main,body.md-public-offers .logo_main a{width:174px;height:53px}
 body.md-public-offers .top_menu{margin:14px 0 0;width:100%}
 body.md-public-offers .top_menu_list{gap:10px}
 body.md-public-offers .top_menu_list>li{flex:1}
 body.md-public-offers .top_menu_list>li>a{justify-content:center;font-size:15px}
 body.md-public-offers #obj_dropdown{position:absolute;right:0;top:4px;width:auto}
 body.md-public-offers #menu_dropdown{padding:8px;min-height:44px}
 body.md-public-offers #menu_main_list{position:fixed;left:12px;right:12px;top:144px;max-height:calc(100dvh - 160px);padding:10px}
 body.md-public-offers #menu_main_list .menu_main_list_wrap>ul{grid-template-columns:1fr;gap:0}
 body.md-public-offers #menu_login_list{position:fixed;right:16px;top:144px;max-height:calc(100dvh - 160px);overflow:auto}
 .md-public-section-nav>.container{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
 .md-public-section-nav a{min-height:44px;font-size:12px;padding:8px 0 5px}
 body.md-public-offers #div_page_path{padding-top:15px;font-size:12px}
 body.md-public-offers #div_page_content{padding-top:22px}
 body.md-public-offers #div_page_content h1{font-size:30px;margin-bottom:20px;letter-spacing:-.5px}
 body.md-public-offers #div_page_content .md-public-intro h2{font-size:19px}
 body.md-public-offers #div_page_content .md-public-intro{font-size:15px;line-height:1.7;margin-bottom:24px}
 body.md-public-offers .md-public-ages{grid-template-columns:1fr 1fr;gap:8px}
 body.md-public-offers #div_page_content .m_10 a{font-size:11px;padding:10px;min-height:60px;display:flex;align-items:center}
 .md-public-list-heading{padding-top:28px}
 body.md-public-offers #div_page_content .md-public-list-heading h2{font-size:22px}
 body.md-public-offers .nav_lista_om{grid-template-columns:1fr;gap:16px}
 body.md-public-offers .lista_om_table>tbody>tr{grid-template-columns:112px minmax(0,1fr);gap:0 16px}
 body.md-public-offers .lista_om td[background]>a,body.md-public-offers .lista_om td[background] img{width:112px;height:166px}
 body.md-public-offers .md-public-photo-col>table:first-child{grid-row:1}
 body.md-public-offers .md-public-details-col>table>tbody>tr>td[width='100%']{grid-column:1 / -1;grid-row:2;margin-top:14px}
 body.md-public-offers #div_page_content .lista_om_user>a{font-size:16px;min-height:44px}
 body.md-public-offers .lista_om_info{font-size:13px;margin-top:4px}
 body.md-public-offers .lista_om_btn{margin-top:16px}
 body.md-public-offers .md-public-regions{grid-template-columns:1fr;gap:0;margin-bottom:20px}
 body.md-public-offers .md-public-regions a{min-height:52px;font-size:13px}
 body.md-public-offers #div_page_content .md-public-regions-title{font-size:23px;margin-top:30px}
 .md-public-join{padding:32px 0}
 .md-public-join h2{font-size:26px}
 .md-public-join p{font-size:15px}
 .md-public-join a{font-size:15px;width:100%;padding:14px}
 .md-public-offers footer .footer-navigation{gap:26px 20px}
 .md-public-offers footer .footer-column a,.md-public-offers footer .footer-column button,.md-public-offers footer .md-footer-help summary{font-size:13px}
 .md-public-offers dialog{padding:28px 24px}
}
@media(prefers-reduced-motion:reduce){body.md-public-offers .lista_om{transition:none}}

body.md-public-offers #menu_dropdown>img{display:none}


/* Clear fixed dimensions from the old table theme; content controls card height. */
body.md-public-offers .lista_om_table{padding:0!important;border:0!important}
body.md-public-offers .lista_om_table td{padding:0}
body.md-public-offers .lista_om_info{height:auto;min-height:0;padding:0}
body.md-public-offers .lista_om_motto{height:auto;min-height:0;color:#003368}
body.md-public-offers .lista_om_motto td,body.md-public-offers .lista_om_motto i{color:#003368}
body.md-public-offers .lista_om_btn{display:flex!important;gap:8px}
body.md-public-offers .lista_om_btn a{flex:1;min-width:0;width:auto;text-align:center}
body.md-public-offers .lista_om_btn .md-public-action-label{display:block;max-width:100%}
body.md-public-offers .lista_om_btn a[data-mfp-src*="dir_=online"] .md-public-icon{color:#467a09}
/* Bootstrap clearfix pseudo-elements must not consume grid cells. */
body.md-public-offers .md-public-ages::before,body.md-public-offers .md-public-ages::after,
body.md-public-offers .md-public-regions::before,body.md-public-offers .md-public-regions::after,
.md-public-section-nav>.container::before,.md-public-section-nav>.container::after,
.md-public-join>.container::before,.md-public-join>.container::after{display:none}
body.md-public-offers .lista_om_user{padding-left:0!important}
body.md-public-offers .lista_om .lista_om_login_date{padding-top:10px;font-size:11px;color:#60758b}
body.md-public-offers .lista_om_table>tbody>tr>td:not([class]){display:none}
body.md-public-offers .lista_om>table,body.md-public-offers .lista_om_table{height:100%!important}
body.md-public-offers .lista_om_table>tbody>tr{height:100%;grid-template-rows:auto 1fr auto}
body.md-public-offers .lista_om_btn{align-self:end}

.md-public-offers b,.md-public-offers strong{font-weight:600}
.md-public-heart{position:relative;display:inline-flex}
.md-public-heart small{position:absolute;right:-5px;bottom:-5px;font:600 15px/16px Montserrat,sans-serif;background:white;color:#003368;border-radius:50%;width:16px;text-align:center}
body.md-public-offers .nav_lista_om:not(:has(>li))+.md-public-empty{display:block!important;padding:32px;border:1px solid #d7e1e9;border-radius:6px;background:#EDF3F7}
body.md-public-offers .md-public-empty h3{margin:0 0 12px!important}
body.md-public-offers .md-public-empty a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline}
/* Legacy dropdown JS adds .firstlast; data attributes remain the stable hook. */
body.md-public-offers #menu_main_list .menu_main_list_wrap{background:#fff;border:0;border-radius:0}
body.md-public-offers #menu_main_list .menu_main_arrow,body.md-public-offers #menu_main_list .divider{display:none}
body.md-public-offers #menu_main_list li{position:relative}
body.md-public-offers #menu_main_list .menu_main_list_wrap>ul>li{border-bottom:1px solid #E9EEF2}
body.md-public-offers #menu_main_list .menu_main_list_wrap>ul>li>a{background:none;color:#003368}
body.md-public-offers #menu_main_list a:hover{background:#EDF3F7!important;color:#003368!important}
body.md-public-offers #menu_main_list .md-submenu-toggle[aria-expanded=true]::after{content:'\2212'}
body.md-public-offers #menu_login_list .menu_login_list_wrap{background:white;border:0;border-radius:0;padding:0;width:auto}
body.md-public-offers #menu_login_list .menu_login_arrow{display:none}
body.md-public-offers #menu_login_list .md-public-login-title{font:600 24px/1.3 Montserrat,sans-serif;color:#003368;text-align:left;margin:0 0 20px}
body.md-public-offers #menu_login_list .menu_login_list_row{padding:0;margin:0 0 12px;width:100%;color:#526b80}
body.md-public-offers #menu_login_list .md-public-field-label{display:block;text-align:left;font:600 14px/1.5 Montserrat,sans-serif;color:#003368;margin:0}
body.md-public-offers #menu_login_list input:not([type=image]):not([type=hidden]){display:block;text-align:left;margin:6px 0 0;font-weight:400}
.md-public-submit{position:relative;display:grid;place-items:center;min-height:46px;border-radius:3px;background:#003368;color:white;font:600 16px/1.5 Montserrat,sans-serif}
body.md-public-offers #menu_login_list .md-public-submit input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.md-public-submit:focus-within{outline:3px solid #003368;outline-offset:3px}
body.md-public-offers #menu_login_list a[href='/facebook.php']{display:flex;justify-content:center;min-height:46px;border:1px solid #c1d0dd;border-radius:3px;font-weight:600;text-decoration:none}
body.md-public-offers #menu_login_list a[href='/facebook.php'] img{display:none}


/* ===== D8 catalogs.css (package 08 catalogs) ===== */
/* Packet 08: old public faces, stories and geographic guide. */
body.md-public-offers #div_oferty{padding:32px 0 44px;background:#EDF3F7}
body.md-public-offers #div_oferty .row{margin:0}
body.md-public-offers #div_oferty .swiper-container{width:100%;overflow:visible;padding:0}
body.md-public-offers #div_oferty .swiper-wrapper{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;transform:none!important;width:100%!important;height:auto!important}
body.md-public-offers #div_oferty .swiper-slide{width:auto!important;height:auto!important;margin:0!important;min-width:0}
body.md-public-offers #div_oferty .frame1{height:100%;border:1px solid #d5e1ea;border-radius:6px;overflow:hidden;background:white;transition:none}
body.md-public-offers #div_oferty .frame1_link{display:grid;grid-template-columns:112px minmax(0,1fr);gap:0 16px;padding:20px;height:100%;text-decoration:none;align-content:start}
body.md-public-offers #div_oferty .frame1_img{width:112px;height:166px;grid-column:1;grid-row:1 / 4;object-fit:cover;border-radius:4px;align-self:start;position:static;margin:0}
body.md-public-offers #div_oferty .frame1_img_px{display:none}
body.md-public-offers #div_oferty .frame1_link span:not(.md-face-cta){display:flex;align-items:start;gap:8px;grid-column:2;line-height:1.5;font-size:14px;padding:5px 0!important;min-width:0;overflow-wrap:anywhere;color:#003368;background:none}
body.md-public-offers #div_oferty .frame1_link .md-public-icon{width:18px;height:18px;flex:none;margin-top:2px}
body.md-public-offers #div_oferty .frame1_wiek{font-weight:600}
body.md-public-offers #div_oferty .md-face-cta{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:14px 0 0;margin-top:18px;border-top:1px solid #E9EEF2;font:600 15px/1.5 Montserrat,sans-serif;min-height:44px}
body.md-public-offers #div_oferty .frame1_link:hover .md-face-cta{text-decoration:underline}
body.md-public-offers #div_oferty .swiper-button-prev,body.md-public-offers #div_oferty .swiper-button-next,body.md-public-offers #div_oferty .swiper-pagination{display:none!important}
body.md-public-offers #div_rejestracja{background:#003368;color:white;padding:36px 0}
body.md-public-offers #div_rejestracja .reg_table{max-width:680px!important;margin:auto;width:100%}
body.md-public-offers #div_rejestracja input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=image]),body.md-public-offers #div_rejestracja select{min-height:46px;font-size:16px;background:white;color:#003368;border:1px solid #91a9bd;border-radius:4px;padding:8px;max-width:100%}
body.md-public-offers #div_rejestracja .home_reg_label{font:400 15px/1.6 Montserrat,sans-serif;color:white}
body.md-public-offers #div_rejestracja .home_reg_label_green{font-size:13px;color:#7AC319}
body.md-public-offers #div_rejestracja a{color:white}
body.md-public-offers #div_rejestracja .md-consent-overview{color:white}
body.md-public-offers #div_rejestracja .md-consent-overview button{background:white;color:#003368;padding:8px 12px;border:0;border-radius:4px;min-height:44px}
body.md-public-offers #div_page_content .page_col2_l>h2{font-size:23px;line-height:1.4;margin:20px 0 12px}
body.md-public-offers #div_page_content .page_col2_l{line-height:1.7}
body.md-public-offers .page_col2_l>.col-md-4{margin:6px 0}
.md-catalog-empty{max-width:760px;padding:32px;background:white;border:1px solid #d5e1ea;border-radius:6px}
.md-catalog-empty h2{margin-top:0}
.md-catalog-empty a{display:inline-flex;align-items:center;min-height:44px;color:#003368;text-decoration:underline}
body[data-md-catalog=stories] #div_page_list{padding-top:0}
body[data-md-catalog=stories] #div_page_list .page_wall{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;position:static!important;height:auto!important;margin:0;width:100%}
body[data-md-catalog=stories] #div_page_list .page_wall_box{position:static!important;float:none!important;transform:none!important;top:auto!important;left:auto!important;width:auto!important;margin:0!important;padding:0!important;min-width:0;display:block}
body[data-md-catalog=stories] .frame6_box_top,body[data-md-catalog=stories] .frame6_box_bottom{display:none}
body[data-md-catalog=stories] #div_page_list .frame6{display:flex;flex-direction:column;width:100%;height:100%;padding:0!important;margin:0;border:1px solid #d5e1ea;border-radius:6px;overflow:hidden;background:white}
body[data-md-catalog=stories] #div_page_list .frame6_img{margin:0;width:100%;height:auto;background:#EDF3F7;float:none;text-align:center}
body[data-md-catalog=stories] #div_page_list .frame6_img a{display:block}
body[data-md-catalog=stories] #div_page_list .frame6_img img{width:100%;height:260px;max-height:none;object-fit:contain;display:block;margin:0}
body[data-md-catalog=stories] #div_page_list .frame6_title{padding:22px 24px 10px;margin:0;text-align:left}
body[data-md-catalog=stories] #div_page_list .frame6_title a{font-size:22px;line-height:1.35;font-weight:600;color:#003368;text-decoration:none;display:block}
body[data-md-catalog=stories] #div_page_list .frame6_text{padding:0 24px 20px;margin:0;font-size:15px;line-height:1.8;text-align:left;max-height:none;height:auto;overflow:visible;display:block;color:#435d75}
body[data-md-catalog=stories] #div_page_list .md-story-read{margin:auto 24px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #E9EEF2;padding:14px 0;color:#003368;font-size:14px;font-weight:600;min-height:52px;text-decoration:none}
body[data-md-catalog=stories] #div_page_list .md-story-read:hover{text-decoration:underline}
.md-story-categories{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px}
.md-story-categories a,.md-guide-actions a{display:flex;align-items:center;min-height:46px;padding:10px 16px;border:1px solid #b9ccda;border-radius:6px;font-size:14px;line-height:1.5;color:#003368;text-decoration:none;background:white}
.md-story-categories a[aria-current]{background:#003368;border-color:#003368;color:white}
.md-guide-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 28px}
.md-guide-actions a:first-child{background:#7AC319;border-color:#7AC319;font-weight:600}
body[data-md-catalog=guide] .order-lg-0>p{line-height:1.8;text-align:left!important}
body[data-md-catalog=guide] .order-lg-0>img{float:none!important;display:block;max-width:100%;margin:24px 0;height:auto}
body[data-md-catalog=guide] .order-lg-0>h3{padding-top:24px;margin-top:24px;border-top:1px solid #E9EEF2}
body[data-md-catalog=guide] .order-lg-0>ul{padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
body[data-md-catalog=guide] .order-lg-0>ul>li{padding:10px 0;border-bottom:1px solid #E9EEF2;margin:0;font-size:14px}
body[data-md-catalog] :focus-visible{outline:3px solid #003368;outline-offset:3px}
@media(max-width:1023px){body.md-public-offers #div_oferty .swiper-wrapper{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-md-catalog=stories] #div_page_list .frame6_img img{height:220px}}
@media(max-width:767px){body.md-public-offers #div_oferty .swiper-wrapper{grid-template-columns:1fr;gap:16px}body.md-public-offers #div_oferty .frame1_link{grid-template-columns:112px minmax(0,1fr);padding:16px}body.md-public-offers #div_rejestracja .reg_table>tbody>tr:not([data-legacy-consent]){display:block;margin-bottom:12px}body.md-public-offers #div_rejestracja .reg_table>tbody>tr>td{display:block;width:100%;text-align:left}body.md-public-offers #div_rejestracja .home_reg_input{width:100%}body[data-md-catalog=stories] #div_page_list .page_wall{grid-template-columns:1fr;gap:20px}body[data-md-catalog=stories] #div_page_list .frame6_title{padding:20px 20px 10px}body[data-md-catalog=stories] #div_page_list .frame6_title a{font-size:21px}body[data-md-catalog=stories] #div_page_list .frame6_text{padding:0 20px 16px;font-size:14px}body[data-md-catalog=stories] #div_page_list .md-story-read{margin-left:20px;margin-right:20px}.md-story-categories{gap:8px}.md-story-categories a{font-size:12px;padding:8px 10px}.md-guide-actions{display:grid}.md-guide-actions a{font-size:13px}body[data-md-catalog=guide] .order-lg-0>ul{grid-template-columns:1fr}}
body.md-public-offers #div_oferty .swiper-container{max-width:none!important;width:100%!important;padding-left:0!important;padding-right:0!important;margin:0!important}
body.md-public-offers #div_oferty .swiper-wrapper{grid-template-columns:repeat(2,minmax(0,1fr))}
body.md-public-offers #div_oferty .swiper_prev,body.md-public-offers #div_oferty .swiper_next,body.md-public-offers #div_oferty [class*='swiper-button'],body.md-public-offers #div_oferty .slider_arrow_left,body.md-public-offers #div_oferty .slider_arrow_right{display:none!important}
body.md-public-offers #div_oferty .frame1_link[data-registration-card]{background:#003368;color:white}
body.md-public-offers #div_oferty .frame1_link[data-registration-card] .frame1_btn_green{color:white!important;font-size:18px!important;align-self:center}
body.md-public-offers #div_oferty .frame1_link[data-registration-card] .md-face-cta{color:white;border-color:#6d849e}
body.md-public-offers[data-md-sex=m] .lista_om td[background]{background-image:var(--md-source-photo),url('/theme/public/assets/md2-ph-nophoto-m.svg')}
body[data-md-catalog=stories] #div_page_list .md-story-categories a[aria-current]{background:#003368!important;color:white!important;border-color:#003368}
body[data-md-catalog] [hidden],.nav_wydarzenia>[hidden]{display:none!important}
body[data-md-event-list] .nav_wydarzenia{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
body[data-md-event-list] .nav_wydarzenia>li{width:auto!important;min-width:0;margin:0;padding:20px;border:1px solid #d5e1ea;border-radius:6px;background:white}
body[data-md-event-list] .div_frame2_wrapper{max-width:100%;width:auto!important}
body[data-md-event-list] .div_frame2_container_topic{font-size:21px!important;line-height:1.4}
body[data-md-event-list] .div_frame2_container_topic a{color:#003368!important;font-weight:600;text-decoration:none}
body[data-md-event-list] .div_frame2_container_text{font-size:14px;line-height:1.6;color:#526b80}
body[data-md-event-list] .md-event-details{border-top:1px solid #d5e1ea;padding-top:12px;margin-top:16px}
body[data-md-event-list] .md-event-details summary{min-height:44px;font-size:14px;font-weight:600;line-height:1.6;cursor:pointer;color:#003368}
body[data-md-event-list] .md-event-details[open]{background:#EDF3F7;padding:16px;border-radius:4px}
body[data-md-event-list] .div_frame2_container_details{font-size:14px!important;line-height:1.75!important;text-align:left!important}
@media(max-width:767px){body.md-public-offers #div_oferty .swiper-wrapper{grid-template-columns:1fr}body[data-md-event-list] .nav_wydarzenia{grid-template-columns:1fr;gap:16px}body[data-md-event-list] .nav_wydarzenia>li{padding:16px}body[data-md-event-list] .div_frame2_container_topic{font-size:19px!important}}

/* Release the legacy carousel gutters before composing C01 compact cards. */
body.md-public-offers #div_oferty [id^=slider_twarze]{padding:0!important;width:100%!important;max-width:none!important}
body.md-public-offers #div_oferty .swiper-wrapper{grid-template-columns:repeat(2,minmax(0,1fr))}
body.md-public-offers #div_oferty .swiper-slide{padding:0!important;display:block!important}
body.md-public-offers #div_oferty .frame1_link span{overflow:visible!important;text-overflow:clip!important;white-space:normal!important}
body.md-public-offers #div_oferty .swiper-prev,body.md-public-offers #div_oferty .swiper-next{display:none!important}
@media(max-width:767px){body.md-public-offers #div_oferty .swiper-wrapper{grid-template-columns:1fr}}

/* Override inherited !important card resets while preserving all native nodes. */
body[data-md-catalog=stories] #div_page_list .frame6_title{padding:22px 24px 10px!important}
body[data-md-catalog=stories] #div_page_list .frame6_text{padding:0 24px 20px!important;line-height:1.8!important}
body[data-md-catalog=stories] #div_page_list .frame6_img img{width:100%!important;height:260px!important;max-width:none!important;object-fit:contain!important}
@media(max-width:767px){body[data-md-catalog=stories] #div_page_list .frame6_title{padding:20px 20px 10px!important}body[data-md-catalog=stories] #div_page_list .frame6_text{padding:0 20px 16px!important}body[data-md-catalog=stories] #div_page_list .frame6_img img{height:220px!important}}


/* ===== D8 functional.css (search results, forms, confirmations, 404) ===== */
/* Functional variants layered over the retained native HTML. */
body[data-md-functional] [hidden]{display:none!important}
body[data-md-functional] :focus-visible{outline:3px solid #003368;outline-offset:3px}
body[data-md-functional] #div_page_content{padding:48px 0 64px;color:#003368;font-size:16px;line-height:1.7;background:white}
body[data-md-functional] #div_page_content>.container{max-width:1200px;padding:0 32px}
body[data-md-functional] #div_page_content .page_col2_l{max-width:860px;margin:0 auto;float:none;padding:0 12px;width:100%}
body[data-md-functional] #div_page_content h1{font-size:36px;line-height:1.25;margin:0 0 24px;color:#003368;font-weight:600}
body[data-md-functional] #div_page_content .page_title{margin:0;padding:0}
body[data-md-functional] #div_page_content .page_col2_l>br{display:none}
body[data-md-functional] [data-search-results]{max-width:1020px;margin:0 auto;padding:0 32px 44px;overflow-wrap:anywhere}
body[data-md-functional] [data-search-results]>hr{margin:20px 0;border:0;border-top:1px solid #d5e1ea}
body[data-md-functional] [data-search-results]>br{display:none}
body[data-md-functional] [data-search-results] form{padding:24px;background:#EDF3F7;border-radius:6px;margin:0 0 24px}
body[data-md-functional] [data-search-results] form table{width:100%;margin:0}
body[data-md-functional] [data-search-results] form td{padding:0;vertical-align:bottom;border:0}
body[data-md-functional] [data-search-results] form td:last-child{width:130px;padding-left:12px}
body[data-md-functional] [data-search-results] form input[name=word]{width:100%!important;font-family:inherit;font-size:17px;font-weight:400;line-height:1.5;height:48px;border:1px solid #9bb1c4;border-radius:4px;background:white;color:#003368;padding:10px 14px}
.md-functional-label{display:block;margin:0;font-size:15px;font-weight:600;line-height:1.5;color:#003368}
.md-functional-label input{display:block;margin:8px 0 0}
body[data-md-functional] [data-search-results] .menu_user_btn2{display:flex;min-height:48px;align-items:center;justify-content:center;background:#003368;color:white;border:0;border-radius:4px;text-decoration:none;font-size:15px;padding:10px 20px}
body[data-md-functional] [data-search-results]>.linki_color,body[data-md-functional] [data-search-results]>a:not(.link2){display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid #c8d8e5;border-radius:4px;margin:4px;padding:6px 10px;color:#003368;font-size:14px}
body[data-md-functional] [data-search-results]>.linki_color{background:#003368;color:white}
.md-search-result{border-bottom:1px solid #d5e1ea;padding:24px 0;font-size:12px;line-height:1.6;color:#526b80;overflow-wrap:anywhere}
body[data-md-functional] .md-search-result>a.link2{display:block;font-size:21px;font-weight:600;line-height:1.4;color:#003368;margin:0 0 12px;text-decoration:none;max-width:850px}
body[data-md-functional] .md-search-result>a.link2:hover{text-decoration:underline}
.md-search-result>br{display:none}
.md-search-result>span{display:inline-block;margin-right:8px}
.md-search-result>span:last-of-type{display:block;margin-top:6px;color:#526b80!important}
.md-search-guidance{padding:24px;border:1px solid #d5e1ea;border-radius:6px;margin:24px 0;background:white}
.md-search-guidance h2{font-size:23px!important;line-height:1.35;margin:0 0 12px!important}
.md-search-guidance p{font-size:15px;line-height:1.7;margin:0 0 16px}
.md-search-guidance nav,.md-missing-guide nav{display:flex;gap:10px;flex-wrap:wrap}
.md-search-guidance a,.md-missing-guide a{display:flex;align-items:center;min-height:46px;padding:10px 14px;border:1px solid #b9ccda;border-radius:4px;color:#003368;font-size:14px;text-decoration:none}
body[data-md-functional] [data-preview-functional=contact],body[data-md-functional] [data-preview-functional=event]{max-width:860px;margin:28px auto 0;text-align:left}
body[data-md-functional] #subpage-content .profilz_lista_row,body[data-md-functional] #div_page_content .profilz_lista_row{display:block;padding:0 0 20px!important;background:white;border:0;margin:0;width:100%}
body[data-md-functional] .profilz_lista_row .tabela_lista{float:none;width:100%;max-width:none;padding:0;margin:0;color:#003368;font-size:15px;line-height:1.5}
body[data-md-functional] .profilz_lista_row .tabela_lista>b{display:block;font-size:14px;font-weight:600;line-height:1.5;margin:0 0 7px}
body[data-md-functional] .profilz_lista_tr0,body[data-md-functional] .profilz_lista_tr1{background:white!important}
body[data-md-functional] .profilz_lista_row input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=image]),body[data-md-functional] .profilz_lista_row textarea,body[data-md-functional] .profilz_lista_row select{box-sizing:border-box;width:100%!important;max-width:100%;border:1px solid #9bb1c4;border-radius:4px;min-height:48px;padding:10px 12px;background:#fff;font:400 16px/1.5 Montserrat,Arial,sans-serif;color:#003368;box-shadow:none}
body[data-md-functional] .profilz_lista_row textarea{height:180px;resize:vertical}
body[data-md-functional] .profilz_lista_row input[type=checkbox],body[data-md-functional] .profilz_lista_row input[type=radio]{width:20px;height:20px;accent-color:#003368;vertical-align:middle;margin:10px 8px 10px 0;flex:none}
body[data-md-functional] .profilz_lista_row input[type=file]{padding:10px;font-size:14px}
body[data-md-functional] .profilz_lista_row .col-xs-12{width:100%}
body[data-md-functional] .profilz_lista_row font[size='1']{font-size:13px;line-height:1.7;color:#526b80}
body[data-md-functional] .profilz_lista_row p{font-size:14px;line-height:1.7!important;margin:0 0 12px!important;text-align:left!important}
.md-contact-privacy{border-top:1px solid #d5e1ea;margin:12px 0 0;padding:12px 0}
.md-contact-privacy summary{font-size:14px;line-height:1.5;font-weight:600;cursor:pointer;min-height:44px;display:list-item}
.md-contact-privacy[open] summary{margin-bottom:12px}
body[data-md-functional] a:has(.md-send-label){display:inline-flex;align-items:center;justify-content:center;min-height:50px;background:#7AC319;color:#003368;padding:12px 28px;border-radius:4px;text-decoration:none;font-size:16px;font-weight:600}
body[data-md-functional] a:has(.md-send-label)>img{display:none}
.md-form-summary{padding:20px 24px;margin-bottom:24px;border:1px solid #AD0000;border-left-width:4px;border-radius:4px;background:#fff;color:#003368}
.md-form-summary h2{font-size:21px!important;margin:0 0 10px!important;color:#AD0000!important}
.md-form-summary p{font-size:15px;line-height:1.7;margin:0}
.md-field-error{display:block;color:#AD0000;font-size:13px;line-height:1.5;margin-top:6px}
body[data-md-functional] [aria-invalid=true]{border-color:#AD0000!important}
.md-confirm-mark{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#EDF3F7;color:#003368;margin-bottom:24px}
body[data-md-functional$=potwierdzenie] #div_page_content{padding:60px 0 70px;min-height:470px}
body[data-md-functional$=potwierdzenie] #div_page_content .page_col2_l{max-width:790px}
.md-confirm-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:32px auto 0;padding:0 24px}
.md-confirm-actions a{display:flex;align-items:center;min-height:46px;padding:10px 20px;border:1px solid #003368;border-radius:4px;color:#003368;font-size:14px;text-decoration:none}
.md-missing-guide{border-left:4px solid #003368;padding:4px 0 4px 24px;margin:24px 0 32px}
.md-missing-guide p{font-size:17px;line-height:1.7;margin:0 0 22px}
body[data-md-functional=strona-404] .order-lg-0>p{font-size:15px;line-height:1.7}
body[data-md-functional=strona-404] .m_10{border:1px solid #d5e1ea;padding:10px;margin:8px 0}
body[data-md-functional=strona-404] .m_10 a{font-size:13px;display:block;min-height:44px}
@media(max-width:767px){body[data-md-functional] #div_page_content{padding:28px 0 40px}body[data-md-functional] #div_page_content>.container{padding:0 20px}body[data-md-functional] #div_page_content .page_col2_l{padding:0}body[data-md-functional] #div_page_content h1{font-size:28px}body[data-md-functional] [data-search-results]{padding:0 20px 30px}body[data-md-functional] [data-search-results] form{padding:18px}body[data-md-functional] [data-search-results] form table,body[data-md-functional] [data-search-results] form tbody,body[data-md-functional] [data-search-results] form tr,body[data-md-functional] [data-search-results] form td{display:block;width:100%}body[data-md-functional] [data-search-results] form td:last-child{width:100%;padding:12px 0 0}.md-search-guidance{padding:20px}.md-search-guidance nav,.md-missing-guide nav{display:grid;grid-template-columns:1fr}.md-search-result{padding:20px 0}body[data-md-functional] .md-search-result>a.link2{font-size:18px}.md-missing-guide{padding-left:16px}.md-form-summary{padding:18px}.md-confirm-actions{display:grid}.md-confirm-actions a{justify-content:center}.md-contact-privacy table{width:100%;max-width:100%}}

body[data-md-functional] #subpage-content .profilz_lista_row input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=image]),body[data-md-functional] #subpage-content .profilz_lista_row textarea{background:white!important;border:1px solid #9bb1c4!important;border-radius:4px!important;color:#003368!important;font-size:16px!important}
body[data-md-functional] #subpage-content .profilz_lista_row [aria-invalid=true]{border-color:#AD0000!important}
.md-native-submit{position:relative;display:inline-grid;place-items:center;min-height:50px;min-width:230px;padding:12px 24px;background:#7AC319;color:#003368;font-size:16px;font-weight:600;border-radius:4px}
.md-native-submit input[type=image]{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.md-native-submit:focus-within{outline:3px solid #003368;outline-offset:3px}
body[data-md-functional] .g-recaptcha{min-height:80px;max-width:304px;border:1px solid #b9ccda;border-radius:4px;background:#EDF3F7;display:flex;align-items:center;justify-content:center;margin:16px 0}
body[data-md-functional] .g-recaptcha:empty:after{content:'Weryfikacja bezpiecze\144 stwa';font-size:14px;color:#003368;padding:16px}

body[data-md-functional] [data-search-results] .menu_user_btn2{background:#003368!important;color:white!important}

.md-contact-consent-label{display:block;font-size:14px;line-height:1.6;cursor:pointer}.md-contact-consent-label font{font-size:14px!important}


/* ===== D8 consistency.css (R1 typography/header/link consistency for all 83) ===== */
/* Public presentation contract R1: retained source HTML, explicit component roles. */
:root{--md-public-font:Montserrat,Arial,sans-serif;--md-ink:#003368;--md-link:#003368;--md-prose-size:16px;--md-prose-leading:1.75;--md-title-size:40px;--md-title-leading:1.25;--md-section-size:26px;--md-subsection-size:22px}
body.md-public-offers{font-family:var(--md-public-font)!important}
html body :is(#subpage-content,#div_page_content) h1.md-page-heading{font-family:var(--md-public-font)!important;font-size:var(--md-title-size)!important;font-weight:600!important;line-height:var(--md-title-leading)!important;letter-spacing:-.6px!important;margin:0 0 24px!important;max-width:1020px;color:var(--md-ink)!important;text-align:left!important;overflow-wrap:anywhere}
html body :is(#subpage-content,#div_page_content) h2.md-content-heading{font-family:var(--md-public-font)!important;font-size:var(--md-section-size)!important;font-weight:600!important;line-height:1.4!important;letter-spacing:-.2px!important;margin:32px 0 16px!important;color:var(--md-ink)!important}
html body :is(#subpage-content,#div_page_content) h3.md-content-heading{font-family:var(--md-public-font)!important;font-size:var(--md-subsection-size)!important;font-weight:600!important;line-height:1.45!important;letter-spacing:0!important;margin:28px 0 14px!important;color:var(--md-ink)!important}
html body :is(#subpage-content,#div_page_content) a.md-inline-link{color:var(--md-link)!important;font-family:inherit;font-size:inherit;font-weight:600;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:3px!important;overflow-wrap:anywhere}
html body :is(#subpage-content,#div_page_content) a.md-inline-link :is(font,span,b,strong){color:inherit!important;font-family:inherit!important;font-size:inherit!important}
html body :is(#subpage-content,#div_page_content) a.md-inline-link:hover{color:#AD0000!important;text-decoration-thickness:2px!important}
/* One header treatment for every opted-in public catalog, matching theme typography. */
body.md-public-offers #div_top{padding:16px 0;min-height:102px}
body.md-public-offers .logo_main,body.md-public-offers .logo_main a{width:235px}
body.md-public-offers .top_menu_list>li>a,body.md-public-offers #menu_main_list a,body.md-public-offers #menu_login_list :is(a,input,label,h2,span){font-family:var(--md-public-font)!important}
body.md-public-offers .top_menu_list>li>a{font-size:15px;line-height:22px;min-height:46px;border-radius:6px}
body.md-public-offers .md-public-section-nav>.container{gap:0 28px;align-items:stretch}
body.md-public-offers .md-public-section-nav a{font:600 13px/20px var(--md-public-font);min-height:52px;padding:15px 0 12px;white-space:normal}
body.md-public-offers #div_page_content{font:400 var(--md-prose-size)/var(--md-prose-leading) var(--md-public-font)}
body.md-public-offers #div_page_content .page_title{padding:0;margin:0}
body.md-public-offers #div_page_content .md-public-intro{max-width:76ch;font:400 var(--md-prose-size)/var(--md-prose-leading) var(--md-public-font);color:#003368;margin:0 0 32px}
body.md-public-offers #div_page_content .md-public-intro>h2:first-child{margin-top:0!important}
body.md-public-offers #div_page_content .md-public-intro :is(p,div,li){font-size:inherit;line-height:inherit}
body.md-public-offers #div_page_content .md-public-intro p{margin:0 0 16px}
body.md-public-offers #div_page_content .md-public-small-heading{font:600 18px/1.5 var(--md-public-font);margin:0 0 12px}
body.md-public-offers .md-public-ages{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;margin:0 0 0!important;padding:0}
body.md-public-offers .md-public-ages>div{width:auto!important;padding:0!important;margin:0!important;float:none;min-width:0}
body.md-public-offers .md-public-ages>div>div{height:100%;border:1px solid #cbd9e4;border-radius:6px;margin:0!important;background:#fff}
body.md-public-offers #div_page_content .md-public-ages a{display:flex;align-items:center;min-height:52px;height:100%;padding:12px 14px;font:600 13px/1.5 var(--md-public-font);text-decoration:none;color:#003368;overflow-wrap:anywhere}
body.md-public-offers #div_page_content .md-public-ages a:hover{background:#EDF3F7;text-decoration:underline}
body.md-public-offers .md-public-list-heading{padding-top:36px;margin:0 0 20px;align-items:baseline}
body.md-public-offers #div_page_content .md-public-list-heading h2{font:600 var(--md-section-size)/1.4 var(--md-public-font);letter-spacing:-.2px;margin:0}
body.md-public-offers .md-public-list-heading p{font:400 13px/1.5 var(--md-public-font);color:#526b80}
/* The highlighted legacy table differs only by its outline, never its layout. */
body.md-public-offers .lista_om_table_wyr{border:0!important;outline:0!important;background:none!important}
body.md-public-offers .lista_om_table_wyr>tbody>tr>td{border:0!important;background:none!important}
body.md-public-offers .lista_om.md-public-featured{border-color:#91a9bd;box-shadow:inset 0 3px 0 #003368}
body.md-public-offers .lista_om_btn{align-items:stretch;gap:8px!important}
body.md-public-offers .lista_om_btn a{font-family:var(--md-public-font)!important;font-size:11px;line-height:1.45;justify-content:flex-start}
body.md-public-offers .lista_om_info,body.md-public-offers .lista_om_login_date,body.md-public-offers .lista_om_motto{font-family:var(--md-public-font)!important}
body.md-public-offers .lista_om_info{font-size:13px;line-height:1.5}
body.md-public-offers .lista_om_motto{font-size:14px;line-height:1.7}
body.md-public-offers .lista_om td[background]>a,body.md-public-offers .lista_om td[background] img{width:135px;height:200px;max-width:none!important}
body.md-public-offers .lista_om td[background]>a{overflow:hidden}
body.md-public-offers .lista_om td[background]{width:135px!important;min-width:135px;max-width:135px!important}
body.md-public-offers #div_oferty .frame1_link{font-family:var(--md-public-font);padding:20px;border-radius:6px}
body.md-public-offers #div_oferty .frame1_wiek,body.md-public-offers #div_oferty .md-face-cta{font-family:var(--md-public-font)!important}
body.md-public-offers footer :is(h2,a,button,summary),body.md-public-offers #div_accept_cookies,body.md-public-offers .md-public-join :is(h2,p,a){font-family:var(--md-public-font)!important}
/* Compact editorial faces retain carousel, data and native access controls. */
#faces-of .person{padding:12px;border:1px solid #d7e1e9;border-radius:6px;background:#fff;box-shadow:none;height:100%;text-align:left}
#faces-of .person>a{display:block!important;text-decoration:none!important;color:#003368}
#faces-of .person>a>img{display:block;width:100%!important;max-width:100%;height:180px!important;object-fit:cover;object-position:center;border-radius:4px;margin:0 0 12px!important}
#faces-of .person .id{font:600 14px/1.5 var(--md-public-font)!important;color:#003368;margin:0 0 6px!important;text-decoration:underline;text-underline-offset:3px}
#faces-of .person .description{font:400 13px/1.6 var(--md-public-font)!important;color:#526b80;margin:0!important;overflow-wrap:anywhere}
@media(max-width:1023px){body.md-public-offers .logo_main,body.md-public-offers .logo_main a{width:185px}body.md-public-offers .top_menu_list>li>a{font-size:14px;padding:10px 14px}body.md-public-offers .md-public-section-nav a{font-size:12px}body.md-public-offers .lista_om td[background]>a,body.md-public-offers .lista_om td[background] img{width:112px;height:166px}body.md-public-offers .lista_om td[background]{width:112px!important;min-width:112px;max-width:112px!important}}
@media(max-width:767px){:root{--md-title-size:28px;--md-section-size:23px;--md-subsection-size:20px;--md-prose-size:15px}body.md-public-offers #div_top{padding:14px 0}body.md-public-offers .logo_main,body.md-public-offers .logo_main a{width:174px;height:53px}body.md-public-offers #div_page_content .md-public-intro{margin-bottom:28px}body.md-public-offers .md-public-ages{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}body.md-public-offers #div_page_content .md-public-ages a{font-size:11px;line-height:1.55;padding:10px;min-height:64px}body.md-public-offers .md-public-section-nav>.container{gap:0 18px}body.md-public-offers .md-public-section-nav a{min-height:44px;padding:8px 0 5px;font-size:12px}body.md-public-offers .md-public-list-heading{padding-top:28px}body.md-public-offers #div_oferty .frame1_link{padding:16px}#faces-of .person>a>img{height:180px!important}html body :is(#subpage-content,#div_page_content) h1.md-page-heading{letter-spacing:-.35px!important}}
/* Native frame tables do not establish a second height calculation. */
body.md-public-offers .lista_om{display:flex!important;flex-direction:column}
body.md-public-offers .lista_om>table,body.md-public-offers .lista_om>table>tbody,body.md-public-offers .lista_om>table>tbody>tr,body.md-public-offers .lista_om>table>tbody>tr>td:has(>.lista_om_table),body.md-public-offers .lista_om_table,body.md-public-offers .lista_om_table>tbody{display:contents!important}
body.md-public-offers .lista_om_table>tbody>tr{flex:1;width:100%;height:auto;min-height:100%}
body.md-public-offers #div_page_content .md-public-small-heading{font-size:18px!important;line-height:27px!important;margin:0 0 12px!important}
/* Existing age markup groups two links per column on older catalogs. */
body.md-public-offers .md-public-ages>div{display:grid;gap:12px;align-content:start}
body.md-public-offers .md-public-action-label{overflow-wrap:anywhere;hyphens:auto}
@media(max-width:767px){body.md-public-offers .md-public-ages>div{gap:8px}}
/* Cookie preferences are a compact dialog, not an editorial H1 page. */
body[data-md-pattern='cookie-preferences'] #popup_accept_cookie{font:400 15px/1.75 var(--md-public-font)!important}
body[data-md-pattern='cookie-preferences'] #popup_accept_cookie :is(h3,.my_tabs,.my_buttons,button,input){font-family:var(--md-public-font)!important}
body[data-md-pattern='cookie-preferences'] #popup_accept_cookie h3{font-size:23px!important;font-weight:600!important;line-height:1.4!important}
body[data-md-pattern='cookie-preferences'] .my_content a{color:#003368!important;text-decoration:underline!important;text-underline-offset:3px}
/* Shared public header controls also apply to the first theme-based mockups. */
#top-bar .top-nav .buttons-container{display:flex;gap:10px}
#top-bar .top-nav .buttons-container .button{border-radius:6px;white-space:normal;margin:0}
#subpage-content #support-contact .support-headline{font-size:26px;line-height:1.4;letter-spacing:-.2px;margin:0 0 20px}
body.md-public-offers dialog,body.md-public-offers .md-public-dialog-actions :is(a,button){font-family:var(--md-public-font)!important}
@media(max-width:767px){
 #top-bar .top-nav .buttons-container{width:100%;gap:10px;margin-top:14px!important}
 #top-bar .top-nav .buttons-container .button{flex:1;width:auto;max-width:none;padding:12px 8px;min-height:46px;font-size:14px;line-height:22px;white-space:nowrap}
 #top-bar .logo-container img{width:174px;max-width:100%}
 #subpage-content #support-contact .support-headline{font-size:23px;line-height:1.4;letter-spacing:-.2px}
}
@media(max-width:767px){html body #top-bar .top-nav .buttons-container .button{flex:1 1 0!important;min-width:0!important;width:0!important;margin:0!important}}

#faces-of .carousel{align-items:stretch}
#faces-of .carousel>.col-lg-2{display:flex;align-items:stretch}
#faces-of .person{height:auto;width:100%;flex:1}
#faces-of .person .id{font-family:Montserrat,monospace!important;font-weight:700!important;color:#AD0000!important}
/* Legacy transition:all must not animate column widths during breakpoint changes. */
#top-bar .top-nav .buttons-container .button{transition:background-color .15s,color .15s,border-color .15s,box-shadow .15s!important}

/* R2: existing catalog links and CTA; native 32px theme hamburger restored. */
html body.md-public-offers #div_page_content .md-catalog-end{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;margin:0;border-bottom:1px solid #d7e1e9}
html body.md-public-offers #div_page_content .md-catalog-end p{margin:0!important;line-height:1.5;font-size:14px;color:#526b80;text-align:left}
html body.md-public-offers #div_page_content .md-catalog-count b{color:#003368;font-weight:600}
html body.md-public-offers #div_page_content .md-catalog-register{display:flex;align-items:center;font-size:0}
html body.md-public-offers #div_page_content .md-catalog-register :is(img,br){display:none}
html body.md-public-offers #div_page_content .md-catalog-register a{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:48px;padding:12px 22px;border-radius:6px;background:#7AC319;color:#003368!important;font:600 15px/24px var(--md-public-font)!important;text-decoration:none!important;border:1px solid #7AC319;white-space:nowrap}
html body.md-public-offers #div_page_content .md-catalog-register a::after{content:'\2192';font:400 23px/20px Arial,sans-serif}
html body.md-public-offers #div_page_content .md-catalog-register a:hover{background:#6caf16;border-color:#6caf16}
html body.md-public-offers #div_page_content .md-locations{margin:32px 0 24px;padding:0}
html body.md-public-offers #div_page_content .md-location-heading{margin:0 0 20px}
html body.md-public-offers #div_page_content .md-location-heading h2{font:600 26px/1.4 var(--md-public-font)!important;letter-spacing:-.2px;color:#003368;margin:0 0 8px!important;padding:0;border:0}
html body.md-public-offers #div_page_content .md-location-heading p{font:400 14px/1.65 var(--md-public-font);color:#526b80;margin:0;max-width:70ch}
html body.md-public-offers #div_page_content .md-location-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important;padding:0;margin:0!important;list-style:none}
html body.md-public-offers #div_page_content .md-location-grid>div{width:auto!important;min-width:0;float:none;padding:0!important;margin:0!important;border:0}
html body.md-public-offers #div_page_content .md-location-cities>span{display:contents}
html body.md-public-offers #div_page_content .md-location-grid br{display:none}
html body.md-public-offers #div_page_content .md-location-grid a{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;height:100%;padding:12px 16px;font:600 14px/1.5 var(--md-public-font)!important;color:#003368!important;text-decoration:none!important;background:#EDF3F7;border:1px solid transparent;border-radius:6px;overflow-wrap:anywhere;transition:background-color .15s,border-color .15s}
html body.md-public-offers #div_page_content .md-location-grid a::after{content:'';flex:0 0 6px;width:6px;height:6px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);margin-right:2px}
html body.md-public-offers #div_page_content .md-location-grid a:hover{background:#E9EEF2;border-color:#91a9bd;text-decoration:underline!important;text-underline-offset:3px}
html body.md-public-offers #div_page_content .md-location-more{display:flex;flex-wrap:wrap;gap:12px 24px;border-top:1px solid #d7e1e9;margin:24px 0 0;padding:18px 0}
html body.md-public-offers #div_page_content .md-location-more br{display:none}
html body.md-public-offers #div_page_content .md-location-more a{display:flex;align-items:center;min-height:44px;font:600 14px/1.6 var(--md-public-font)!important}
html body.md-public-offers #div_page_content :is(.md-location-grid,.md-catalog-register,.md-location-more) a:focus-visible{outline:3px solid #003368;outline-offset:3px}
@media(max-width:1023px){html body.md-public-offers #div_page_content .md-location-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){
 html body.md-public-offers #div_page_content .md-catalog-end{padding:20px 0;gap:14px;flex-direction:column;align-items:stretch}
 html body.md-public-offers #div_page_content .md-catalog-register a{width:100%;min-height:48px}
 html body.md-public-offers #div_page_content .md-locations{margin-top:28px}
 html body.md-public-offers #div_page_content .md-location-heading h2{font-size:23px!important}
 html body.md-public-offers #div_page_content .md-location-heading p{font-size:13px}
 html body.md-public-offers #div_page_content .md-location-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
 html body.md-public-offers #div_page_content .md-location-grid a{padding:12px 10px;gap:8px;font-size:13px!important;min-height:60px}
 html body.md-public-offers #div_page_content .md-location-more{gap:6px}
}
@media(max-width:359px){html body.md-public-offers #div_page_content .md-location-grid{grid-template-columns:1fr}}
/* Legacy float clearfix must not consume cells in CSS Grid. */
html body.md-public-offers #div_page_content .md-location-grid::before,html body.md-public-offers #div_page_content .md-location-grid::after{content:none!important;display:none!important}
html body.md-public-offers #div_page_content .md-location-grid .md-location-name{flex:1;min-width:0;text-align:left}

/* Owner SEO preference: complete original anchor text stays visibly rendered. */
html body.md-public-offers #div_page_content .md-location-grid a{display:grid;grid-template-columns:minmax(0,1fr) 10px;grid-template-rows:auto auto;align-content:center;align-items:center;gap:4px 12px;min-height:96px}
html body.md-public-offers #div_page_content .md-location-grid .md-location-prefix{grid-column:1;grid-row:1;position:static;width:auto;height:auto;margin:0;padding:0;overflow:visible;white-space:normal;clip:auto;color:#526b80!important;font:400 12px/1.55 var(--md-public-font)!important;text-align:left}
html body.md-public-offers #div_page_content .md-location-grid .md-location-name{grid-column:1;grid-row:2;font:600 14px/1.5 var(--md-public-font)!important}
html body.md-public-offers #div_page_content .md-location-grid a::after{grid-column:2;grid-row:1 / 3;align-self:center}
html body.md-public-offers #div_page_content .md-location-cities a{min-height:80px}
@media(max-width:767px){html body.md-public-offers #div_page_content .md-location-grid a{gap:4px 8px}html body.md-public-offers #div_page_content .md-location-grid .md-location-name{font-size:13px!important}}
/* Public catalog sources have one content column and no active search sidebar. */
html body.md-public-offers #div_page_content .page_col2_l:only-child{width:100%;max-width:none}
html body.md-public-offers #div_page_content .page_col2_l:only-child .md-public-intro{width:100%;max-width:none}
html body.md-public-offers #div_page_content .page_col2_l:only-child h1.md-page-heading{max-width:none}

/* R3: table-based registrations share the public theme's visual contract. */
html body.md-public-offers #div_rejestracja.md-register-consistent{padding:54px 0 58px;background:linear-gradient(rgba(0,51,104,.9),rgba(0,51,104,.9)),linear-gradient(rgba(0,51,104,0) 800px,#003368 1000px),#003368 url('/theme/images/main-header-bg-lg.jpg') no-repeat center top;color:#fff;font:400 15px/1.5 var(--md-public-font)}
html body.md-public-offers #div_rejestracja.md-register-consistent .head4{font:600 34px/1.3 var(--md-public-font);margin:0 0 32px;padding:0;text-align:center;color:#fff}
html body.md-public-offers #div_rejestracja.md-register-consistent>.container>.row{margin:0}
html body.md-public-offers #div_rejestracja .md-register-form{width:680px;max-width:100%;margin:0 auto!important;padding:0;position:relative;left:-100px}
html body.md-public-offers #div_rejestracja .reg_table{display:block;width:100%;max-width:none;border:0;margin:0;padding:0}
html body.md-public-offers #div_rejestracja .reg_table>tbody{display:block}
html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-row{display:grid;grid-template-columns:184px minmax(0,480px);gap:0 16px;margin:0 0 12px;align-items:start}
html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-row>td{display:block;min-width:0;width:auto!important;padding:0;float:none;color:#fff;font:400 14px/1.5 var(--md-public-font)}
html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-row>.md-reg-label{grid-column:1;text-align:right;padding:4px 0 0;font:500 14px/40px var(--md-public-font)}
html body.md-public-offers #div_rejestracja .md-reg-label label{font:inherit;color:inherit;margin:0}
html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-row>.md-reg-control{grid-column:2}
html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-row>.md-reg-empty,html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-spacer{display:none}
html body.md-public-offers #div_rejestracja .md-reg-caption .md-reg-control{color:#a4d744!important;font:600 12px/20px var(--md-public-font)!important;text-transform:none}
html body.md-public-offers #div_rejestracja :is(.md-reg-email,.md-reg-password,.md-reg-repeat) input{display:block;box-sizing:border-box;width:100%!important;height:46px!important;border:1px solid #bfceda;border-radius:2px;background:#fff;padding:11px 14px;color:#003368;font:400 15px/18px var(--md-public-font);box-shadow:none}
html body.md-public-offers #div_rejestracja input::placeholder{color:#8aa7c3;opacity:1}
html body.md-public-offers #div_rejestracja .md-reg-control table{width:100%!important;margin:0;border:0;border-collapse:collapse;border-spacing:0}
html body.md-public-offers #div_rejestracja .md-reg-control td{padding:0;color:#fff;font:400 14px/1.5 var(--md-public-font)}
html body.md-public-offers #div_rejestracja .md-reg-gender .md-reg-control{padding-top:11px!important;padding-bottom:10px!important}
html body.md-public-offers #div_rejestracja .md-reg-gender .md-reg-control table{width:auto!important}
html body.md-public-offers #div_rejestracja .md-reg-gender td{vertical-align:middle}
html body.md-public-offers #div_rejestracja .md-reg-gender .div_select_plec{width:22px;height:22px}
html body.md-public-offers #div_rejestracja :is(.md-reg-gender,.md-reg-consent) span.radio,html body.md-public-offers #div_rejestracja .md-reg-consent span.checkbox{display:none!important}
html body.md-public-offers #div_rejestracja input[type=radio],html body.md-public-offers #div_rejestracja input[type=checkbox]{position:static!important;opacity:1!important;appearance:auto!important;display:inline-block!important;float:none!important;min-width:18px;width:18px!important;height:18px!important;margin:0;vertical-align:middle;accent-color:#7AC319}
html body.md-public-offers #div_rejestracja .md-reg-birth .md-reg-control :is(table,tbody){display:block;width:100%}
html body.md-public-offers #div_rejestracja .md-reg-birth .md-reg-control table>tbody>tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1.15fr);gap:8px}
html body.md-public-offers #div_rejestracja .md-reg-birth .md-reg-control td{display:block;width:auto!important;min-width:0}
html body.md-public-offers #div_rejestracja :is(.md-reg-birth,.md-reg-source) .md-reg-control div{width:100%!important;height:46px!important;background:none;padding:0;border:0;margin:0}
html body.md-public-offers #div_rejestracja :is(.md-reg-birth,.md-reg-source) span.select{display:none!important}
html body.md-public-offers #div_rejestracja :is(.md-reg-birth,.md-reg-source) select{position:static!important;opacity:1!important;appearance:auto!important;display:block!important;width:100%!important;max-width:100%;height:46px!important;padding:10px 12px!important;color:#003368;background:#fff;border:1px solid #bfceda;border-radius:2px;box-shadow:none;font:400 14px/20px var(--md-public-font)}
html body.md-public-offers #div_rejestracja .md-reg-overview{margin-top:20px!important;margin-bottom:12px!important}
html body.md-public-offers #div_rejestracja .md-reg-overview label{display:flex;align-items:flex-start;gap:10px;font:400 13px/1.8 var(--md-public-font);margin:0;color:#fff}
html body.md-public-offers #div_rejestracja .md-reg-overview input{margin-top:3px!important;flex:0 0 18px}
html body.md-public-offers #div_rejestracja .md-reg-overview a{color:#fff;text-decoration:underline;text-underline-offset:3px}
html body.md-public-offers #div_rejestracja .md-reg-consent-note{display:block;font:400 11px/1.6 var(--md-public-font);color:#c2d3e3;margin:5px 0 0 28px}
html body.md-public-offers #div_rejestracja [data-legacy-consent-toggle]{display:block;background:none;border:0;padding:8px 0;min-height:42px;margin:2px 0 0 28px;color:#c4ef90;font:400 12px/22px var(--md-public-font);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
html body.md-public-offers #div_rejestracja form[data-consents-ready]:not([data-consents-open]) .md-reg-consent{display:none}
html body.md-public-offers #div_rejestracja .md-reg-consent .md-reg-control{padding:12px!important;background:rgba(0,20,49,.24);border:1px solid rgba(255,255,255,.2);border-radius:2px}
html body.md-public-offers #div_rejestracja .md-reg-consent .md-reg-control table>tbody>tr{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px}
html body.md-public-offers #div_rejestracja .md-reg-consent .md-reg-control td{display:block;min-width:0;width:auto!important;padding:0!important;font:400 12px/1.8 var(--md-public-font)}
html body.md-public-offers #div_rejestracja .md-reg-consent :is(a,font){color:#fff!important;font:inherit}
html body.md-public-offers #div_rejestracja .md-reg-consent a{text-decoration:underline}
html body.md-public-offers #div_rejestracja .md-reg-submit .div_reg_button{position:relative;display:flex;align-items:center;justify-content:center;width:100%;max-width:none;height:48px;background:#7AC319;border-radius:2px;margin:0;padding:0;overflow:hidden}
html body.md-public-offers #div_rejestracja .md-reg-submit-label{font:600 20px/24px var(--md-public-font);color:#003368}
html body.md-public-offers #div_rejestracja .md-reg-submit input[type=image]{position:absolute;inset:0;display:block;opacity:0;width:100%!important;height:100%!important;margin:0;padding:0;cursor:pointer}
html body.md-public-offers #div_rejestracja .md-reg-submit .div_reg_button:hover{background:#6caf16}
html body.md-public-offers #div_rejestracja .md-reg-alternative{margin:2px 0 12px!important;text-align:center}
html body.md-public-offers #div_rejestracja .md-reg-alternative small{font:400 13px/1.7 var(--md-public-font);color:#fff}
html body.md-public-offers #div_rejestracja .md-reg-facebook .div_reg_button{width:100%;max-width:none;height:auto;margin:0;padding:0}
html body.md-public-offers #div_rejestracja .md-reg-facebook a{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding:13px 38px;background:#415dae url('/theme/images/svg/facebook.svg') no-repeat left 28px center;border-radius:2px;color:#fff;font:600 14px/20px var(--md-public-font);text-decoration:none}
html body.md-public-offers #div_rejestracja .md-reg-facebook img{display:none}
html body.md-public-offers #div_rejestracja .md-register-clause{max-width:480px;width:100%;margin:22px auto 0;color:#adc2d5;font:400 12px/1.8 var(--md-public-font)}
html body.md-public-offers #div_rejestracja .md-register-clause summary{cursor:pointer;min-height:42px;padding:8px 0;color:#adc2d5}
html body.md-public-offers #div_rejestracja .md-register-clause-copy>br{display:none}
html body.md-public-offers #div_rejestracja .md-register-clause-copy :is(p,font,span,a){font:inherit!important;color:inherit!important;background:transparent!important}
html body.md-public-offers #div_rejestracja .md-register-clause-copy p{margin:0 0 10px!important;padding:0!important;text-align:left}
html body.md-public-offers #div_rejestracja :is(input,select,button,a,summary):focus-visible,html body.md-public-offers #div_rejestracja .div_reg_button:focus-within{outline:3px solid #c4ef90!important;outline-offset:3px}
html body.md-public-offers #div_page_content .md-catalog-link-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:24px 0 32px;padding:0}
html body.md-public-offers #div_page_content .md-catalog-link-grid :is(p,span){display:contents}
html body.md-public-offers #div_page_content .md-catalog-link-grid br,html body.md-public-offers #div_page_content .md-catalog-link-grid a:empty{display:none}
html body.md-public-offers #div_page_content .md-catalog-link-grid a{display:flex;align-items:center;gap:12px;justify-content:space-between;min-width:0;min-height:76px;height:100%;margin:0!important;padding:14px 16px;background:#EDF3F7;border:1px solid transparent;border-radius:6px;color:#003368!important;font:600 14px/1.6 var(--md-public-font)!important;text-decoration:none!important;overflow-wrap:anywhere}
html body.md-public-offers #div_page_content .md-catalog-link-grid a::after{content:'';flex:0 0 6px;height:6px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);margin:0 2px 0 4px}
html body.md-public-offers #div_page_content .md-catalog-link-grid a:hover{background:#E9EEF2;border-color:#91a9bd;text-decoration:underline!important;text-underline-offset:3px}
html body.md-public-offers #div_page_content .md-catalog-link-grid a:focus-visible{outline:3px solid #003368;outline-offset:3px}
@media(max-width:1023px){
 html body.md-public-offers #div_rejestracja .md-register-form{left:0}
 html body.md-public-offers #div_rejestracja .md-register-clause{margin-right:0}
 html body.md-public-offers #div_page_content .md-catalog-link-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:767px){
 html body.md-public-offers #div_rejestracja.md-register-consistent{padding:36px 0 40px;background-position:center top}
 html body.md-public-offers #div_rejestracja.md-register-consistent .head4{font-size:28px;margin-bottom:24px}
 html body.md-public-offers #div_rejestracja .md-register-form,html body.md-public-offers #div_rejestracja .md-register-clause{width:100%;max-width:530px;margin-left:auto!important;margin-right:auto!important}
 html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-row{grid-template-columns:minmax(0,1fr);gap:6px;margin-bottom:14px}
 html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-row>.md-reg-control{grid-column:1}
 html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-row>.md-reg-label{text-align:left;line-height:1.5;padding:0;font-size:14px}
 html body.md-public-offers #div_rejestracja :is(.md-reg-email,.md-reg-password,.md-reg-repeat) input,html body.md-public-offers #div_rejestracja :is(.md-reg-birth,.md-reg-source) select{height:48px!important;font-size:16px}
 html body.md-public-offers #div_rejestracja :is(.md-reg-birth,.md-reg-source) .md-reg-control div{height:48px!important}
 html body.md-public-offers #div_rejestracja .md-reg-gender .md-reg-control{padding-top:4px!important;padding-bottom:4px!important}
 html body.md-public-offers #div_rejestracja .md-reg-overview{margin-top:18px!important}
 html body.md-public-offers #div_rejestracja .md-reg-facebook a{padding-left:32px;padding-right:20px;background-position:left 16px center;font-size:13px}
 html body.md-public-offers #div_page_content .md-catalog-link-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 html body.md-public-offers #div_page_content .md-catalog-link-grid a{font-size:13px!important;padding:12px;min-height:84px;gap:8px}
}
@media(max-width:359px){html body.md-public-offers #div_page_content .md-catalog-link-grid{grid-template-columns:1fr}}
/* Continue the same spacing through the old contact/steps blocks to the footer. */
html body.md-public-offers #div_kontakt{padding:28px 0;font:400 14px/1.8 var(--md-public-font)}
html body.md-public-offers #div_kontakt .row{margin:0}
html body.md-public-offers #div_kontakt .kontakt_box{padding:0;max-width:744px;margin:0 auto;float:none}
html body.md-public-offers #div_kontakt .kontakt_text_big{font:600 22px/1.4 var(--md-public-font)}
html body.md-public-offers #div_kontakt .kontakt_text{font:400 14px/1.8 var(--md-public-font)}
html body.md-public-offers #div_kontakt .kontakt_box>br{display:none}
html body.md-public-offers #div_kontakt .kontakt_box>div+div{margin-top:10px}
html body.md-public-offers #div_kroki{height:auto;min-height:0;padding:32px 0;background:#003368}
html body.md-public-offers #div_kroki .row{margin:0}
html body.md-public-offers #div_kroki .head4{font:600 24px/1.4 var(--md-public-font);margin:0 0 28px;padding:0;color:white}
html body.md-public-offers #div_kroki .nav_kroki{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;height:auto;min-height:0;width:100%;padding:0;margin:0;list-style:none}
html body.md-public-offers #div_kroki .nav_kroki li{width:auto;height:auto;float:none;padding:0;margin:0;min-width:0;text-align:center;font:400 13px/1.6 var(--md-public-font)}
html body.md-public-offers #div_kroki .nav_kroki li:has(.krok_arrow){display:none}
html body.md-public-offers #div_kroki .nav_kroki img{display:block;width:32px;height:32px;object-fit:contain;margin:0 auto 10px}
html body.md-public-offers #div_kroki .nav_kroki span{display:block;padding:0;font:inherit}
@media(max-width:767px){
 html body.md-public-offers #div_kroki .nav_kroki{grid-template-columns:minmax(0,1fr);gap:18px}
 html body.md-public-offers #div_kroki .nav_kroki li{display:flex;align-items:center;gap:16px;text-align:left}
 html body.md-public-offers #div_kroki .nav_kroki img{flex:0 0 32px;margin:0}
 html body.md-public-offers #div_kroki .head4{font-size:22px}
}

/* R4: one six-link age grid for all six public catalog layouts.
   Legacy wrapper divs remain in the HTML but never establish floating columns. */
html body.md-public-offers #div_page_content .md-public-ages{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;gap:12px!important;clear:both;width:100%;margin:24px 0 28px!important;padding:0;float:none}
html body.md-public-offers #div_page_content .md-public-ages div{display:contents!important;float:none!important;width:auto!important;height:auto!important;min-width:0;margin:0!important;padding:0!important;border:0!important}
html body.md-public-offers #div_page_content .md-public-ages::before,html body.md-public-offers #div_page_content .md-public-ages::after{content:none!important;display:none!important}
html body.md-public-offers #div_page_content .md-public-ages br{display:none}
html body.md-public-offers #div_page_content .md-public-ages a{display:flex!important;align-items:center;justify-content:flex-start;box-sizing:border-box;width:100%;min-width:0;height:100%;min-height:54px;margin:0!important;padding:12px 14px;border:1px solid #cbd9e4;border-radius:6px;background:#fff;color:#003368!important;font:600 13px/1.6 var(--md-public-font)!important;text-decoration:none!important;overflow-wrap:anywhere;float:none!important}
html body.md-public-offers #div_page_content .md-public-ages a :is(u,font,b,span){font:inherit!important;text-decoration:inherit!important;color:inherit!important}
html body.md-public-offers #div_page_content .md-public-ages a:hover{background:#EDF3F7;border-color:#91a9bd;text-decoration:underline!important;text-underline-offset:3px}
html body.md-public-offers #div_page_content .md-public-ages a:focus-visible{outline:3px solid #003368;outline-offset:3px}
/* Match the actual visible bars, not the outer 24px box of the old SVG.
   The source SVG and link stay intact; these decorative bars follow aria-expanded. */
html body.md-public-offers #menu_dropdown .md-public-trigger-label{display:flex;align-items:center;gap:10px;font:600 16px/24px var(--md-public-font)}
html body.md-public-offers #menu_dropdown .md-public-trigger-label>.md-public-icon{display:none}
html body.md-public-offers #menu_dropdown .md-public-menu-glyph{position:relative;display:block;flex:0 0 32px;width:32px;height:22px}
html body.md-public-offers #menu_dropdown .md-public-menu-glyph>span{position:absolute;left:0;display:block;width:32px;height:4px;margin:0;background:#003368;border-radius:2px;transition:transform .15s,opacity .15s,top .15s}
html body.md-public-offers #menu_dropdown .md-public-menu-glyph>span:nth-child(1){top:0}
html body.md-public-offers #menu_dropdown .md-public-menu-glyph>span:nth-child(2){top:9px}
html body.md-public-offers #menu_dropdown .md-public-menu-glyph>span:nth-child(3){top:18px}
html body.md-public-offers #menu_dropdown[aria-expanded=true] .md-public-menu-glyph>span:nth-child(1){top:9px;transform:rotate(45deg)}
html body.md-public-offers #menu_dropdown[aria-expanded=true] .md-public-menu-glyph>span:nth-child(2){opacity:0}
html body.md-public-offers #menu_dropdown[aria-expanded=true] .md-public-menu-glyph>span:nth-child(3){top:9px;transform:rotate(-45deg)}
html body.md-public-offers #menu_dropdown{display:flex;align-items:center;min-height:46px;min-width:104px}
/* Transparent pixels used by the old nine-slice frame must not become flex
   items after its table wrappers are flattened. Preserve them in the source. */
html body.md-public-offers .lista_om img[alt^="ramka_"]{display:none!important}
@media(max-width:767px){
 html body.md-public-offers #div_page_content .md-public-ages{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;margin:20px 0 24px!important}
 html body.md-public-offers #div_page_content .md-public-ages a{font-size:13px!important;min-height:68px;padding:10px}
}
@media(prefers-reduced-motion:reduce){html body.md-public-offers #menu_dropdown .md-public-menu-glyph>span{transition:none}}

/* R5: hide unrelated people search only on article search and the data recipients list. Legacy HTML is unchanged. */
html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box>.container>.row>.col-lg-4:has(#search-box){display:none!important}
html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box>.container>.row>.col-lg-8{flex:0 0 100%;width:100%;max-width:100%;padding:0 10px!important}
html body[data-md-pattern="legal-table"] #subpage-content.office-contact .title-box>.container>.row>.col-lg-4:has(#search-box){display:none!important}
html body[data-md-pattern="legal-table"] #subpage-content.office-contact .title-box>.container>.row>.col-lg-8{flex:0 0 100%;width:100%;max-width:100%;padding:0 10px!important}
html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box>.container:not([data-search-results]){max-width:1020px;width:100%;padding:0 32px;margin:0 auto 28px}
html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box>.container>.row{margin:0}
html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box>.row>.col-12{padding:0!important}
html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box>.container>.row>.col-lg-8{padding:0!important}
html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box .page_title{padding:0!important;margin:0}
html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box h1.md-page-heading{margin:0!important}
@media(max-width:767px){html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box>.container:not([data-search-results]){padding:0 20px;margin-bottom:20px}}

/* R6: compact vertical disclosures on phones and portrait tablets. */
html body[data-md-pattern=legal-table] #subpage-content .md-table-scroll table{min-width:0}
@media(max-width:1023px){
 html body[data-md-pattern=legal-table] #subpage-content .md-table-scroll{overflow:visible;min-width:0;max-width:100%}
 html body[data-md-pattern=legal-table] #subpage-content .md-table-scroll table{min-width:0;width:100%!important}
 html body[data-md-pattern=legal-table] #subpage-content .md-table-scroll td{min-width:0;overflow-wrap:anywhere}
 html body[data-md-pattern=legal-table] #subpage-content .md-table-scroll.md-recipients-mobile{border:0;margin:20px 0 32px}
 html body[data-md-pattern=legal-table] #subpage-content .md-recipients-mobile>table{display:none!important}
 html body[data-md-pattern=legal-table] #subpage-content .md-table-hint{display:block;margin:20px 0 0;color:#526b80;font-size:14px;line-height:1.6}
 .md-recipient-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .md-recipient{min-width:0;border:1px solid #ccdbe6;border-radius:6px;background:#fff;overflow-wrap:anywhere}
 .md-recipient>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:66px;padding:18px 20px;cursor:pointer;list-style:none;color:#003368;font:600 16px/1.5 var(--md-public-font)}
 .md-recipient>summary::-webkit-details-marker{display:none}
 .md-recipient-title{min-width:0;flex:1}
 .md-recipient-title>br{display:none}
 .md-recipient>summary::after{content:'';display:block;width:9px;height:9px;flex:0 0 9px;border-right:2px solid #003368;border-bottom:2px solid #003368;transform:rotate(45deg);margin:0 2px 5px}
 .md-recipient[open]>summary{background:#EDF3F7;border-radius:6px 6px 0 0;border-bottom:1px solid #ccdbe6}
 .md-recipient[open]>summary::after{transform:rotate(225deg);margin-bottom:-5px}
 .md-recipient>summary:focus-visible{outline:3px solid #003368;outline-offset:3px;border-radius:6px}
 .md-recipient-fields{padding:0 20px 20px}
 .md-recipient-field{padding:18px 0 0}
 .md-recipient-field[hidden]{display:none!important}
 .md-recipient-label{display:block;font:600 13px/1.5 var(--md-public-font);color:#526b80;margin:0 0 6px}
 .md-recipient-value{font:400 15px/1.7 var(--md-public-font);color:#003368;overflow-wrap:anywhere}
}


/* ===== R2 components (full width, registration CTA, regions grid, native menu icon) ===== */
/* R2: existing catalog links and CTA; native 32px theme hamburger restored. */
html body.md-public-offers #div_page_content .md-catalog-end{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;margin:0;border-bottom:1px solid #d7e1e9}
html body.md-public-offers #div_page_content .md-catalog-end p{margin:0!important;line-height:1.5;font-size:14px;color:#526b80;text-align:left}
html body.md-public-offers #div_page_content .md-catalog-count b{color:#003368;font-weight:600}
html body.md-public-offers #div_page_content .md-catalog-register{display:flex;align-items:center;font-size:0}
html body.md-public-offers #div_page_content .md-catalog-register :is(img,br){display:none}
html body.md-public-offers #div_page_content .md-catalog-register a{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:48px;padding:12px 22px;border-radius:6px;background:#7AC319;color:#003368!important;font:600 15px/24px var(--md-public-font)!important;text-decoration:none!important;border:1px solid #7AC319;white-space:nowrap}
html body.md-public-offers #div_page_content .md-catalog-register a::after{content:'\2192';font:400 23px/20px Arial,sans-serif}
html body.md-public-offers #div_page_content .md-catalog-register a:hover{background:#6caf16;border-color:#6caf16}
html body.md-public-offers #div_page_content .md-locations{margin:32px 0 24px;padding:0}
html body.md-public-offers #div_page_content .md-location-heading{margin:0 0 20px}
html body.md-public-offers #div_page_content .md-location-heading h2{font:600 26px/1.4 var(--md-public-font)!important;letter-spacing:-.2px;color:#003368;margin:0 0 8px!important;padding:0;border:0}
html body.md-public-offers #div_page_content .md-location-heading p{font:400 14px/1.65 var(--md-public-font);color:#526b80;margin:0;max-width:70ch}
html body.md-public-offers #div_page_content .md-location-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important;padding:0;margin:0!important;list-style:none}
html body.md-public-offers #div_page_content .md-location-grid>div{width:auto!important;min-width:0;float:none;padding:0!important;margin:0!important;border:0}
html body.md-public-offers #div_page_content .md-location-cities>span{display:contents}
html body.md-public-offers #div_page_content .md-location-grid br{display:none}
html body.md-public-offers #div_page_content .md-location-grid a{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;height:100%;padding:12px 16px;font:600 14px/1.5 var(--md-public-font)!important;color:#003368!important;text-decoration:none!important;background:#EDF3F7;border:1px solid transparent;border-radius:6px;overflow-wrap:anywhere;transition:background-color .15s,border-color .15s}
html body.md-public-offers #div_page_content .md-location-grid a::after{content:'';flex:0 0 6px;width:6px;height:6px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);margin-right:2px}
html body.md-public-offers #div_page_content .md-location-grid a:hover{background:#E9EEF2;border-color:#91a9bd;text-decoration:underline!important;text-underline-offset:3px}
html body.md-public-offers #div_page_content .md-location-more{display:flex;flex-wrap:wrap;gap:12px 24px;border-top:1px solid #d7e1e9;margin:24px 0 0;padding:18px 0}
html body.md-public-offers #div_page_content .md-location-more br{display:none}
html body.md-public-offers #div_page_content .md-location-more a{display:flex;align-items:center;min-height:44px;font:600 14px/1.6 var(--md-public-font)!important}
html body.md-public-offers #div_page_content :is(.md-location-grid,.md-catalog-register,.md-location-more) a:focus-visible{outline:3px solid #003368;outline-offset:3px}
@media(max-width:1023px){html body.md-public-offers #div_page_content .md-location-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){
 html body.md-public-offers #div_page_content .md-catalog-end{padding:20px 0;gap:14px;flex-direction:column;align-items:stretch}
 html body.md-public-offers #div_page_content .md-catalog-register a{width:100%;min-height:48px}
 html body.md-public-offers #div_page_content .md-locations{margin-top:28px}
 html body.md-public-offers #div_page_content .md-location-heading h2{font-size:23px!important}
 html body.md-public-offers #div_page_content .md-location-heading p{font-size:13px}
 html body.md-public-offers #div_page_content .md-location-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
 html body.md-public-offers #div_page_content .md-location-grid a{padding:12px 10px;gap:8px;font-size:13px!important;min-height:60px}
 html body.md-public-offers #div_page_content .md-location-more{gap:6px}
}
@media(max-width:359px){html body.md-public-offers #div_page_content .md-location-grid{grid-template-columns:1fr}}
/* Legacy float clearfix must not consume cells in CSS Grid. */
html body.md-public-offers #div_page_content .md-location-grid::before,html body.md-public-offers #div_page_content .md-location-grid::after{content:none!important;display:none!important}
html body.md-public-offers #div_page_content .md-location-grid .md-location-name{flex:1;min-width:0;text-align:left}

/* Owner SEO preference: complete original anchor text stays visibly rendered. */
html body.md-public-offers #div_page_content .md-location-grid a{display:grid;grid-template-columns:minmax(0,1fr) 10px;grid-template-rows:auto auto;align-content:center;align-items:center;gap:4px 12px;min-height:96px}
html body.md-public-offers #div_page_content .md-location-grid .md-location-prefix{grid-column:1;grid-row:1;position:static;width:auto;height:auto;margin:0;padding:0;overflow:visible;white-space:normal;clip:auto;color:#526b80!important;font:400 12px/1.55 var(--md-public-font)!important;text-align:left}
html body.md-public-offers #div_page_content .md-location-grid .md-location-name{grid-column:1;grid-row:2;font:600 14px/1.5 var(--md-public-font)!important}
html body.md-public-offers #div_page_content .md-location-grid a::after{grid-column:2;grid-row:1 / 3;align-self:center}
html body.md-public-offers #div_page_content .md-location-cities a{min-height:80px}
@media(max-width:767px){html body.md-public-offers #div_page_content .md-location-grid a{gap:4px 8px}html body.md-public-offers #div_page_content .md-location-grid .md-location-name{font-size:13px!important}}
/* Public catalog sources have one content column and no active search sidebar. */
html body.md-public-offers #div_page_content .page_col2_l:only-child{width:100%;max-width:none}
html body.md-public-offers #div_page_content .page_col2_l:only-child .md-public-intro{width:100%;max-width:none}
html body.md-public-offers #div_page_content .page_col2_l:only-child h1.md-page-heading{max-width:none}


/* ===== R3 components (shared registration form look, catalog link tiles) ===== */
/* R3: table-based registrations share the public theme's visual contract. */
html body.md-public-offers #div_rejestracja.md-register-consistent{padding:54px 0 58px;background:linear-gradient(rgba(0,51,104,.9),rgba(0,51,104,.9)),linear-gradient(rgba(0,51,104,0) 800px,#003368 1000px),#003368 url('/theme/images/main-header-bg-lg.jpg') no-repeat center top;color:#fff;font:400 15px/1.5 var(--md-public-font)}
html body.md-public-offers #div_rejestracja.md-register-consistent .head4{font:600 34px/1.3 var(--md-public-font);margin:0 0 32px;padding:0;text-align:center;color:#fff}
html body.md-public-offers #div_rejestracja.md-register-consistent>.container>.row{margin:0}
html body.md-public-offers #div_rejestracja .md-register-form{width:680px;max-width:100%;margin:0 auto!important;padding:0;position:relative;left:-100px}
html body.md-public-offers #div_rejestracja .reg_table{display:block;width:100%;max-width:none;border:0;margin:0;padding:0}
html body.md-public-offers #div_rejestracja .reg_table>tbody{display:block}
html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-row{display:grid;grid-template-columns:184px minmax(0,480px);gap:0 16px;margin:0 0 12px;align-items:start}
html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-row>td{display:block;min-width:0;width:auto!important;padding:0;float:none;color:#fff;font:400 14px/1.5 var(--md-public-font)}
html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-row>.md-reg-label{grid-column:1;text-align:right;padding:4px 0 0;font:500 14px/40px var(--md-public-font)}
html body.md-public-offers #div_rejestracja .md-reg-label label{font:inherit;color:inherit;margin:0}
html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-row>.md-reg-control{grid-column:2}
html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-row>.md-reg-empty,html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-spacer{display:none}
html body.md-public-offers #div_rejestracja .md-reg-caption .md-reg-control{color:#a4d744!important;font:600 12px/20px var(--md-public-font)!important;text-transform:none}
html body.md-public-offers #div_rejestracja :is(.md-reg-email,.md-reg-password,.md-reg-repeat) input{display:block;box-sizing:border-box;width:100%!important;height:46px!important;border:1px solid #bfceda;border-radius:2px;background:#fff;padding:11px 14px;color:#003368;font:400 15px/18px var(--md-public-font);box-shadow:none}
html body.md-public-offers #div_rejestracja input::placeholder{color:#8aa7c3;opacity:1}
html body.md-public-offers #div_rejestracja .md-reg-control table{width:100%!important;margin:0;border:0;border-collapse:collapse;border-spacing:0}
html body.md-public-offers #div_rejestracja .md-reg-control td{padding:0;color:#fff;font:400 14px/1.5 var(--md-public-font)}
html body.md-public-offers #div_rejestracja .md-reg-gender .md-reg-control{padding-top:11px!important;padding-bottom:10px!important}
html body.md-public-offers #div_rejestracja .md-reg-gender .md-reg-control table{width:auto!important}
html body.md-public-offers #div_rejestracja .md-reg-gender td{vertical-align:middle}
html body.md-public-offers #div_rejestracja .md-reg-gender .div_select_plec{width:22px;height:22px}
html body.md-public-offers #div_rejestracja :is(.md-reg-gender,.md-reg-consent) span.radio,html body.md-public-offers #div_rejestracja .md-reg-consent span.checkbox{display:none!important}
html body.md-public-offers #div_rejestracja input[type=radio],html body.md-public-offers #div_rejestracja input[type=checkbox]{position:static!important;opacity:1!important;appearance:auto!important;display:inline-block!important;float:none!important;min-width:18px;width:18px!important;height:18px!important;margin:0;vertical-align:middle;accent-color:#7AC319}
html body.md-public-offers #div_rejestracja .md-reg-birth .md-reg-control :is(table,tbody){display:block;width:100%}
html body.md-public-offers #div_rejestracja .md-reg-birth .md-reg-control table>tbody>tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1.15fr);gap:8px}
html body.md-public-offers #div_rejestracja .md-reg-birth .md-reg-control td{display:block;width:auto!important;min-width:0}
html body.md-public-offers #div_rejestracja :is(.md-reg-birth,.md-reg-source) .md-reg-control div{width:100%!important;height:46px!important;background:none;padding:0;border:0;margin:0}
html body.md-public-offers #div_rejestracja :is(.md-reg-birth,.md-reg-source) span.select{display:none!important}
html body.md-public-offers #div_rejestracja :is(.md-reg-birth,.md-reg-source) select{position:static!important;opacity:1!important;appearance:auto!important;display:block!important;width:100%!important;max-width:100%;height:46px!important;padding:10px 12px!important;color:#003368;background:#fff;border:1px solid #bfceda;border-radius:2px;box-shadow:none;font:400 14px/20px var(--md-public-font)}
html body.md-public-offers #div_rejestracja .md-reg-overview{margin-top:20px!important;margin-bottom:12px!important}
html body.md-public-offers #div_rejestracja .md-reg-overview label{display:flex;align-items:flex-start;gap:10px;font:400 13px/1.8 var(--md-public-font);margin:0;color:#fff}
html body.md-public-offers #div_rejestracja .md-reg-overview input{margin-top:3px!important;flex:0 0 18px}
html body.md-public-offers #div_rejestracja .md-reg-overview a{color:#fff;text-decoration:underline;text-underline-offset:3px}
html body.md-public-offers #div_rejestracja .md-reg-consent-note{display:block;font:400 11px/1.6 var(--md-public-font);color:#c2d3e3;margin:5px 0 0 28px}
html body.md-public-offers #div_rejestracja [data-legacy-consent-toggle]{display:block;background:none;border:0;padding:8px 0;min-height:42px;margin:2px 0 0 28px;color:#c4ef90;font:400 12px/22px var(--md-public-font);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
html body.md-public-offers #div_rejestracja form[data-consents-ready]:not([data-consents-open]) .md-reg-consent{display:none}
html body.md-public-offers #div_rejestracja .md-reg-consent .md-reg-control{padding:12px!important;background:rgba(0,20,49,.24);border:1px solid rgba(255,255,255,.2);border-radius:2px}
html body.md-public-offers #div_rejestracja .md-reg-consent .md-reg-control table>tbody>tr{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px}
html body.md-public-offers #div_rejestracja .md-reg-consent .md-reg-control td{display:block;min-width:0;width:auto!important;padding:0!important;font:400 12px/1.8 var(--md-public-font)}
html body.md-public-offers #div_rejestracja .md-reg-consent :is(a,font){color:#fff!important;font:inherit}
html body.md-public-offers #div_rejestracja .md-reg-consent a{text-decoration:underline}
html body.md-public-offers #div_rejestracja .md-reg-submit .div_reg_button{position:relative;display:flex;align-items:center;justify-content:center;width:100%;max-width:none;height:48px;background:#7AC319;border-radius:2px;margin:0;padding:0;overflow:hidden}
html body.md-public-offers #div_rejestracja .md-reg-submit-label{font:600 20px/24px var(--md-public-font);color:#003368}
html body.md-public-offers #div_rejestracja .md-reg-submit input[type=image]{position:absolute;inset:0;display:block;opacity:0;width:100%!important;height:100%!important;margin:0;padding:0;cursor:pointer}
html body.md-public-offers #div_rejestracja .md-reg-submit .div_reg_button:hover{background:#6caf16}
html body.md-public-offers #div_rejestracja .md-reg-alternative{margin:2px 0 12px!important;text-align:center}
html body.md-public-offers #div_rejestracja .md-reg-alternative small{font:400 13px/1.7 var(--md-public-font);color:#fff}
html body.md-public-offers #div_rejestracja .md-reg-facebook .div_reg_button{width:100%;max-width:none;height:auto;margin:0;padding:0}
html body.md-public-offers #div_rejestracja .md-reg-facebook a{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding:13px 38px;background:#415dae url('/theme/images/svg/facebook.svg') no-repeat left 28px center;border-radius:2px;color:#fff;font:600 14px/20px var(--md-public-font);text-decoration:none}
html body.md-public-offers #div_rejestracja .md-reg-facebook img{display:none}
html body.md-public-offers #div_rejestracja .md-register-clause{max-width:480px;width:100%;margin:22px auto 0;color:#adc2d5;font:400 12px/1.8 var(--md-public-font)}
html body.md-public-offers #div_rejestracja .md-register-clause summary{cursor:pointer;min-height:42px;padding:8px 0;color:#adc2d5}
html body.md-public-offers #div_rejestracja .md-register-clause-copy>br{display:none}
html body.md-public-offers #div_rejestracja .md-register-clause-copy :is(p,font,span,a){font:inherit!important;color:inherit!important;background:transparent!important}
html body.md-public-offers #div_rejestracja .md-register-clause-copy p{margin:0 0 10px!important;padding:0!important;text-align:left}
html body.md-public-offers #div_rejestracja :is(input,select,button,a,summary):focus-visible,html body.md-public-offers #div_rejestracja .div_reg_button:focus-within{outline:3px solid #c4ef90!important;outline-offset:3px}
html body.md-public-offers #div_page_content .md-catalog-link-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:24px 0 32px;padding:0}
html body.md-public-offers #div_page_content .md-catalog-link-grid :is(p,span){display:contents}
html body.md-public-offers #div_page_content .md-catalog-link-grid br,html body.md-public-offers #div_page_content .md-catalog-link-grid a:empty{display:none}
html body.md-public-offers #div_page_content .md-catalog-link-grid a{display:flex;align-items:center;gap:12px;justify-content:space-between;min-width:0;min-height:76px;height:100%;margin:0!important;padding:14px 16px;background:#EDF3F7;border:1px solid transparent;border-radius:6px;color:#003368!important;font:600 14px/1.6 var(--md-public-font)!important;text-decoration:none!important;overflow-wrap:anywhere}
html body.md-public-offers #div_page_content .md-catalog-link-grid a::after{content:'';flex:0 0 6px;height:6px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);margin:0 2px 0 4px}
html body.md-public-offers #div_page_content .md-catalog-link-grid a:hover{background:#E9EEF2;border-color:#91a9bd;text-decoration:underline!important;text-underline-offset:3px}
html body.md-public-offers #div_page_content .md-catalog-link-grid a:focus-visible{outline:3px solid #003368;outline-offset:3px}
@media(max-width:1023px){
 html body.md-public-offers #div_rejestracja .md-register-form{left:0}
 html body.md-public-offers #div_rejestracja .md-register-clause{margin-right:0}
 html body.md-public-offers #div_page_content .md-catalog-link-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:767px){
 html body.md-public-offers #div_rejestracja.md-register-consistent{padding:36px 0 40px;background-position:center top}
 html body.md-public-offers #div_rejestracja.md-register-consistent .head4{font-size:28px;margin-bottom:24px}
 html body.md-public-offers #div_rejestracja .md-register-form,html body.md-public-offers #div_rejestracja .md-register-clause{width:100%;max-width:530px;margin-left:auto!important;margin-right:auto!important}
 html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-row{grid-template-columns:minmax(0,1fr);gap:6px;margin-bottom:14px}
 html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-row>.md-reg-control{grid-column:1}
 html body.md-public-offers #div_rejestracja .reg_table>tbody>.md-reg-row>.md-reg-label{text-align:left;line-height:1.5;padding:0;font-size:14px}
 html body.md-public-offers #div_rejestracja :is(.md-reg-email,.md-reg-password,.md-reg-repeat) input,html body.md-public-offers #div_rejestracja :is(.md-reg-birth,.md-reg-source) select{height:48px!important;font-size:16px}
 html body.md-public-offers #div_rejestracja :is(.md-reg-birth,.md-reg-source) .md-reg-control div{height:48px!important}
 html body.md-public-offers #div_rejestracja .md-reg-gender .md-reg-control{padding-top:4px!important;padding-bottom:4px!important}
 html body.md-public-offers #div_rejestracja .md-reg-overview{margin-top:18px!important}
 html body.md-public-offers #div_rejestracja .md-reg-facebook a{padding-left:32px;padding-right:20px;background-position:left 16px center;font-size:13px}
 html body.md-public-offers #div_page_content .md-catalog-link-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 html body.md-public-offers #div_page_content .md-catalog-link-grid a{font-size:13px!important;padding:12px;min-height:84px;gap:8px}
}
@media(max-width:359px){html body.md-public-offers #div_page_content .md-catalog-link-grid{grid-template-columns:1fr}}
/* Continue the same spacing through the old contact/steps blocks to the footer. */
html body.md-public-offers #div_kontakt{padding:28px 0;font:400 14px/1.8 var(--md-public-font)}
html body.md-public-offers #div_kontakt .row{margin:0}
html body.md-public-offers #div_kontakt .kontakt_box{padding:0;max-width:744px;margin:0 auto;float:none}
html body.md-public-offers #div_kontakt .kontakt_text_big{font:600 22px/1.4 var(--md-public-font)}
html body.md-public-offers #div_kontakt .kontakt_text{font:400 14px/1.8 var(--md-public-font)}
html body.md-public-offers #div_kontakt .kontakt_box>br{display:none}
html body.md-public-offers #div_kontakt .kontakt_box>div+div{margin-top:10px}
html body.md-public-offers #div_kroki{height:auto;min-height:0;padding:32px 0;background:#003368}
html body.md-public-offers #div_kroki .row{margin:0}
html body.md-public-offers #div_kroki .head4{font:600 24px/1.4 var(--md-public-font);margin:0 0 28px;padding:0;color:white}
html body.md-public-offers #div_kroki .nav_kroki{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;height:auto;min-height:0;width:100%;padding:0;margin:0;list-style:none}
html body.md-public-offers #div_kroki .nav_kroki li{width:auto;height:auto;float:none;padding:0;margin:0;min-width:0;text-align:center;font:400 13px/1.6 var(--md-public-font)}
html body.md-public-offers #div_kroki .nav_kroki li:has(.krok_arrow){display:none}
html body.md-public-offers #div_kroki .nav_kroki img{display:block;width:32px;height:32px;object-fit:contain;margin:0 auto 10px}
html body.md-public-offers #div_kroki .nav_kroki span{display:block;padding:0;font:inherit}
@media(max-width:767px){
 html body.md-public-offers #div_kroki .nav_kroki{grid-template-columns:minmax(0,1fr);gap:18px}
 html body.md-public-offers #div_kroki .nav_kroki li{display:flex;align-items:center;gap:16px;text-align:left}
 html body.md-public-offers #div_kroki .nav_kroki img{flex:0 0 32px;margin:0}
 html body.md-public-offers #div_kroki .head4{font-size:22px}
}


/* ===== R4 components (32x4 menu bars, age grid 3/2, card pixels) ===== */
/* R4: one six-link age grid for all six public catalog layouts.
   Legacy wrapper divs remain in the HTML but never establish floating columns. */
html body.md-public-offers #div_page_content .md-public-ages{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;gap:12px!important;clear:both;width:100%;margin:24px 0 28px!important;padding:0;float:none}
html body.md-public-offers #div_page_content .md-public-ages div{display:contents!important;float:none!important;width:auto!important;height:auto!important;min-width:0;margin:0!important;padding:0!important;border:0!important}
html body.md-public-offers #div_page_content .md-public-ages::before,html body.md-public-offers #div_page_content .md-public-ages::after{content:none!important;display:none!important}
html body.md-public-offers #div_page_content .md-public-ages br{display:none}
html body.md-public-offers #div_page_content .md-public-ages a{display:flex!important;align-items:center;justify-content:flex-start;box-sizing:border-box;width:100%;min-width:0;height:100%;min-height:54px;margin:0!important;padding:12px 14px;border:1px solid #cbd9e4;border-radius:6px;background:#fff;color:#003368!important;font:600 13px/1.6 var(--md-public-font)!important;text-decoration:none!important;overflow-wrap:anywhere;float:none!important}
html body.md-public-offers #div_page_content .md-public-ages a :is(u,font,b,span){font:inherit!important;text-decoration:inherit!important;color:inherit!important}
html body.md-public-offers #div_page_content .md-public-ages a:hover{background:#EDF3F7;border-color:#91a9bd;text-decoration:underline!important;text-underline-offset:3px}
html body.md-public-offers #div_page_content .md-public-ages a:focus-visible{outline:3px solid #003368;outline-offset:3px}
/* Match the actual visible bars, not the outer 24px box of the old SVG.
   The source SVG and link stay intact; these decorative bars follow aria-expanded. */
html body.md-public-offers #menu_dropdown .md-public-trigger-label{display:flex;align-items:center;gap:10px;font:600 16px/24px var(--md-public-font)}
html body.md-public-offers #menu_dropdown .md-public-trigger-label>.md-public-icon{display:none}
html body.md-public-offers #menu_dropdown .md-public-menu-glyph{position:relative;display:block;flex:0 0 32px;width:32px;height:22px}
html body.md-public-offers #menu_dropdown .md-public-menu-glyph>span{position:absolute;left:0;display:block;width:32px;height:4px;margin:0;background:#003368;border-radius:2px;transition:transform .15s,opacity .15s,top .15s}
html body.md-public-offers #menu_dropdown .md-public-menu-glyph>span:nth-child(1){top:0}
html body.md-public-offers #menu_dropdown .md-public-menu-glyph>span:nth-child(2){top:9px}
html body.md-public-offers #menu_dropdown .md-public-menu-glyph>span:nth-child(3){top:18px}
html body.md-public-offers #menu_dropdown[aria-expanded=true] .md-public-menu-glyph>span:nth-child(1){top:9px;transform:rotate(45deg)}
html body.md-public-offers #menu_dropdown[aria-expanded=true] .md-public-menu-glyph>span:nth-child(2){opacity:0}
html body.md-public-offers #menu_dropdown[aria-expanded=true] .md-public-menu-glyph>span:nth-child(3){top:9px;transform:rotate(-45deg)}
html body.md-public-offers #menu_dropdown{display:flex;align-items:center;min-height:46px;min-width:104px}
/* Transparent pixels used by the old nine-slice frame must not become flex
   items after its table wrappers are flattened. Preserve them in the source. */
html body.md-public-offers .lista_om img[alt^="ramka_"]{display:none!important}
@media(max-width:767px){
 html body.md-public-offers #div_page_content .md-public-ages{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;margin:20px 0 24px!important}
 html body.md-public-offers #div_page_content .md-public-ages a{font-size:13px!important;min-height:68px;padding:10px}
}
@media(prefers-reduced-motion:reduce){html body.md-public-offers #menu_dropdown .md-public-menu-glyph>span{transition:none}}


/* ===== R5 components (no people-search box on article search / recipients) ===== */
/* R5: hide unrelated people search only on article search and the data recipients list. Legacy HTML is unchanged. */
html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box>.container>.row>.col-lg-4:has(#search-box){display:none!important}
html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box>.container>.row>.col-lg-8{flex:0 0 100%;width:100%;max-width:100%;padding:0 10px!important}
html body[data-md-pattern="legal-table"] #subpage-content.office-contact .title-box>.container>.row>.col-lg-4:has(#search-box){display:none!important}
html body[data-md-pattern="legal-table"] #subpage-content.office-contact .title-box>.container>.row>.col-lg-8{flex:0 0 100%;width:100%;max-width:100%;padding:0 10px!important}
html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box>.container:not([data-search-results]){max-width:1020px;width:100%;padding:0 32px;margin:0 auto 28px}
html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box>.container>.row{margin:0}
html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box>.row>.col-12{padding:0!important}
html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box>.container>.row>.col-lg-8{padding:0!important}
html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box .page_title{padding:0!important;margin:0}
html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box h1.md-page-heading{margin:0!important}
@media(max-width:767px){html body:is([data-md-functional="szukaj-artykulow"],[data-md-functional="wyniki-artykulow"],[data-md-functional="wyniki-kolejna-strona"],[data-md-functional="wyniki-brak"],[data-md-functional="wyniki-tag"],[data-md-functional="wyniki-wiele"],[data-md-functional="wyniki-nastepna"]) #subpage-content.office-contact .title-box>.container:not([data-search-results]){padding:0 20px;margin-bottom:20px}}


/* ===== R6 components (recipients table -> native details below 1024) ===== */
/* R6: compact vertical disclosures on phones and portrait tablets. */
html body[data-md-pattern=legal-table] #subpage-content .md-table-scroll table{min-width:0}
@media(max-width:1023px){
 html body[data-md-pattern=legal-table] #subpage-content .md-table-scroll{overflow:visible;min-width:0;max-width:100%}
 html body[data-md-pattern=legal-table] #subpage-content .md-table-scroll table{min-width:0;width:100%!important}
 html body[data-md-pattern=legal-table] #subpage-content .md-table-scroll td{min-width:0;overflow-wrap:anywhere}
 html body[data-md-pattern=legal-table] #subpage-content .md-table-scroll.md-recipients-mobile{border:0;margin:20px 0 32px}
 html body[data-md-pattern=legal-table] #subpage-content .md-recipients-mobile>table{display:none!important}
 html body[data-md-pattern=legal-table] #subpage-content .md-table-hint{display:block;margin:20px 0 0;color:#526b80;font-size:14px;line-height:1.6}
 .md-recipient-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .md-recipient{min-width:0;border:1px solid #ccdbe6;border-radius:6px;background:#fff;overflow-wrap:anywhere}
 .md-recipient>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:66px;padding:18px 20px;cursor:pointer;list-style:none;color:#003368;font:600 16px/1.5 var(--md-public-font)}
 .md-recipient>summary::-webkit-details-marker{display:none}
 .md-recipient-title{min-width:0;flex:1}
 .md-recipient-title>br{display:none}
 .md-recipient>summary::after{content:'';display:block;width:9px;height:9px;flex:0 0 9px;border-right:2px solid #003368;border-bottom:2px solid #003368;transform:rotate(45deg);margin:0 2px 5px}
 .md-recipient[open]>summary{background:#EDF3F7;border-radius:6px 6px 0 0;border-bottom:1px solid #ccdbe6}
 .md-recipient[open]>summary::after{transform:rotate(225deg);margin-bottom:-5px}
 .md-recipient>summary:focus-visible{outline:3px solid #003368;outline-offset:3px;border-radius:6px}
 .md-recipient-fields{padding:0 20px 20px}
 .md-recipient-field{padding:18px 0 0}
 .md-recipient-field[hidden]{display:none!important}
 .md-recipient-label{display:block;font:600 13px/1.5 var(--md-public-font);color:#526b80;margin:0 0 6px}
 .md-recipient-value{font:400 15px/1.7 var(--md-public-font);color:#003368;overflow-wrap:anywhere}
}


/* ===== R7 components (public sitemap tree) ===== */
/* R7: sitemap only. Original URLs, shell and forms retained. */
body[data-md-pattern=site-map] #subpage-content.office-contact .title-box > .container > .row > .col-lg-4,
body[data-md-pattern=site-map] #subpage-content.office-contact .md-section-nav,
body[data-md-pattern=site-map] #subpage-content.office-contact .md-mobile-toc{display:none!important}
body[data-md-pattern=site-map] #subpage-content.office-contact .title-box > .container > .row > .col-lg-8{flex:0 0 100%!important;max-width:100%!important;width:100%!important;min-width:0;padding-bottom:40px!important}
body[data-md-pattern=site-map] #subpage-content.office-contact .title-box{padding-top:36px!important}
body[data-md-pattern=site-map] #subpage-content.office-contact .page_title{margin:0 0 16px!important;padding:0!important}
body[data-md-pattern=site-map] #subpage-content.office-contact h1{font-size:clamp(28px,3.4vw,44px)!important;line-height:1.2!important;margin:0!important}
#md-complete-sitemap{color:#003368;max-width:100%;min-width:0;font-size:16px;line-height:1.55}
#md-complete-sitemap *,#md-map-editor *{box-sizing:border-box}
#md-complete-sitemap [hidden],#md-map-editor[hidden]{display:none!important}
#md-complete-sitemap p{margin:0;font-size:15px;line-height:1.6;max-width:none}
#md-complete-sitemap .md-sitemap-lead{font-size:17px;max-width:790px;margin:0 0 28px;color:#526e87}
#md-complete-sitemap button,#md-complete-sitemap input,#md-complete-sitemap select,#md-map-editor button,#md-map-editor input,#md-map-editor select,#md-map-editor textarea{font:inherit;min-width:0;border-radius:6px;box-shadow:none}
#md-complete-sitemap button,#md-map-editor button{cursor:pointer;border:1px solid #bccddb;background:#fff;color:#003368;min-height:44px;padding:10px 15px;font-size:14px;font-weight:600;line-height:1.4;white-space:normal}
#md-complete-sitemap button:hover,#md-map-editor button:hover{background:#EDF3F7;border-color:#003368}
#md-complete-sitemap :focus-visible,#md-map-editor :focus-visible{outline:3px solid #003368;outline-offset:3px}
#md-complete-sitemap .md-sitemap-search{padding:24px;background:#EDF3F7;border-radius:6px;margin-bottom:24px}
#md-complete-sitemap .md-sitemap-search label{display:block;font-weight:600;font-size:17px;margin:0 0 10px}
#md-complete-sitemap .md-sitemap-search>div{display:flex;gap:10px}
#md-complete-sitemap #md-map-query{width:100%;height:50px;background:#fff;border:1px solid #bccddb;color:#003368;padding:12px 15px;font-size:16px}
#md-complete-sitemap #md-map-results{font-size:13px;color:#526e87;margin-top:10px;min-height:22px}
#md-complete-sitemap .md-sitemap-jumps{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0 0 30px}
#md-complete-sitemap .md-sitemap-jumps a{display:flex;align-items:center;gap:10px;border:1px solid #cbd9e3;border-radius:6px;font-size:13px!important;font-weight:600!important;color:#003368!important;text-decoration:none!important;line-height:1.4;padding:10px 12px;min-height:44px}
#md-complete-sitemap .md-sitemap-jumps a:hover{background:#EDF3F7}
#md-complete-sitemap .md-sitemap-jumps span{font-size:12px;color:#526e87}
#md-complete-sitemap .md-sitemap-tree{display:grid;grid-template-columns:1fr;gap:14px;margin:0}
#md-complete-sitemap .md-sitemap-section{border:1px solid #ccdae5;border-radius:6px;padding:0;margin:0;min-width:0;scroll-margin-top:24px;background:#fff}
#md-complete-sitemap summary{cursor:pointer;list-style:none;margin:0;min-width:0}
#md-complete-sitemap summary::-webkit-details-marker{display:none}
#md-complete-sitemap .md-sitemap-section-details>summary{display:flex;align-items:center;gap:20px;padding:22px 24px;min-height:94px;position:relative}
#md-complete-sitemap .md-sitemap-section-details>summary:hover{background:#f6f8fa}
#md-complete-sitemap .md-sitemap-section-details>summary>span:nth-child(2){flex:1;min-width:0}
#md-complete-sitemap .md-sitemap-section-details>summary:after,#md-complete-sitemap .md-sitemap-branch>summary:after{content:'';width:10px;height:10px;border-right:2px solid #003368;border-bottom:2px solid #003368;transform:rotate(45deg);flex:0 0 10px;margin:0 4px 5px 10px}
#md-complete-sitemap details[open]>.md-unused{display:none}
#md-complete-sitemap details[open]>summary:after{transform:rotate(225deg);margin-top:8px}
#md-complete-sitemap .md-sitemap-section h2{font-size:23px!important;line-height:1.3!important;font-weight:600!important;margin:0!important;padding:0!important;max-width:none}
#md-complete-sitemap .md-sitemap-number{font-size:15px;line-height:1;font-weight:600;color:#526e87;background:#EDF3F7;border-radius:6px;width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px}
#md-complete-sitemap .md-sitemap-description{display:block;font-size:14px;color:#526e87;margin-top:5px}
#md-complete-sitemap .md-sitemap-count{font-size:14px;font-weight:600;background:#EDF3F7;border-radius:20px;padding:4px 11px}
#md-complete-sitemap .md-sitemap-list{list-style:none!important;padding:0!important;margin:0!important;columns:auto!important;min-width:0}
#md-complete-sitemap .md-sitemap-section-details>.md-sitemap-list{padding:0 24px 22px!important;border-top:1px solid #E9EEF2}
#md-complete-sitemap .md-sitemap-list li{list-style:none!important;margin:0!important;padding:0!important;float:none!important;width:auto!important;min-width:0;break-inside:auto;line-height:1.5!important;border:0}
#md-complete-sitemap .md-sitemap-node{border-bottom:1px solid #E9EEF2;padding:12px 4px;min-width:0;clear:both}
#md-complete-sitemap .md-sitemap-node>a{display:block!important;padding:3px 0!important;font-size:15px!important;line-height:1.6!important;font-weight:500!important;color:#003368!important;text-decoration:underline!important;text-decoration-color:#bdccdb!important;text-underline-offset:4px;overflow-wrap:anywhere;max-width:100%;float:none!important}
#md-complete-sitemap .md-sitemap-node>a:hover{color:#AD0000!important;text-decoration-color:#AD0000!important}
#md-complete-sitemap .md-sitemap-node>a b{font-weight:600!important}
#md-complete-sitemap .md-sitemap-branch{margin:10px 0;border-left:2px solid #dce6ee;padding-left:16px;min-width:0}
#md-complete-sitemap .md-sitemap-branch>summary{display:flex;gap:12px;align-items:center;padding:13px 8px;background:#f4f7f9;border-radius:4px;font-weight:600;font-size:16px;line-height:1.4;overflow-wrap:anywhere}
#md-complete-sitemap .md-sitemap-branch>summary>span:first-child{flex:1;min-width:0}
#md-complete-sitemap .md-sitemap-branch small{font-size:12px;font-weight:400;color:#526e87}
#md-complete-sitemap .md-map-empty{padding:32px 24px;background:#EDF3F7;border-radius:6px}
/* Review controls are inserted by a localhost-only script, never part of the public sitemap template. */
#md-complete-sitemap .md-map-workbench{margin:0 0 26px;border:1px dashed #afc3d2;padding:16px 18px;border-radius:6px;background:#f8fafb}
#md-complete-sitemap .md-map-mode{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
#md-complete-sitemap .md-map-mode small{display:block;font-size:12px;color:#526e87;margin-top:3px}
#md-complete-sitemap #md-map-mode-button{background:#003368;color:white;border-color:#003368}
#md-complete-sitemap .md-map-review-panel{margin-top:20px;padding-top:18px;border-top:1px solid #ccdae5}
#md-complete-sitemap .md-map-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}
#md-complete-sitemap .md-map-stats>div{background:white;border:1px solid #ccdae5;border-radius:6px;padding:14px}
#md-complete-sitemap .md-map-stats strong{display:block;font-size:26px;line-height:1.3}
#md-complete-sitemap .md-map-stats span{font-size:12px;line-height:1.4;display:block;color:#526e87}
#md-complete-sitemap .md-map-filters{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}
#md-complete-sitemap .md-map-filters label{flex:1;min-width:180px;font-size:12px;font-weight:600;margin:0}
#md-complete-sitemap .md-map-filters select{width:100%;height:44px;margin-top:5px;background:#fff;border:1px solid #bccddb;padding:9px 32px 9px 10px;color:#003368;appearance:auto;font-size:14px}
#md-complete-sitemap .md-map-tools{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
#md-complete-sitemap .md-map-workbench p{font-size:13px}
#md-complete-sitemap #md-map-save-message{min-height:22px;margin:8px 0;color:#526e87;font-size:12px}
#md-complete-sitemap .md-map-annotation{padding:10px 0 2px;display:none}
#md-complete-sitemap[data-review=true] .md-map-annotation{display:block}
#md-complete-sitemap .md-map-badges{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
#md-complete-sitemap .md-map-badge{display:inline-block;border-radius:4px;border:1px solid #cad9e3;padding:3px 8px;font-size:11px;line-height:1.4;background:#EDF3F7}
#md-complete-sitemap .md-map-badge[data-design=own]{background:#f1f8e9;border-color:#abc985}
#md-complete-sitemap .md-map-badge[data-design=missing]{background:#fff1f1;border-color:#d9aaaa;color:#8c0000}
#md-complete-sitemap .md-map-annotation p{font-size:11px;overflow-wrap:anywhere;margin-top:7px;color:#526e87}
#md-complete-sitemap .md-map-row-tools{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
#md-complete-sitemap .md-map-row-tools button{font-size:12px;padding:6px 10px;min-height:36px}
#md-complete-sitemap .md-map-gaps{background:#fff;margin:12px 0;border-radius:6px;border:1px solid #ccdae5;padding:12px}
#md-complete-sitemap .md-map-gaps>summary{font-weight:600;font-size:14px}
#md-complete-sitemap .md-map-gaps p{margin-top:10px}
#md-complete-sitemap .md-map-functional-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
#md-map-editor{position:fixed;inset:0;background:rgba(0,30,60,.5);z-index:50000;display:flex;align-items:center;justify-content:center;padding:16px;color:#003368;font:15px/1.5 var(--md-public-font,Arial,sans-serif)}
#md-map-editor .md-map-dialog{background:#fff;border-radius:6px;max-width:650px;width:100%;max-height:calc(100dvh - 32px);overflow:auto;padding:24px}
#md-map-editor h2{font-size:23px;line-height:1.3;margin:0 0 14px;font-weight:600}
#md-map-editor p{font-size:13px;line-height:1.5;margin:0 0 12px;overflow-wrap:anywhere}
#md-map-editor label{display:block;margin:16px 0 7px;font-size:14px;font-weight:600}
#md-map-editor select,#md-map-editor textarea{display:block;width:100%;padding:12px;border:1px solid #bccddb;color:#003368;background:white;font-size:16px}
#md-map-editor textarea{min-height:110px;resize:vertical}
#md-map-editor .md-map-dialog-actions{display:flex;gap:10px;margin-top:18px}
#md-map-editor #md-map-edit-save{background:#003368;color:white;border-color:#003368}
#md-map-editor #md-map-edit-error{color:#AD0000;margin-top:12px}
@media(max-width:767px){
 body[data-md-pattern=site-map] #subpage-content.office-contact .title-box{padding-top:20px!important}
 #md-complete-sitemap .md-sitemap-lead{font-size:15px;margin-bottom:22px}
 #md-complete-sitemap .md-sitemap-search{padding:16px}
 #md-complete-sitemap .md-sitemap-search>div{flex-wrap:wrap}
 #md-complete-sitemap .md-sitemap-search button{flex:1}
 #md-complete-sitemap .md-sitemap-jumps{gap:6px;margin-bottom:22px}
 #md-complete-sitemap .md-sitemap-jumps a{padding:9px 10px;font-size:12px!important}
 #md-complete-sitemap .md-sitemap-section-details>summary{padding:18px 14px;gap:10px;min-height:84px}
 #md-complete-sitemap .md-sitemap-section h2{font-size:18px!important}
 #md-complete-sitemap .md-sitemap-number{font-size:12px;width:30px;height:34px;flex-basis:30px}
 #md-complete-sitemap .md-sitemap-description{font-size:12px;line-height:1.45}
 #md-complete-sitemap .md-sitemap-count{font-size:11px;padding:3px 7px}
 #md-complete-sitemap .md-sitemap-section-details>summary:after{margin-left:0;flex-basis:8px;width:8px;height:8px}
 #md-complete-sitemap .md-sitemap-section-details>.md-sitemap-list{padding:0 12px 14px!important}
 #md-complete-sitemap .md-sitemap-branch{padding-left:8px;margin-top:8px}
 #md-complete-sitemap .md-sitemap-branch>summary{font-size:14px;padding:12px 8px;gap:6px}
 #md-complete-sitemap .md-sitemap-node>a{font-size:14px!important;line-height:1.55!important}
 #md-complete-sitemap .md-map-workbench{padding:12px}
 #md-complete-sitemap .md-map-mode{align-items:stretch;flex-direction:column}
 #md-complete-sitemap .md-map-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 #md-complete-sitemap .md-map-stats>div{padding:10px}
 #md-complete-sitemap .md-map-stats strong{font-size:22px}
 #md-complete-sitemap .md-map-filters label{min-width:100%}
 #md-map-editor .md-map-dialog{padding:18px}
}
@media(prefers-reduced-motion:reduce){#md-complete-sitemap *{scroll-behavior:auto!important}}
/* Scoped typography resets defeat inherited article paragraph spacing. */
body[data-md-pattern=site-map] #subpage-content.office-contact #md-complete-sitemap p{margin:0!important;line-height:1.6!important}
body[data-md-pattern=site-map] #subpage-content.office-contact #md-complete-sitemap .md-sitemap-lead{margin:0 0 24px!important}
body[data-md-pattern=site-map] #subpage-content.office-contact #md-complete-sitemap #md-map-results{margin:8px 0 0!important}
body[data-md-pattern=site-map] #subpage-content.office-contact #md-complete-sitemap .md-map-workbench p{margin:8px 0!important}
body[data-md-pattern=site-map] #subpage-content.office-contact #md-complete-sitemap .md-map-annotation p{margin:6px 0 0!important}
#md-complete-sitemap #md-map-clear{flex:0 0 auto;white-space:nowrap}
#md-complete-sitemap .md-sitemap-search label{line-height:1.5}
#md-complete-sitemap .md-sitemap-search>.md-map-tools{margin-bottom:0}
#md-complete-sitemap .md-sitemap-section-details>summary>h2{display:flex;align-items:center;gap:20px;flex:1;min-width:0}
#md-complete-sitemap .md-sitemap-section-copy{display:block;flex:1;min-width:0}
#md-complete-sitemap .md-sitemap-description{font-weight:400}
@media(max-width:767px){#md-complete-sitemap .md-sitemap-section-details>summary>h2{gap:10px}}
@media(max-width:767px){#md-complete-sitemap .md-map-row-tools button{min-height:44px}}


/* ===== F6 runtime corrections (B2, Montserrat, R6 SSR) ===== */
/* F6 implementation corrections. Approved B2 / public font / R6 no-JS layout.
   Kept outside the frozen design sources; assembled last. */
html body[data-md-public="on"] #div_accept_cookies .cookie-categories {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
html body[data-md-public="on"] #div_accept_cookies .cookie-category {min-width:0;overflow-wrap:anywhere}
html body[data-md-family="contact"] #subpage-content .support-side+#search-box {display:none}
/* Native article search: its fixed 250px input plus submit link clipped at 320px. */
html body[data-md-family="search"] form[name="f_search2"] table {width:100%;max-width:480px}
html body[data-md-family="search"] form[name="f_search2"] tr {display:flex;gap:12px;align-items:center}
html body[data-md-family="search"] form[name="f_search2"] td:first-child {flex:1;min-width:0}
html body[data-md-family="search"] form[name="f_search2"] td:last-child {flex:0 0 auto}
html body[data-md-family="search"] form[name="f_search2"] input[name="word"] {width:100%!important;min-width:0;box-sizing:border-box}
html body[data-md-family="search"] #subpage-content {overflow-wrap:anywhere}
@media(max-width:767px){
  html body[data-md-public="on"] #div_accept_cookies .cookie-categories {grid-template-columns:minmax(0,1fr)}
}
html body[data-md-public="on"].md-public-offers {--md-public-font:Montserrat,Arial,sans-serif;--md-font:Montserrat,Arial,sans-serif}
html body[data-md-public="on"].md-public-offers .lista_om,
html body[data-md-public="on"].md-public-offers .frame1 {font-family:Montserrat,Arial,sans-serif}
html body[data-md-pattern="legal-table"] .md-recipients-ssr>.md-recipient-list {display:none}
html body[data-md-pattern="legal-table"] .md-recipients-ssr>table {width:100%;table-layout:fixed}
html body[data-md-pattern="legal-table"] .md-recipients-ssr td {overflow-wrap:anywhere}
@media(max-width:1023px){
  html body[data-md-pattern="legal-table"] #subpage-content .md-recipients-ssr {border:0;overflow:visible}
  html body[data-md-pattern="legal-table"] .md-recipients-ssr>table {display:none!important}
  html body[data-md-pattern="legal-table"] .md-recipients-ssr>.md-recipient-list {display:grid}
}

/* Catalog SSR labels accompany the existing links. Preserve native logged-in icons without a label. */
body.md-public-offers .top_menu_list>li>a:not(:has(>.md-public-trigger-label))>img{display:block}


/* A024-10/11: readable source graphics and aligned legacy benefit rows. */
body[data-md-public="on"] .md-source-figure {display:block;max-width:100%;margin:20px 0;text-align:center}
body[data-md-public="on"] .md-source-figure img {max-width:100%;height:auto}
body[data-md-public="on"] .md-source-figure span {display:block;padding:12px;min-height:44px;font-size:14px;text-decoration:underline}
body[data-md-public="on"] .md-source-figure:focus-visible {outline:3px solid #003368;outline-offset:3px}
body[data-md-public="on"] font:has(img[data-md-check]):not(font font) {display:block;position:relative;padding:0 0 0 32px;margin:16px 0;min-height:24px;font-size:16px;line-height:1.6}
body[data-md-public="on"] font:has(img[data-md-check]) font {display:contents}
body[data-md-public="on"] img[data-md-check] {position:absolute;left:0;top:3px;width:20px!important;height:20px!important;margin:0!important;float:none!important}
body[data-md-public="on"] .md-empty-media {display:inline-block;padding:12px;color:#003368;background:#EDF3F7;border:1px solid #E9EEF2;border-radius:6px;font:400 14px/1.6 Montserrat,Arial,sans-serif}

body[data-md-public="on"] .md-archive-video {display:block;max-width:100%;height:auto;aspect-ratio:16/9;margin:16px 0;background:#003368;border-radius:6px}

/* A025-30: intrinsic legacy search width and single-line CTA clipped the 320px view. */
body[data-md-public="on"] .box_search_v2 {min-width:0;max-width:100%}
body[data-md-public="on"] .md-catalog-register {min-width:0}
html body[data-md-public="on"].md-public-offers #div_page_content .md-catalog-register a.md-inline-link {white-space:normal;max-width:100%;height:auto;text-align:center;box-sizing:border-box;overflow-wrap:anywhere}
body[data-md-public="on"] .md-face-register-art {display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;aspect-ratio:2/3;width:100%;padding:12px;background:#003368;color:#fff;text-align:center;font:400 15px/1.5 Montserrat,Arial,sans-serif;box-sizing:border-box}
@media(max-width:575px){
 body[data-md-public="on"] .box_search_v2 .box_search_wrapper {padding:12px!important;background:#EDF3F7;border-radius:6px}
 body[data-md-public="on"] .box_search_v2 .box_search_wrapper_round {display:none}
 body[data-md-public="on"] .box_search_v2 form>table>tbody>tr {display:flex;flex-wrap:wrap;align-items:center}
 body[data-md-public="on"] .box_search_v2 form>table>tbody>tr>td:first-child:not([colspan]) {width:100%}
 body[data-md-public="on"] .box_search_v2 form>table>tbody>tr>td[colspan] {width:100%}
 body[data-md-public="on"] .box_search_v2 .div_select_kraj {width:auto;max-width:100%;height:auto;border:0}
 body[data-md-public="on"] .box_search_v2 #home_search_kraj {width:100%;max-width:100%;height:44px}
 body[data-md-public="on"] .box_search_v2 .home_search_button {max-width:100%;height:auto}
}

/* R3-03: partner indicators use one 21px frame of the legacy sprite.
   Keep the original checked-state JS and the larger surrounding row. */
html body[data-md-public="on"][data-md-adapter="s05"] form[name="szukaj_bl"] :is(#div_partner_k,#div_partner_m){display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;background:none}
html body[data-md-public="on"][data-md-adapter="s05"] form[name="szukaj_bl"] :is(#div_partner_k,#div_partner_m)::before{content:"";display:block;width:21px;height:21px;background:url('/_static_1/_img/_templates5/home_search_v2_radio.png') no-repeat 0 0}
html body[data-md-public="on"][data-md-adapter="s05"] form[name="szukaj_bl"] :is(#div_partner_k,#div_partner_m).checked::before{background-position:0 -42px}
html body[data-md-public="on"][data-md-adapter="s05"] form[name="szukaj_bl"] :is(#div_partner_k,#div_partner_m)>img{display:none}
html body[data-md-public="on"][data-md-adapter="s05"] form[name="szukaj_bl"] td[colspan]>table>tbody>tr{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:8px;align-items:center}
html body[data-md-public="on"][data-md-adapter="s05"] form[name="szukaj_bl"] td[colspan]>table>tbody>tr>td{min-width:0;width:auto}
html body[data-md-public="on"][data-md-adapter="s05"] form[name="szukaj_bl"] td[colspan] td.home_search_label{white-space:nowrap;overflow-wrap:normal;word-break:normal}

/* R3-06: keep the section title readable on narrow phones. */
@media(max-width:575px){
 #md-complete-sitemap .md-sitemap-section-details>summary>h2{display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:10px;row-gap:6px}
 #md-complete-sitemap .md-sitemap-number{grid-column:1;grid-row:1}
 #md-complete-sitemap .md-sitemap-section-copy{grid-column:2;grid-row:1 / span 2;align-self:center}
 #md-complete-sitemap .md-sitemap-count{grid-column:1;grid-row:2;justify-self:start}
}

/* Keep legacy justified prose headings readable without changing their content. */
#subpage-content.md-privacy .order-lg-0 > :is(h2,h3,h4)[align="justify"]{text-align:left}

/* A045: CMS537 has meaningful line breaks between bare text nodes outside paragraphs. */
#subpage-content:has(#md-s02-537-section-1) .order-lg-0>br{display:revert}

/* A048: catalog contact block uses the same readable surface as the offers-69 family. */
html body.md-public-offers #div_kontakt{background:#EDF3F7!important;color:#003368;height:auto}
html body.md-public-offers #div_kontakt .kontakt_box{background:none!important;position:static;height:auto}
html body.md-public-offers #div_kontakt :is(.kontakt_text,.kontakt_text_big,a){color:#003368}
html body.md-public-offers #div_kontakt .kontakt_text a{font:inherit}
/* Native related links are adjacent when legacy BR spacers are hidden; give each link real spacing. */
html body.md-public-offers .page_col2_l>a[href^="/zagraniczne-oferty-matrymonialne-"],html body.md-public-offers .page_col2_l>a[href^="/zdjecia-ogloszenia-matrymonialne-"]{display:inline-block;margin:0 20px 16px 0}

/* A048: no thumbnail means a text card, not an empty photo frame. */
#subpage-content.md-stories .frame6_img:empty{display:none}

/* F6 R3-03: keep country-search option labels whole, including the narrow sidebar. */
html body[data-md-public="on"][data-md-adapter="s05"] form[name="szukaj_bl"]>.home_search_table,
html body[data-md-public="on"][data-md-adapter="s05"] form[name="szukaj_bl"]>table{border-collapse:collapse;border-spacing:0}
html body[data-md-public="on"][data-md-adapter="s05"] form[name="szukaj_bl"]>table>tbody{display:block}
html body[data-md-public="on"][data-md-adapter="s05"] form[name="szukaj_bl"]>table>tbody>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;margin-bottom:12px}
html body[data-md-public="on"][data-md-adapter="s05"] form[name="szukaj_bl"]>table>tbody>tr>td{min-width:0;padding:0;width:auto}
html body[data-md-public="on"][data-md-adapter="s05"] form[name="szukaj_bl"]>table>tbody>tr>td:is(.home_search_label,[colspan]){grid-column:1/-1}
html body[data-md-public="on"][data-md-adapter="s05"] form[name="szukaj_bl"] .home_search_label{white-space:nowrap;overflow-wrap:normal;word-break:normal}

/* F6 055: avoid stretched words in narrow legacy privacy/contest prose. */
@media (max-width: 767px) {
  body[data-md-public="on"][data-md-family="privacy"] #subpage-content.md-privacy .order-lg-0 [align="justify" i] {
    text-align: left;
  }
}

/* Text alternatives for the five source figures, contained within the article. */
body[data-md-public="on"] .md-figure-text-link { display: inline-block; margin: 8px 0 16px; padding: 10px 0; }
body[data-md-public="on"] .md-figure-data { margin: 24px 0; border: 1px solid #cbdbe8; border-radius: 6px; text-align: left; }
body[data-md-public="on"] .md-figure-data > summary { cursor: pointer; padding: 16px; font-weight: 600; scroll-margin-top: 120px; }
body[data-md-public="on"] .md-figure-data > summary:focus-visible { outline: 3px solid #003368; outline-offset: 3px; }
body[data-md-public="on"] .md2-figure-description { padding: 0 16px 16px; text-align: left; }
body[data-md-public="on"] .md2-figure-description__table { overflow-x: auto; max-width: 100%; margin: 20px 0; }
body[data-md-public="on"] .md2-figure-description table { width: 100%; border-collapse: collapse; table-layout: auto; font-size: 16px; }
body[data-md-public="on"] .md2-figure-description caption { padding: 12px 0; font-weight: 600; text-align: left; }
body[data-md-public="on"] .md2-figure-description th, body[data-md-public="on"] .md2-figure-description td { padding: 10px; border: 1px solid #cbdbe8; text-align: left; vertical-align: top; }
body[data-md-public="on"] .md2-figure-description th { background: #EDF3F7; }
@media(max-width:575px) { body[data-md-public="on"] .md2-figure-description th, body[data-md-public="on"] .md2-figure-description td { padding: 8px; } }

/* F6 060: keep source-data columns legible; scroll the table, not the page. */
body[data-md-public="on"] .md2-figure-description__table table { min-width: 36rem; }
body[data-md-public="on"] .md2-figure-description__table :is(th,td) { overflow-wrap: normal; word-break: normal; }
body[data-md-public="on"] .md2-figure-description__table td { white-space: nowrap; }
body[data-md-public="on"] .md2-figure-description__table:focus-visible { outline: 3px solid #003368; outline-offset: 2px; }

/* F6 063: keep the focused figure summary in place as its native details expands. */
body[data-md-public="on"]:has(.md-figure-data:focus-within) { overflow-anchor: none; }

/* MD2: Flatten the original 404 age-navigation wrappers, as in the S05 age grid. */
body[data-md-public="on"] #subpage-content.md-public-404 .col-12 > .row:has(> .col-md-4 a[href^="/Ogloszenia-matrymonialne-"]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px;margin:16px 0 24px}
body[data-md-public="on"] #subpage-content.md-public-404 .col-12 > .row:has(> .col-md-4 a[href^="/Ogloszenia-matrymonialne-"])::before,body[data-md-public="on"] #subpage-content.md-public-404 .col-12 > .row:has(> .col-md-4 a[href^="/Ogloszenia-matrymonialne-"])::after{display:none;content:none}
body[data-md-public="on"] #subpage-content.md-public-404 .col-12 > .row:has(> .col-md-4 a[href^="/Ogloszenia-matrymonialne-"]) :is(div,u,b){display:contents}
body[data-md-public="on"] #subpage-content.md-public-404 .col-12 > .row:has(> .col-md-4 a[href^="/Ogloszenia-matrymonialne-"]) br{display:none}
body[data-md-public="on"] #subpage-content.md-public-404 .col-12 > .row:has(> .col-md-4 a[href^="/Ogloszenia-matrymonialne-"]) a{display:flex;align-items:center;min-width:0;min-height:44px;overflow-wrap:anywhere}
@media(max-width:767px){body[data-md-public="on"] #subpage-content.md-public-404 .col-12 > .row:has(> .col-md-4 a[href^="/Ogloszenia-matrymonialne-"]){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}}

/* MD2: Keep the home carousel viewport inside the mobile content column. */
@media(max-width:767px){
body[data-md-public="on"][data-md-family="home"] #main-informant .carousel-container .info-carousel .slick-list{width:auto}
}

/* ===== F7 00363 accessibility corrections (19.09.2026): mobile form fields >= 16 px (no focus zoom on iOS), touch targets >= 44 px. Hand-written on top of the assembled bundle; ENV_PUBLIC=on only. ===== */
@media(max-width:767px){
body.md-public #search-box select.form-control{font-size:16px;min-height:44px}/* home shell only: on article shells #subpage-content.office-contact #search-box select already gives 16 px / 48 px */
body[data-md-public="on"] .box_search_v2 #home_search_kraj,body[data-md-public="on"] .box_search_v2 #home_search_wiek,body[data-md-public="on"] .box_search_v2 #home_search_woj{font-size:16px}
#subpage-content.md-kontakt-serwisu form[name="f_search2"] input[name="word"],#subpage-content.md-help .order-lg-0 form input:not([type="submit"]):not([type="hidden"]){font-size:16px}
}
@media(max-width:575px){.footer-navigation .md-footer-help>summary{min-height:44px}}
