/* Punkt7 Portal Mobile UI 0.1.2 — wyłącznie strona WWW, nie aplikacja */
@media (max-width: 767px){
  body.p7-mobile-web-ui{overflow-x:hidden}

  /* Header: the current desktop branding is too tall on phones. */
  body.p7-mobile-web-ui .p7mw-topbar{display:none!important}
  body.p7-mobile-web-ui .p7mw-header{min-height:0!important}
  body.p7-mobile-web-ui .p7mw-header :where(.site-branding,.site-logo,.logo,.cm-site-branding){
    margin:0!important;padding:10px 14px!important;min-height:0!important;height:auto!important;
  }
  body.p7-mobile-web-ui .p7mw-header img.p7mw-logo,
  body.p7-mobile-web-ui .p7mw-header :where(.custom-logo,.site-logo img,.site-branding img){
    display:block!important;width:auto!important;max-width:min(66vw,250px)!important;height:auto!important;max-height:70px!important;object-fit:contain!important;margin:0 auto!important;
  }
  body.p7-mobile-web-ui .p7mw-header :where(.header-main,.cm-header-1,.cm-row,.inner-wrap){min-height:0!important}
  body.p7-mobile-web-ui :where(#site-navigation,.main-navigation,.cm-primary-nav){min-height:52px!important}

  /* Urgent ticker stays visible but compact. */
  body.p7-mobile-web-ui :where(.breaking-news,.news-ticker,.cm-breaking-news,.p7-pilne){
    min-height:46px!important;margin-block:6px 10px!important;
  }
  body.p7-mobile-web-ui :where(.breaking-news,.news-ticker,.cm-breaking-news,.p7-pilne) *{
    font-size:14px!important;line-height:1.35!important;
  }

  /* News section: no poster-sized feature card on mobile. */
  body.p7-mobile-web-ui .p7mw-news-section{margin-top:18px!important}
  body.p7-mobile-web-ui .p7mw-news-heading{font-size:26px!important;line-height:1.15!important;margin:0 0 12px!important}
  body.p7-mobile-web-ui .p7mw-news-section img.p7mw-news-feature-image{
    width:100%!important;height:240px!important;max-height:240px!important;object-fit:cover!important;object-position:center!important;border-radius:14px!important;
  }
  body.p7-mobile-web-ui .p7mw-news-section .p7mw-news-feature{
    min-height:0!important;margin-bottom:14px!important;border-radius:14px!important;overflow:hidden!important;
  }
  body.p7-mobile-web-ui .p7mw-news-section .p7mw-news-feature :where(h2,h3,h4,.entry-title){
    font-size:21px!important;line-height:1.25!important;
  }
  body.p7-mobile-web-ui .p7mw-news-section .p7mw-news-feature :where(.entry-meta,time,.meta){font-size:13px!important}
  body.p7-mobile-web-ui .p7mw-news-section .p7mw-news-item{
    min-height:92px!important;margin:0 0 10px!important;
  }
  body.p7-mobile-web-ui .p7mw-news-section img.p7mw-news-thumb{
    max-width:116px!important;max-height:84px!important;object-fit:cover!important;border-radius:10px!important;
  }
  body.p7-mobile-web-ui .p7mw-news-section :where(h2,h3,h4,.entry-title){overflow-wrap:anywhere}
}

@media (max-width: 380px){
  body.p7-mobile-web-ui .p7mw-header img.p7mw-logo,
  body.p7-mobile-web-ui .p7mw-header :where(.custom-logo,.site-logo img,.site-branding img){max-height:62px!important;max-width:70vw!important}
  body.p7-mobile-web-ui .p7mw-news-section img.p7mw-news-feature-image{height:210px!important;max-height:210px!important}
  body.p7-mobile-web-ui .p7mw-news-heading{font-size:24px!important}
}

/* Punkt7 Portal Mobile UI 0.1.1 — Visual Match */
.p7mw-mobile-brand{display:none}
.p7mw-news-mobile{display:none}

@media (max-width: 767px){
  /* Zamiast wysokiego desktopowego brandingu pokazujemy własny zwarty nagłówek mobile. */
  body.p7-mobile-web-ui .p7mw-original-brand-shell{display:none!important}
  body.p7-mobile-web-ui .p7mw-mobile-brand{
    display:flex!important;align-items:center!important;justify-content:center!important;
    min-height:88px!important;padding:8px 16px!important;background:#fff!important;border-bottom:1px solid #edf1f5!important;
  }
  body.p7-mobile-web-ui .p7mw-mobile-brand a{display:flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important}
  body.p7-mobile-web-ui .p7mw-mobile-brand img{
    display:block!important;width:auto!important;height:auto!important;max-height:66px!important;max-width:min(70vw,270px)!important;object-fit:contain!important;
  }
  body.p7-mobile-web-ui .p7mw-header{padding:0!important;margin:0!important;min-height:0!important;height:auto!important}
  body.p7-mobile-web-ui .p7mw-header :where(.inner-wrap,.cm-container,.cm-header-col-1,.cm-header-col-2,.site-branding){min-height:0!important}
  body.p7-mobile-web-ui :where(#site-navigation,.main-navigation,.cm-primary-nav){min-height:52px!important;margin:0!important}

  /* Pasek PILNE bez wielkich marginesów. */
  body.p7-mobile-web-ui :where(.breaking-news,.news-ticker,.cm-breaking-news,.p7-pilne){
    min-height:42px!important;margin:5px 0 8px!important;
  }

  /* Mobilny newsroom budujemy jako osobny, zgrabny widok z tych samych artykułów. */
  body.p7-mobile-web-ui .p7mw-news-original-section{display:none!important}
  body.p7-mobile-web-ui .p7mw-news-mobile{
    display:block!important;margin:16px 0 20px!important;padding:0!important;color:#10233f!important;
  }
  body.p7-mobile-web-ui .p7mw-news-mobile__head{
    display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:12px!important;margin:0 0 10px!important;
  }
  body.p7-mobile-web-ui .p7mw-news-mobile__head h2{
    margin:0!important;font:850 25px/1.08 "Segoe UI",Arial,sans-serif!important;letter-spacing:-.025em!important;color:#10233f!important;
  }
  body.p7-mobile-web-ui .p7mw-news-mobile__head a{font-size:13px!important;font-weight:800!important;color:#d91c34!important;text-decoration:none!important;white-space:nowrap!important}
  body.p7-mobile-web-ui .p7mw-news-mobile__featured{
    position:relative!important;display:block!important;min-height:230px!important;border-radius:16px!important;overflow:hidden!important;background:#0d2745!important;text-decoration:none!important;box-shadow:0 9px 24px rgba(16,35,63,.11)!important;
  }
  body.p7-mobile-web-ui .p7mw-news-mobile__featured img{
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;
  }
  body.p7-mobile-web-ui .p7mw-news-mobile__featured:after{
    content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(180deg,rgba(8,25,44,.03) 22%,rgba(8,25,44,.88) 100%)!important;
  }
  body.p7-mobile-web-ui .p7mw-news-mobile__featured-text{
    position:absolute!important;z-index:2!important;left:16px!important;right:16px!important;bottom:15px!important;color:#fff!important;
  }
  body.p7-mobile-web-ui .p7mw-news-mobile__featured-text strong{
    display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;font-size:21px!important;line-height:1.18!important;font-weight:850!important;
  }
  body.p7-mobile-web-ui .p7mw-news-mobile__featured-text small{display:block!important;margin-top:7px!important;font-size:13px!important;opacity:.9!important}
  body.p7-mobile-web-ui .p7mw-news-mobile__list{display:grid!important;gap:8px!important;margin-top:9px!important}
  body.p7-mobile-web-ui .p7mw-news-mobile__item{
    display:grid!important;grid-template-columns:96px minmax(0,1fr) 16px!important;align-items:center!important;gap:10px!important;min-height:82px!important;padding:7px!important;border:1px solid #e2e8ef!important;border-radius:13px!important;background:#fff!important;color:#10233f!important;text-decoration:none!important;
  }
  body.p7-mobile-web-ui .p7mw-news-mobile__item img{width:96px!important;height:68px!important;object-fit:cover!important;border-radius:9px!important}
  body.p7-mobile-web-ui .p7mw-news-mobile__item strong{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;font-size:14px!important;line-height:1.25!important}
  body.p7-mobile-web-ui .p7mw-news-mobile__item small{display:block!important;margin-top:4px!important;font-size:12px!important;color:#6c7b8f!important}
  body.p7-mobile-web-ui .p7mw-news-mobile__item b{font-size:21px!important;font-weight:400!important;color:#173c62!important}
}

@media (max-width: 380px){
  body.p7-mobile-web-ui .p7mw-mobile-brand{min-height:80px!important;padding:7px 12px!important}
  body.p7-mobile-web-ui .p7mw-mobile-brand img{max-height:58px!important;max-width:74vw!important}
  body.p7-mobile-web-ui .p7mw-news-mobile__head h2{font-size:23px!important}
  body.p7-mobile-web-ui .p7mw-news-mobile__featured{min-height:210px!important}
  body.p7-mobile-web-ui .p7mw-news-mobile__featured-text strong{font-size:19px!important}
  body.p7-mobile-web-ui .p7mw-news-mobile__item{grid-template-columns:86px minmax(0,1fr) 14px!important}
  body.p7-mobile-web-ui .p7mw-news-mobile__item img{width:86px!important;height:64px!important}
}

/* =========================================================
   Punkt7 Portal Mobile UI 0.1.2 — GLOBAL MOBILE SHELL
   Public portal only. App/Partner are excluded server-side.
   ========================================================= */
@media (max-width:767px){
  html.p7mw-shell-ready,html.p7mw-shell-ready body{max-width:100%!important;overflow-x:hidden!important}
  body.p7-mobile-global-shell{background:#fff!important;color:#10233f!important}
  body.p7-mobile-global-shell img,body.p7-mobile-global-shell video,body.p7-mobile-global-shell iframe{max-width:100%!important;height:auto}

  /* One-column contract for all public templates/categories/singles. */
  body.p7-mobile-global-shell :where(.inner-wrap,.tg-container,.cm-container,.site-content,.content-wrapper,.p7mw-content-shell,.p7mw-main){
    width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
  }
  body.p7-mobile-global-shell :where(#primary,.content-area,.main-content,.cm-primary,.p7mw-content-shell){
    float:none!important;width:100%!important;max-width:100%!important;margin:0!important;min-width:0!important;
  }
  body.p7-mobile-global-shell :where(#secondary,.widget-area,.sidebar,.cm-secondary,.p7mw-sidebar){
    float:none!important;width:100%!important;max-width:100%!important;margin:22px 0 0!important;min-width:0!important;
  }
  body.p7-mobile-global-shell :where(article,.p7mw-article,.entry-content,.p7mw-entry-content){max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  body.p7-mobile-global-shell :where(.entry-content,.p7mw-entry-content) :where(table,pre,code){max-width:100%!important}
  body.p7-mobile-global-shell :where(.entry-content,.p7mw-entry-content) table{display:block!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  body.p7-mobile-global-shell :where(.entry-content,.p7mw-entry-content) iframe{width:100%!important}

  /* Base typography for pages reached from hamburger. */
  body.p7-mobile-global-shell :where(.entry-content,.post-content,.archive-description,.category-description,.page-content){font-size:16px!important;line-height:1.62!important}
  body.p7-mobile-global-shell :where(.entry-content,.post-content) p{font-size:16px!important;line-height:1.62!important;margin-bottom:1.05em!important}
  body.p7-mobile-global-shell :where(h1,.entry-title){overflow-wrap:anywhere}
  body.p7-mobile-global-shell main :where(h1,.entry-title){font-size:clamp(28px,8vw,36px)!important;line-height:1.12!important;letter-spacing:-.025em!important}
  body.p7-mobile-global-shell main h2{font-size:26px!important;line-height:1.18!important}
  body.p7-mobile-global-shell main h3{font-size:21px!important;line-height:1.22!important}
  body.p7-mobile-global-shell :where(.entry-meta,.posted-on,.byline,.cat-links,time){font-size:14px!important;line-height:1.45!important}

  /* Stable page gutters independent of ColorMag template variation. */
  body.p7-mobile-global-shell :where(.site-content,.content-wrapper,#main,.site-main){padding-left:14px!important;padding-right:14px!important}
  body.p7-mobile-global-shell .p7-local-shell{margin-left:0!important;margin-right:0!important}

  /* Fallback brand if a category/special template exposes a different header DOM. */
  body.p7-mobile-global-shell .p7mw-global-brand-fallback{
    display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;
    min-height:84px!important;padding:8px 14px!important;border-bottom:1px solid #edf1f5!important;
  }
  body.p7-mobile-global-shell .p7mw-global-brand-fallback a{display:flex!important;align-items:center!important;justify-content:center!important}
  body.p7-mobile-global-shell .p7mw-global-brand-fallback img{display:block!important;max-height:62px!important;max-width:72vw!important;width:auto!important}

  /* Premium menu replaces the old ColorMag black/red sheet. */
  body.p7-mobile-global-shell.p7mw-menu-open{overflow:hidden!important}
  body.p7-mobile-global-shell .p7mw-premium-menu[hidden]{display:none!important}
  body.p7-mobile-global-shell .p7mw-premium-menu{
    position:fixed!important;inset:0!important;z-index:2147482000!important;background:rgba(4,18,33,.62)!important;
    backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;padding:0!important;
  }
  body.p7-mobile-global-shell .p7mw-premium-menu__panel{
    position:absolute!important;inset:0 0 0 auto!important;width:min(92vw,430px)!important;height:100dvh!important;overflow:auto!important;
    background:linear-gradient(180deg,#071e35 0%,#0a2b4a 100%)!important;color:#fff!important;padding:18px 18px 34px!important;
    box-shadow:-18px 0 42px rgba(0,0,0,.26)!important;
  }
  body.p7-mobile-global-shell .p7mw-premium-menu__top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:6px 2px 18px!important;border-bottom:1px solid rgba(255,255,255,.12)!important}
  body.p7-mobile-global-shell .p7mw-premium-menu__brand{display:flex!important;align-items:center!important;max-width:220px!important}
  body.p7-mobile-global-shell .p7mw-premium-menu__brand img{display:block!important;max-width:210px!important;max-height:62px!important;width:auto!important;height:auto!important}
  body.p7-mobile-global-shell .p7mw-premium-menu__close{width:48px!important;height:48px!important;border:1px solid rgba(255,255,255,.19)!important;border-radius:14px!important;background:#0d3459!important;color:#fff!important;font-size:34px!important;line-height:1!important;cursor:pointer!important}
  body.p7-mobile-global-shell .p7mw-premium-menu__eyebrow{padding:19px 5px 8px!important;color:#f0b75d!important;font-size:12px!important;font-weight:900!important;letter-spacing:.14em!important}
  body.p7-mobile-global-shell .p7mw-premium-menu__links,
  body.p7-mobile-global-shell .p7mw-premium-menu__links ul{list-style:none!important;margin:0!important;padding:0!important;background:transparent!important}
  body.p7-mobile-global-shell .p7mw-premium-menu__links>li{border-bottom:1px solid rgba(255,255,255,.13)!important}
  body.p7-mobile-global-shell .p7mw-premium-menu__links li{display:block!important;float:none!important;width:100%!important;background:transparent!important}
  body.p7-mobile-global-shell .p7mw-premium-menu__links a{display:flex!important;align-items:center!important;min-height:54px!important;padding:10px 6px!important;color:#fff!important;text-decoration:none!important;font-size:17px!important;font-weight:750!important;line-height:1.25!important;background:transparent!important}
  body.p7-mobile-global-shell .p7mw-premium-menu__links a:hover,body.p7-mobile-global-shell .p7mw-premium-menu__links a:focus-visible{color:#fff!important;background:rgba(255,255,255,.07)!important;outline:2px solid #f0b75d!important;outline-offset:-2px!important;border-radius:10px!important}
  body.p7-mobile-global-shell .p7mw-premium-menu__links .sub-menu{display:block!important;padding:0 0 8px 16px!important}
  body.p7-mobile-global-shell .p7mw-premium-menu__links .sub-menu a{min-height:44px!important;font-size:15px!important;font-weight:600!important;color:#d8e4ef!important}

  /* Hide the theme's expanded menu sheet; premium overlay owns mobile navigation. */
  body.p7-mobile-global-shell :where(#site-navigation,.main-navigation,.cm-primary-nav) :where(.menu-primary-container,.menu-main-menu-container)>ul:not(.p7mw-premium-menu__links){max-height:0;overflow:hidden}
  body.p7-mobile-global-shell .p7mw-native-menu-toggle{position:relative!important;z-index:5!important;min-width:48px!important;min-height:48px!important}

  /* Archive/category/search cards: keep them readable rather than desktop miniatures. */
  body.p7-mobile-global-shell :where(.archive,.category,.search-results) main article{
    width:100%!important;max-width:100%!important;margin:0 0 14px!important;padding:12px!important;border-radius:14px!important;box-sizing:border-box!important;
  }
  body.p7-mobile-global-shell :where(.archive,.category,.search-results) main article :where(.entry-title,h2,h3){font-size:21px!important;line-height:1.22!important}
  body.p7-mobile-global-shell :where(.archive,.category,.search-results) main article img{width:100%!important;max-height:230px!important;object-fit:cover!important;border-radius:12px!important}

  /* Single article media and captions. */
  body.p7-mobile-global-shell.single main article :where(.post-thumbnail,.featured-image){margin-left:0!important;margin-right:0!important}
  body.p7-mobile-global-shell.single main article :where(.post-thumbnail img,.featured-image img){width:100%!important;height:auto!important;border-radius:14px!important}
  body.p7-mobile-global-shell figcaption{font-size:13px!important;line-height:1.45!important}
}

@media (max-width:380px){
  body.p7-mobile-global-shell :where(.site-content,.content-wrapper,#main,.site-main){padding-left:10px!important;padding-right:10px!important}
  body.p7-mobile-global-shell .p7mw-premium-menu__panel{width:94vw!important;padding-left:14px!important;padding-right:14px!important}
  body.p7-mobile-global-shell .p7mw-premium-menu__links a{font-size:16px!important}
}

/* =========================================================
   Punkt7 Portal Mobile UI 0.1.3 — GLOBAL CONTENT TEMPLATES
   Categories, archives, search, pages and single articles.
   Desktop is intentionally untouched.
   ========================================================= */
@media (max-width:767px){
  body.p7-mobile-content-templates{
    --p7m-ink:#10233f;--p7m-muted:#5c6c80;--p7m-line:#dfe6ee;--p7m-soft:#f6f8fb;
    --p7m-red:#d91834;--p7m-navy:#0b2846;--p7m-radius:16px;
  }

  /* Content viewport contract: one stable readable column on every public template. */
  body.p7-mobile-content-templates :where(#page,.site,.site-content,.site-main,#main,#primary,.content-area,.main-content,.cm-primary,.tg-container,.inner-wrap,.cm-container){
    max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
  }
  body.p7-mobile-content-templates :where(.site-content,#main,.site-main){padding-left:14px!important;padding-right:14px!important}
  body.p7-mobile-content-templates :where(.content-area,#primary,.main-content,.cm-primary){float:none!important;width:100%!important;margin:0!important;padding:0!important}
  body.p7-mobile-content-templates :where(#secondary,.widget-area,.sidebar,.cm-secondary){float:none!important;width:100%!important;margin:24px 0 0!important}

  /* Common page/archive headings. */
  body.p7-mobile-content-templates :where(.page-header,.archive-header,.archive-page-header,.category-title,.search-page-header){
    margin:14px 0 16px!important;padding:0 0 12px!important;border:0!important;border-bottom:1px solid var(--p7m-line)!important;background:transparent!important;
  }
  body.p7-mobile-content-templates :where(.page-header,.archive-header,.archive-page-header,.category-title,.search-page-header) :where(h1,.page-title,.entry-title){
    margin:0!important;color:var(--p7m-ink)!important;font:850 30px/1.08 "Segoe UI",Arial,sans-serif!important;letter-spacing:-.025em!important;
  }
  body.p7-mobile-content-templates :where(.archive-description,.category-description,.taxonomy-description){
    margin:8px 0 0!important;color:var(--p7m-muted)!important;font-size:15px!important;line-height:1.55!important;
  }

  /* ARCHIVE / CATEGORY / SEARCH — premium feed cards. */
  body.p7-mobile-content-templates:is(.p7mw-view-archive,.p7mw-view-search) main article.p7mw-feed-card{
    display:grid!important;grid-template-columns:116px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;
    width:100%!important;margin:0 0 12px!important;padding:10px!important;border:1px solid var(--p7m-line)!important;
    border-radius:var(--p7m-radius)!important;background:#fff!important;box-shadow:0 5px 18px rgba(16,35,63,.055)!important;overflow:hidden!important;
  }
  body.p7-mobile-content-templates:is(.p7mw-view-archive,.p7mw-view-search) main article.p7mw-feed-card:first-of-type{
    display:block!important;padding:0 0 14px!important;border-radius:18px!important;box-shadow:0 8px 24px rgba(16,35,63,.08)!important;
  }
  body.p7-mobile-content-templates .p7mw-feed-card .p7mw-card-media{
    display:block!important;min-width:0!important;margin:0!important;overflow:hidden!important;border-radius:11px!important;background:#edf2f7!important;
  }
  body.p7-mobile-content-templates .p7mw-feed-card .p7mw-card-media img{
    display:block!important;width:116px!important;height:86px!important;object-fit:cover!important;margin:0!important;border:0!important;
  }
  body.p7-mobile-content-templates:is(.p7mw-view-archive,.p7mw-view-search) main article.p7mw-feed-card:first-of-type .p7mw-card-media{
    border-radius:18px 18px 0 0!important;
  }
  body.p7-mobile-content-templates:is(.p7mw-view-archive,.p7mw-view-search) main article.p7mw-feed-card:first-of-type .p7mw-card-media img{
    width:100%!important;height:220px!important;object-fit:cover!important;
  }
  body.p7-mobile-content-templates .p7mw-feed-card .p7mw-card-body{min-width:0!important;padding:0!important}
  body.p7-mobile-content-templates:is(.p7mw-view-archive,.p7mw-view-search) main article.p7mw-feed-card:first-of-type .p7mw-card-body{padding:14px 14px 0!important}
  body.p7-mobile-content-templates .p7mw-feed-card :where(h2,h3,.entry-title){margin:0 0 6px!important;padding:0!important;font-size:18px!important;line-height:1.23!important;font-weight:850!important;letter-spacing:-.012em!important}
  body.p7-mobile-content-templates .p7mw-feed-card :where(h2,h3,.entry-title) a{color:var(--p7m-ink)!important;text-decoration:none!important}
  body.p7-mobile-content-templates main article.p7mw-feed-card:first-of-type :where(h2,h3,.entry-title){font-size:24px!important;line-height:1.15!important}
  body.p7-mobile-content-templates .p7mw-feed-card :where(.entry-meta,.posted-on,.byline,time,.meta){font-size:13px!important;line-height:1.4!important;color:var(--p7m-muted)!important}
  body.p7-mobile-content-templates .p7mw-feed-card .p7mw-card-excerpt{display:none!important;color:#34475d!important;font-size:15px!important;line-height:1.5!important}
  body.p7-mobile-content-templates main article.p7mw-feed-card:first-of-type .p7mw-card-excerpt{display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;margin:8px 0 0!important}
  body.p7-mobile-content-templates .p7mw-feed-card :where(.read-more,.more-link,.entry-button){margin-top:10px!important;min-height:44px!important}

  /* SINGLE ARTICLE — newsroom reading template. */
  body.p7-mobile-content-templates.p7mw-view-single main article.p7mw-single-card{
    width:100%!important;margin:0!important;padding:0 0 22px!important;border:0!important;background:#fff!important;box-shadow:none!important;
  }
  body.p7-mobile-content-templates.p7mw-view-single .p7mw-single-card :where(.entry-header,.post-header){
    margin:14px 0 14px!important;padding:0!important;border:0!important;background:transparent!important;
  }
  body.p7-mobile-content-templates.p7mw-view-single .p7mw-single-card :where(h1,.entry-title){
    margin:0 0 10px!important;color:var(--p7m-ink)!important;font:850 31px/1.09 "Segoe UI",Arial,sans-serif!important;letter-spacing:-.027em!important;
  }
  body.p7-mobile-content-templates.p7mw-view-single .p7mw-single-card .p7mw-article-kicker{
    display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;margin:0 0 9px!important;
    color:var(--p7m-red)!important;font-size:12px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important;
  }
  body.p7-mobile-content-templates.p7mw-view-single .p7mw-single-card :where(.entry-meta,.posted-on,.byline,.author,time){
    color:var(--p7m-muted)!important;font-size:14px!important;line-height:1.45!important;
  }
  body.p7-mobile-content-templates.p7mw-view-single .p7mw-single-card .p7mw-single-media,
  body.p7-mobile-content-templates.p7mw-view-single .p7mw-single-card :where(.post-thumbnail,.featured-image,.entry-thumbnail){
    display:block!important;width:100%!important;margin:0 0 18px!important;border-radius:16px!important;overflow:hidden!important;background:#edf2f7!important;
  }
  body.p7-mobile-content-templates.p7mw-view-single .p7mw-single-card .p7mw-single-media img,
  body.p7-mobile-content-templates.p7mw-view-single .p7mw-single-card :where(.post-thumbnail,.featured-image,.entry-thumbnail) img{
    display:block!important;width:100%!important;height:auto!important;max-height:360px!important;object-fit:cover!important;margin:0!important;
  }
  body.p7-mobile-content-templates.p7mw-view-single .p7mw-single-card :where(.entry-content,.post-content,.article-content,.p7mw-entry-content){
    color:#1d3046!important;font-size:17px!important;line-height:1.68!important;
  }
  body.p7-mobile-content-templates.p7mw-view-single .p7mw-single-card :where(.entry-content,.post-content,.article-content) p{font-size:17px!important;line-height:1.68!important;margin:0 0 1.12em!important}
  body.p7-mobile-content-templates.p7mw-view-single .p7mw-single-card :where(.entry-content,.post-content,.article-content) h2{font-size:26px!important;line-height:1.17!important;margin:1.35em 0 .55em!important;color:var(--p7m-ink)!important}
  body.p7-mobile-content-templates.p7mw-view-single .p7mw-single-card :where(.entry-content,.post-content,.article-content) h3{font-size:22px!important;line-height:1.2!important;margin:1.2em 0 .5em!important;color:var(--p7m-ink)!important}
  body.p7-mobile-content-templates.p7mw-view-single .p7mw-single-card :where(.entry-content,.post-content,.article-content) a{overflow-wrap:anywhere!important}
  body.p7-mobile-content-templates.p7mw-view-single .p7mw-single-card :where(blockquote){margin:20px 0!important;padding:14px 16px!important;border-left:4px solid var(--p7m-red)!important;background:var(--p7m-soft)!important;border-radius:0 12px 12px 0!important}

  /* Native-looking share strip injected once after article content. */
  body.p7-mobile-content-templates .p7mw-article-share{
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:22px 0 8px!important;padding:10px 12px!important;
    border:1px solid var(--p7m-line)!important;border-radius:14px!important;background:#fff!important;
  }
  body.p7-mobile-content-templates .p7mw-article-share strong{font-size:15px!important;color:var(--p7m-ink)!important}
  body.p7-mobile-content-templates .p7mw-article-share button{
    min-height:44px!important;padding:0 16px!important;border:0!important;border-radius:11px!important;background:var(--p7m-navy)!important;color:#fff!important;font-size:15px!important;font-weight:800!important;
  }

  /* Static pages (municipality pages, editorial pages, etc.). */
  body.p7-mobile-content-templates.p7mw-view-page main article.p7mw-page-card{
    margin:12px 0 18px!important;padding:0!important;background:#fff!important;border:0!important;box-shadow:none!important;
  }
  body.p7-mobile-content-templates.p7mw-view-page main article.p7mw-page-card :where(h1,.entry-title){font-size:30px!important;line-height:1.1!important;color:var(--p7m-ink)!important}
  body.p7-mobile-content-templates.p7mw-view-page main article.p7mw-page-card :where(.entry-content,.post-content){font-size:17px!important;line-height:1.65!important;color:#263b52!important}

  /* Pagination — thumb-friendly and consistent. */
  body.p7-mobile-content-templates :where(.navigation.pagination,.pagination,.nav-links){display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;flex-wrap:wrap!important;margin:22px 0!important}
  body.p7-mobile-content-templates :where(.navigation.pagination,.pagination,.nav-links) :where(a,span){display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:44px!important;min-height:44px!important;padding:8px!important;border:1px solid var(--p7m-line)!important;border-radius:11px!important;background:#fff!important;color:var(--p7m-ink)!important;text-decoration:none!important;font-size:14px!important;font-weight:750!important}
  body.p7-mobile-content-templates :where(.navigation.pagination,.pagination,.nav-links) :where(.current,[aria-current="page"]){background:var(--p7m-navy)!important;color:#fff!important;border-color:var(--p7m-navy)!important}

  /* Related posts/comments should read as modules, not raw ColorMag leftovers. */
  body.p7-mobile-content-templates :where(.related-posts,.related-post,.post-related,.comments-area,#comments){margin:22px 0 0!important;padding:16px!important;border:1px solid var(--p7m-line)!important;border-radius:16px!important;background:#fff!important}
  body.p7-mobile-content-templates :where(.related-posts,.related-post,.post-related,.comments-area,#comments) :where(h2,h3,.widget-title){font-size:22px!important;line-height:1.18!important;color:var(--p7m-ink)!important}

  /* Accessibility / robust wrapping for imported content. */
  body.p7-mobile-content-templates :where(main,.p7mw-main) :where(p,li,a,h1,h2,h3,h4,strong,span){overflow-wrap:anywhere}
  body.p7-mobile-content-templates :where(input,select,textarea,button){max-width:100%!important;box-sizing:border-box!important}
  body.p7-mobile-content-templates :where(input[type="text"],input[type="search"],input[type="email"],select,textarea){min-height:44px!important;font-size:16px!important}
  body.p7-mobile-content-templates :where(button,a):focus-visible{outline:3px solid #f0b75d!important;outline-offset:3px!important}
}

@media (max-width:380px){
  body.p7-mobile-content-templates:is(.p7mw-view-archive,.p7mw-view-search) main article.p7mw-feed-card{grid-template-columns:102px minmax(0,1fr)!important;gap:10px!important}
  body.p7-mobile-content-templates .p7mw-feed-card .p7mw-card-media img{width:102px!important;height:80px!important}
  body.p7-mobile-content-templates.p7mw-view-single .p7mw-single-card :where(h1,.entry-title){font-size:29px!important}
}


/* Theme controls are mobile-only even if the viewport changes after JS created them. */
.p7mw-theme-toggle,.p7mw-theme-picker{display:none!important}

/* =========================================================
   Punkt7 Portal Mobile UI 0.1.6 — VISIBLE THEME CONTROL FIX
   Mobile-only. Desktop remains untouched.
   ========================================================= */
@media (max-width:767px){
  html{--p7mw-bg:#f5f8fc;--p7mw-surface:#ffffff;--p7mw-surface-2:#f8fbfe;--p7mw-ink:#10233f;--p7mw-muted:#5d7087;--p7mw-line:#dce5ee;--p7mw-navy:#0b2846;--p7mw-navy-2:#123b63;--p7mw-red:#d91c34;--p7mw-red-bright:#ef233c;--p7mw-green:#087a50;--p7mw-shadow:0 12px 30px rgba(16,35,63,.10)}
  html[data-p7mw-theme-resolved="dark"]{--p7mw-bg:#061729;--p7mw-surface:#0a223a;--p7mw-surface-2:#0d2b49;--p7mw-ink:#f4f8fc;--p7mw-muted:#b8c8d8;--p7mw-line:#24435f;--p7mw-navy:#071c31;--p7mw-navy-2:#123b63;--p7mw-red:#ff4057;--p7mw-red-bright:#ff4057;--p7mw-green:#39d49a;--p7mw-shadow:0 16px 34px rgba(0,0,0,.28)}

  html[data-p7mw-theme-resolved="dark"] body.p7-mobile-global-shell{background:var(--p7mw-bg)!important;color:var(--p7mw-ink)!important}
  html[data-p7mw-theme-resolved="dark"] body.p7-mobile-global-shell :where(#page,.site,.site-content,.content-wrapper,#main,.site-main,.p7mw-main,.p7mw-content-shell){background:var(--p7mw-bg)!important;color:var(--p7mw-ink)!important}
  html[data-p7mw-theme-resolved="dark"] body.p7-mobile-global-shell :where(.p7mw-mobile-brand,.p7mw-global-brand-fallback){background:var(--p7mw-surface)!important;border-color:var(--p7mw-line)!important}
  html[data-p7mw-theme-resolved="dark"] body.p7-mobile-global-shell :where(.p7mw-news-mobile__item,.p7mw-feed-card,.p7mw-single-card,.p7mw-page-card,.related-posts,.related-post,.post-related,.comments-area,#comments,.p7mw-article-share){background:var(--p7mw-surface)!important;border-color:var(--p7mw-line)!important;color:var(--p7mw-ink)!important}
  html[data-p7mw-theme-resolved="dark"] body.p7-mobile-global-shell :where(h1,h2,h3,h4,.entry-title,.p7mw-news-mobile__head h2,.p7mw-feed-card .entry-title a,.p7mw-article-share strong){color:var(--p7mw-ink)!important}
  html[data-p7mw-theme-resolved="dark"] body.p7-mobile-global-shell :where(.entry-content,.post-content,.article-content,.p7mw-entry-content,.archive-description,.category-description,.page-content){color:#dce7f1!important}
  html[data-p7mw-theme-resolved="dark"] body.p7-mobile-global-shell :where(.entry-meta,.posted-on,.byline,.author,time,.p7mw-news-mobile__item small){color:var(--p7mw-muted)!important}
  html[data-p7mw-theme-resolved="dark"] body.p7-mobile-global-shell :where(.navigation.pagination,.pagination,.nav-links) :where(a,span){background:var(--p7mw-surface)!important;border-color:var(--p7mw-line)!important;color:var(--p7mw-ink)!important}

  .p7mw-mobile-brand,.p7mw-global-brand-fallback,.p7mw-theme-nav-host{position:relative!important}
  .p7mw-theme-toggle{display:grid!important;place-items:center!important;width:44px!important;height:44px!important;padding:0!important;border-radius:13px!important;font-size:20px!important;z-index:12!important;cursor:pointer!important}
  .p7mw-theme-toggle--nav{position:absolute!important;right:64px!important;top:50%!important;transform:translateY(-50%)!important;border:1px solid rgba(255,255,255,.28)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;box-shadow:none!important}
  .p7mw-theme-toggle--nav:hover,.p7mw-theme-toggle--nav:focus-visible{background:rgba(255,255,255,.16)!important}
  .p7mw-theme-picker{display:block!important;margin:0 0 18px!important;padding:13px!important;border:1px solid var(--p7mw-line)!important;border-radius:15px!important;background:var(--p7mw-surface-2)!important;color:var(--p7mw-ink)!important}
  .p7mw-theme-picker>strong{display:block!important;margin-bottom:9px!important;font-size:13px!important;letter-spacing:.06em!important;text-transform:uppercase!important}
  .p7mw-theme-picker>div{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:6px!important}
  .p7mw-theme-picker button{min-height:44px!important;border:1px solid var(--p7mw-line)!important;border-radius:11px!important;background:var(--p7mw-surface)!important;color:var(--p7mw-ink)!important;font-size:14px!important;font-weight:800!important}
  .p7mw-theme-picker button.is-active{border-color:var(--p7mw-red)!important;background:color-mix(in srgb,var(--p7mw-red) 9%,var(--p7mw-surface))!important;color:var(--p7mw-red)!important}

  /* App install CTA — visible, premium, not a popup. */
  .p7mw-app-cta{position:relative!important;display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;gap:11px 12px!important;margin:10px 14px 14px!important;padding:14px!important;border:1px solid color-mix(in srgb,var(--p7mw-red) 30%,var(--p7mw-line))!important;border-radius:18px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--p7mw-red) 5%,var(--p7mw-surface)),var(--p7mw-surface))!important;color:var(--p7mw-ink)!important;box-shadow:var(--p7mw-shadow)!important}
  .p7mw-app-cta__icon{display:grid!important;place-items:center!important;width:54px!important;height:54px!important;border-radius:15px!important;background:var(--p7mw-navy)!important;overflow:hidden!important}
  .p7mw-app-cta__icon img{display:block!important;max-width:50px!important;max-height:47px!important;object-fit:contain!important;filter:brightness(1.15)!important}
  .p7mw-app-cta__copy{min-width:0!important;padding-right:26px!important}
  .p7mw-app-cta__copy>span{display:block!important;color:var(--p7mw-red)!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important}
  .p7mw-app-cta__copy>strong{display:block!important;margin-top:2px!important;color:var(--p7mw-ink)!important;font-size:18px!important;line-height:1.15!important}
  .p7mw-app-cta__copy>p{margin:4px 0 0!important;color:var(--p7mw-muted)!important;font-size:13px!important;line-height:1.35!important}
  .p7mw-app-cta__button{grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:48px!important;padding:0 16px!important;border-radius:13px!important;background:var(--p7mw-red)!important;color:#fff!important;text-decoration:none!important;font-size:15px!important;font-weight:850!important}
  .p7mw-app-cta__close{position:absolute!important;right:8px!important;top:8px!important;width:38px!important;height:38px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--p7mw-muted)!important;font-size:25px!important;line-height:1!important}

  /* Mobile Safety Center — same data/logic, premium presentation. */
  .p7ah-services.p7mw-services-premium{margin:18px 0!important;padding:16px 14px!important;border:1px solid var(--p7mw-line)!important;border-radius:19px!important;background:var(--p7mw-surface)!important;color:var(--p7mw-ink)!important;box-shadow:var(--p7mw-shadow)!important}
  .p7ah-services.p7mw-services-premium .p7mw-services-eyebrow{display:block!important;margin-bottom:3px!important;color:var(--p7mw-red)!important;font-size:11px!important;font-weight:900!important;letter-spacing:.09em!important}
  .p7ah-services.p7mw-services-premium .p7ah-services__header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:start!important;margin-bottom:12px!important}
  .p7ah-services.p7mw-services-premium .p7ah-services__title{margin:0!important;color:var(--p7mw-ink)!important;font-size:25px!important;line-height:1.08!important}
  .p7ah-services.p7mw-services-premium .p7ah-services__subtitle{margin:5px 0 0!important;color:var(--p7mw-muted)!important;font-size:13px!important;line-height:1.4!important}
  .p7ah-services.p7mw-services-premium .p7ah-services__header-link{font-size:12px!important;font-weight:850!important;color:var(--p7mw-red)!important;white-space:nowrap!important}
  .p7ah-services.p7mw-services-premium .p7ah-services__filters{display:flex!important;gap:8px!important;overflow-x:auto!important;scroll-snap-type:x proximity!important;padding:2px 0 10px!important;margin:0 -2px!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important}
  .p7ah-services.p7mw-services-premium .p7ah-services__filters::-webkit-scrollbar{display:none!important}
  .p7ah-services.p7mw-services-premium .p7ah-filter{flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-width:104px!important;min-height:48px!important;padding:8px 11px!important;border:1px solid var(--p7mw-line)!important;border-radius:13px!important;background:var(--p7mw-surface-2)!important;color:var(--p7mw-ink)!important;scroll-snap-align:start!important;font-size:13px!important;font-weight:800!important}
  .p7ah-services.p7mw-services-premium .p7ah-filter.is-active{background:var(--p7mw-red)!important;border-color:var(--p7mw-red)!important;color:#fff!important;box-shadow:0 7px 18px color-mix(in srgb,var(--p7mw-red) 25%,transparent)!important}
  .p7ah-services.p7mw-services-premium .p7ah-filter__icon{width:21px!important;height:21px!important;flex:0 0 21px!important}
  .p7ah-services.p7mw-services-premium .p7ah-services__list{display:grid!important;gap:9px!important}
  .p7ah-services.p7mw-services-premium .p7ah-alert-card{margin:0!important;padding:12px!important;border:1px solid var(--p7mw-line)!important;border-left:4px solid #9fb2c5!important;border-radius:14px!important;background:var(--p7mw-surface)!important;color:var(--p7mw-ink)!important;box-shadow:none!important}
  .p7ah-services.p7mw-services-premium .p7ah-alert-card.is-featured{padding:14px!important;border-left-color:var(--p7mw-red)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--p7mw-red) 4%,var(--p7mw-surface)),var(--p7mw-surface))!important}
  .p7ah-services.p7mw-services-premium .p7ah-alert-card__topline{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;color:var(--p7mw-muted)!important;font-size:12px!important}
  .p7ah-services.p7mw-services-premium .p7ah-alert-card__type{color:var(--p7mw-red)!important;font-weight:900!important;text-transform:uppercase!important}
  .p7ah-services.p7mw-services-premium .p7ah-alert-card__body{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:end!important}
  .p7ah-services.p7mw-services-premium .p7ah-alert-card h3{margin:5px 0 4px!important;font-size:17px!important;line-height:1.2!important}
  .p7ah-services.p7mw-services-premium .p7ah-alert-card h3 a{color:var(--p7mw-ink)!important;text-decoration:none!important}
  .p7ah-services.p7mw-services-premium .p7ah-alert-card p{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;margin:0 0 7px!important;color:var(--p7mw-muted)!important;font-size:13px!important;line-height:1.42!important}
  .p7ah-services.p7mw-services-premium .p7ah-alert-card__meta{display:flex!important;gap:5px!important;flex-wrap:wrap!important}
  .p7ah-services.p7mw-services-premium .p7ah-alert-card__meta span{display:inline-flex!important;align-items:center!important;min-height:24px!important;padding:3px 7px!important;border-radius:999px!important;background:var(--p7mw-surface-2)!important;color:var(--p7mw-ink)!important;font-size:10px!important;font-weight:800!important}
  .p7ah-services.p7mw-services-premium .p7ah-alert-card__button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:0 12px!important;border-radius:11px!important;background:var(--p7mw-navy)!important;color:#fff!important;text-decoration:none!important;font-size:12px!important;font-weight:850!important;white-space:nowrap!important}
  .p7ah-services.p7mw-services-premium .p7ah-services__footer-link{display:flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;margin-top:10px!important;border-radius:12px!important;background:var(--p7mw-navy)!important;color:#fff!important;text-decoration:none!important;font-size:13px!important;font-weight:850!important}

  html[data-p7mw-theme-resolved="dark"] body.p7-mobile-global-shell :where(.p7ah-services.p7mw-services-premium,.p7ah-services.p7mw-services-premium .p7ah-alert-card){background:var(--p7mw-surface)!important;border-color:var(--p7mw-line)!important;color:var(--p7mw-ink)!important}
  html[data-p7mw-theme-resolved="dark"] body.p7-mobile-global-shell .p7ah-services.p7mw-services-premium .p7ah-filter{background:var(--p7mw-surface-2)!important;border-color:var(--p7mw-line)!important;color:var(--p7mw-ink)!important}
  html[data-p7mw-theme-resolved="dark"] body.p7-mobile-global-shell .p7ah-services.p7mw-services-premium .p7ah-filter.is-active{background:var(--p7mw-red)!important;color:#fff!important}

  /* Dark footer/newsletter polish. */
  html[data-p7mw-theme-resolved="dark"] body.p7-mobile-global-shell :where(footer,.site-footer,.footer-widgets,.cm-footer,.footer-socket-wrapper){color:#e7eef6!important}
}

@media (max-width:390px){
  .p7mw-app-cta{margin-left:10px!important;margin-right:10px!important;padding:12px!important}
  .p7mw-app-cta__copy>strong{font-size:17px!important}
  .p7ah-services.p7mw-services-premium .p7ah-alert-card__body{grid-template-columns:1fr!important}
  .p7ah-services.p7mw-services-premium .p7ah-alert-card__button{width:100%!important}
}


/* 0.1.5 — robust mobile theme control placement */
@media (max-width:767px){
  body.p7-mobile-global-shell .p7mw-theme-nav-host{overflow:visible!important}
  body.p7-mobile-global-shell .p7mw-theme-toggle--nav{display:grid!important}
}
@media (min-width:768px){
  .p7mw-theme-toggle,.p7mw-theme-picker{display:none!important}
}


/* 0.1.6 — body-mounted mobile theme toggle. Never render on desktop. */
.p7mw-theme-toggle--floating{display:none!important}
@media (max-width:767px){
  body.p7-mobile-global-shell>.p7mw-theme-toggle--floating{
    display:grid!important;
    position:absolute!important;
    right:66px!important;
    left:auto!important;
    width:44px!important;
    height:44px!important;
    margin:0!important;
    padding:0!important;
    place-items:center!important;
    border:1px solid rgba(255,255,255,.34)!important;
    border-radius:13px!important;
    background:rgba(255,255,255,.10)!important;
    color:#fff!important;
    box-shadow:0 4px 14px rgba(0,0,0,.12)!important;
    font-size:21px!important;
    line-height:1!important;
    z-index:2147483000!important;
    transform:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  body.p7-mobile-global-shell>.p7mw-theme-toggle--floating:focus-visible{
    outline:3px solid #f0b75d!important;
    outline-offset:2px!important;
  }
}
@media (min-width:768px){
  body>.p7mw-theme-toggle--floating{display:none!important}
}


/* =========================================================
   Punkt7 Portal Mobile UI 0.1.7 — NEWSLETTER + BRAND SCALE
   Mobile only. Desktop remains untouched.
   ========================================================= */
@media (max-width:767px){
  /* Bigger Punkt7 brand, preserving the original aspect ratio. */
  body.p7-mobile-web-ui .p7mw-mobile-brand{
    min-height:100px!important;
    padding:8px 10px!important;
  }
  body.p7-mobile-web-ui .p7mw-mobile-brand img,
  body.p7-mobile-global-shell .p7mw-global-brand-fallback img{
    width:min(84vw,330px)!important;
    max-width:min(84vw,330px)!important;
    height:auto!important;
    max-height:88px!important;
    object-fit:contain!important;
  }
  body.p7-mobile-global-shell .p7mw-global-brand-fallback{
    min-height:100px!important;
    padding:8px 10px!important;
  }

  /* Newsletter: never allow the submit label to stack vertically. */
  body.p7-mobile-global-shell form.p7mw-newsletter-fix{
    display:flex!important;
    flex-flow:row wrap!important;
    align-items:stretch!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
  }
  body.p7-mobile-global-shell form.p7mw-newsletter-fix .p7mw-newsletter-email{
    position:static!important;
    flex:1 1 190px!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:50px!important;
    margin:0!important;
    padding:0 14px!important;
    font-size:16px!important;
    line-height:1.2!important;
    writing-mode:horizontal-tb!important;
  }
  body.p7-mobile-global-shell form.p7mw-newsletter-fix .p7mw-newsletter-submit{
    position:static!important;
    inset:auto!important;
    display:inline-flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:112px!important;
    max-width:140px!important;
    min-height:50px!important;
    height:auto!important;
    margin:0!important;
    padding:0 16px!important;
    border:0!important;
    border-radius:8px!important;
    background:#e51f36!important;
    color:#fff!important;
    font-size:15px!important;
    font-weight:850!important;
    line-height:1.15!important;
    letter-spacing:0!important;
    text-align:center!important;
    white-space:nowrap!important;
    word-break:keep-all!important;
    overflow-wrap:normal!important;
    writing-mode:horizontal-tb!important;
    transform:none!important;
  }
  body.p7-mobile-global-shell form.p7mw-newsletter-fix .p7mw-newsletter-consent{
    flex:1 0 100%!important;
    width:100%!important;
    max-width:100%!important;
    margin:4px 0 0!important;
    font-size:14px!important;
    line-height:1.5!important;
  }
  body.p7-mobile-global-shell form.p7mw-newsletter-fix input[type="checkbox"]{
    width:20px!important;
    min-width:20px!important;
    height:20px!important;
    min-height:20px!important;
    margin-right:8px!important;
    vertical-align:middle!important;
  }
}

@media (max-width:420px){
  body.p7-mobile-web-ui .p7mw-mobile-brand,
  body.p7-mobile-global-shell .p7mw-global-brand-fallback{min-height:94px!important;padding:7px 8px!important}
  body.p7-mobile-web-ui .p7mw-mobile-brand img,
  body.p7-mobile-global-shell .p7mw-global-brand-fallback img{
    width:min(86vw,315px)!important;
    max-width:min(86vw,315px)!important;
    max-height:84px!important;
  }
}

@media (max-width:350px){
  body.p7-mobile-global-shell form.p7mw-newsletter-fix .p7mw-newsletter-email{flex-basis:100%!important}
  body.p7-mobile-global-shell form.p7mw-newsletter-fix .p7mw-newsletter-submit{width:100%!important;max-width:none!important;flex-basis:100%!important}
}
