:root {
	--i360-shell-ink: #101828;
	--i360-shell-muted: #475467;
	--i360-shell-line: #dfe5ec;
	--i360-shell-soft: #f4f7fa;
	--i360-shell-blue: #0758c9;
	--i360-shell-blue-dark: #063f91;
	--i360-shell-blue-soft: #eaf2ff;
	--i360-shell-red: #c81e2b;
	--i360-shell-shadow: 0 18px 50px rgba(16, 24, 40, .09);
}
body.i360-portal-page {
	margin: 0 !important;
	background: #f7f9fc;
	color: var(--i360-shell-ink);
	font-family: Manrope, "Segoe UI Variable", "Segoe UI", Arial, sans-serif !important;
	font-size: 16px;
	line-height: 1.55;
}
body.i360-portal-page *,
body.i360-portal-page *::before,
body.i360-portal-page *::after { box-sizing: border-box; }
body.i360-portal-page .wp-site-blocks { padding: 0 !important; }
body.i360-portal-page #header,
body.i360-portal-page #footer,
body.i360-portal-page .site-header,
body.i360-portal-page .site-footer,
body.i360-portal-page header.wp-block-template-part,
body.i360-portal-page footer.wp-block-template-part,
body.i360-portal-page .wp-site-blocks > header:not(.i360-portal-masthead),
body.i360-portal-page .wp-site-blocks > footer:not(.i360-portal-footer) { display: none !important; }
body.i360-portal-page a { text-underline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.i360-shell-icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.i360-portal-skip { position: fixed; left: 14px; top: 12px; z-index: 10000; transform: translateY(-160%); padding: 11px 17px; border-radius: 8px; background: #ffbf47; color: #111; font-weight: 800; text-decoration: none; }
.i360-portal-skip:focus { transform: translateY(0); }
.i360-portal-masthead,
.i360-portal-masthead *,
.i360-portal-footer,
.i360-portal-footer *,
.i360-portal-mobile-nav,
.i360-portal-mobile-nav * { box-sizing: border-box; }
.i360-portal-masthead,
.i360-portal-footer,
.i360-portal-mobile-nav { font-family: Manrope, "Segoe UI Variable", "Segoe UI", Arial, sans-serif !important; }
.i360-portal-masthead a,
.i360-portal-footer a,
.i360-portal-mobile-nav a { color: inherit; text-decoration: none; }
.i360-portal-masthead button,
.i360-portal-masthead input,
.i360-portal-mobile-nav button { font: inherit; }
.i360-portal-masthead svg,
.i360-portal-mobile-nav svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.i360-portal-masthead :focus-visible,
.i360-portal-footer :focus-visible,
.i360-portal-mobile-nav :focus-visible { outline: 3px solid #f3b61f; outline-offset: 3px; }

.i360-portal-masthead { position: relative; z-index: 500; border-bottom: 1px solid var(--i360-shell-line); background: #fff; color: var(--i360-shell-ink); }
.i360-portal-masthead__top { width: min(1280px, calc(100% - 48px)); min-height: 86px; display: grid; grid-template-columns: auto auto minmax(300px, 1fr) auto auto; align-items: center; gap: 22px; margin-inline: auto; }
.i360-portal-brand { display: inline-flex; align-items: baseline; line-height: 1; letter-spacing: -1.5px; white-space: nowrap; }
.i360-portal-brand span,
.i360-portal-brand strong { font-size: 29px; font-weight: 850; }
.i360-portal-brand span { color: var(--i360-shell-ink); }
.i360-portal-brand strong { color: var(--i360-shell-blue); }
.i360-portal-city { min-width: 116px; padding-left: 18px; border-left: 1px solid var(--i360-shell-line); line-height: 1.2; }
.i360-portal-city small,
.i360-portal-city strong { display: block; }
.i360-portal-city small { color: var(--i360-shell-muted); font-size: 12px; font-weight: 700; }
.i360-portal-city strong { margin-top: 3px; font-size: 15px; }
.i360-portal-search { height: 48px; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding-left: 15px; overflow: hidden; border: 1px solid #cdd5df; border-radius: 12px; background: #f8fafc; transition: .2s ease; }
.i360-portal-search:focus-within { border-color: var(--i360-shell-blue); background: #fff; box-shadow: 0 0 0 4px rgba(7, 88, 201, .1); }
.i360-portal-search svg { width: 21px; height: 21px; color: var(--i360-shell-muted); }
.i360-portal-search input { min-width: 0; height: 46px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--i360-shell-ink); font-size: 15px; }
.i360-portal-search input::placeholder { color: #667085; opacity: 1; }
.i360-portal-search button { align-self: stretch; min-width: 86px; border: 0; background: var(--i360-shell-blue); color: #fff; font-weight: 800; cursor: pointer; }
.i360-portal-search button:hover { background: var(--i360-shell-blue-dark); }
.i360-portal-alert { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 17px; border: 1px solid #f2c4c9; border-radius: 99px; color: #a91422 !important; font-size: 14px; font-weight: 800; }
.i360-portal-alert span { width: 8px; height: 8px; border-radius: 50%; background: var(--i360-shell-red); }
.i360-portal-menu-toggle { min-width: 44px; min-height: 44px; display: none; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--i360-shell-line); border-radius: 10px; background: #fff; color: var(--i360-shell-ink); font-weight: 750; cursor: pointer; }
.i360-portal-menu-toggle svg { width: 21px; height: 21px; }

.i360-portal-nav { position: relative; border-top: 1px solid #edf1f5; background: #fff; }
.i360-portal-nav > div { width: min(1280px, calc(100% - 48px)); min-height: 55px; display: flex; align-items: stretch; gap: 7px; margin-inline: auto; }
.i360-portal-nav a,
.i360-portal-more > button { min-height: 55px; position: relative; display: inline-flex; align-items: center; padding: 0 15px; border: 0; background: transparent; color: #344054; font-size: 14px; font-weight: 780; cursor: pointer; white-space: nowrap; }
.i360-portal-nav a:hover,
.i360-portal-nav a.is-current,
.i360-portal-more > button:hover,
.i360-portal-more.is-open > button { color: var(--i360-shell-blue); }
.i360-portal-nav a.is-current::after { content: ""; position: absolute; right: 12px; bottom: -1px; left: 12px; height: 3px; border-radius: 3px 3px 0 0; background: var(--i360-shell-blue); }
.i360-portal-more { position: relative; display: flex; margin-left: auto; }
.i360-portal-more > button { gap: 7px; }
.i360-portal-more > button svg { width: 16px; height: 16px; transition: transform .18s ease; }
.i360-portal-more.is-open > button svg { transform: rotate(180deg); }
.i360-portal-more__menu { display: none; position: absolute; z-index: 510; top: calc(100% - 1px); right: 0; width: min(760px, calc(100vw - 48px)); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 16px; border: 1px solid var(--i360-shell-line); border-radius: 0 0 16px 16px; background: #fff; box-shadow: 0 24px 52px rgba(16, 24, 40, .16); }
.i360-portal-more.is-open .i360-portal-more__menu { display: grid; }
.i360-portal-more__menu a { min-height: 84px; display: block; padding: 15px 16px; border: 1px solid #e8edf3; border-radius: 11px; background: #f8fafc; white-space: normal; }
.i360-portal-more__menu a:hover { border-color: #b8d1f2; background: var(--i360-shell-blue-soft); }
.i360-portal-more__menu strong,
.i360-portal-more__menu small { display: block; }
.i360-portal-more__menu strong { font-size: 15px; }
.i360-portal-more__menu small { margin-top: 4px; color: var(--i360-shell-muted); font-size: 13px; line-height: 1.35; }
.i360-portal-context { border-top: 1px solid #edf1f5; background: #f8fafc; color: var(--i360-shell-muted); }
.i360-portal-context > div { width: min(1280px, calc(100% - 48px)); min-height: 42px; display: flex; align-items: center; gap: 9px; margin-inline: auto; font-size: 13px; }
.i360-portal-context strong { color: var(--i360-shell-ink); }
.i360-portal-context__tip { margin-left: auto; color: var(--i360-shell-blue) !important; font-weight: 800; }

.i360-portal-footer { margin-top: 72px; background: #0c1f33; color: #c6d3df; }
.i360-portal-footer__grid { width: min(1280px, calc(100% - 48px)); display: grid; grid-template-columns: 1.45fr repeat(4, minmax(120px, .75fr)); gap: 42px; margin-inline: auto; padding: 52px 0 40px; }
.i360-portal-footer__grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.i360-portal-footer__grid > div > strong { margin-bottom: 8px; color: #fff; font-size: 14px; }
.i360-portal-footer__grid a { color: #dbe7f1; font-size: 14px; }
.i360-portal-footer__grid a:hover { color: #fff; text-decoration: underline; }
.i360-portal-footer .i360-portal-brand span,
.i360-portal-footer .i360-portal-brand strong { font-size: 28px; }
.i360-portal-footer .i360-portal-brand span { color: #fff; }
.i360-portal-footer .i360-portal-brand strong { color: #6aaeff; }
.i360-portal-footer__about p { max-width: 310px; margin: 8px 0 4px; color: #aebdca; font-size: 14px; line-height: 1.6; }
.i360-portal-footer__about .i360-portal-footer__section-note { margin-top: 2px; padding-left: 12px; border-left: 2px solid #4f9cff; color: #dbe7f1; font-size: 13px; }
.i360-portal-footer__tip { color: #79b4ff !important; font-weight: 800; }
.i360-portal-footer__bottom { width: min(1280px, calc(100% - 48px)); display: flex; justify-content: space-between; gap: 20px; margin-inline: auto; padding: 20px 0 26px; border-top: 1px solid #294057; color: #91a4b6; font-size: 13px; }
.i360-portal-mobile-nav { display: none; }

/* One portal identity: modules keep their own navigation and content, not duplicate wordmarks or footers. */
body.i360-portal-page .i360-events-footer,
body.i360-portal-page .i360-health-mag__footer,
body.i360-portal-page .i360-jobs-footer { display: none !important; }
body.i360-portal-page .i360-event-brand { font-size: 0 !important; letter-spacing: 0 !important; }
body.i360-portal-page .i360-event-brand span { display: none !important; }
body.i360-portal-page .i360-event-brand::after { content: "Wydarzenia"; font-size: 18px; font-weight: 850; }
body.i360-portal-page .i360-health-mag__brand .i360-health-mag__mark,
body.i360-portal-page .i360-health-mag__brand strong { display: none !important; }
body.i360-portal-page .i360-health-mag__brand > span:last-child { padding-left: 0; border-left: 0; color: var(--mag-blue-dark, #006f9f); font-size: 15px; letter-spacing: .08em; }
body.i360-portal-page .i360-news-brand__mark,
body.i360-portal-page .i360-news-brand strong { display: none !important; }
body.i360-portal-page .i360-news-brand small { margin-left: 0; color: var(--i360-news-green, #16825d); font-size: 20px; font-weight: 800; }
body.i360-portal-page .i360-jobs-brand__mark,
body.i360-portal-page .i360-jobs-brand strong { display: none !important; }
body.i360-portal-page .i360-jobs-brand > span:last-child { font-size: 18px; font-weight: 850; }

@media (max-width: 960px) {
	.i360-portal-masthead__top { grid-template-columns: auto auto minmax(220px, 1fr) auto; gap: 15px; }
	.i360-portal-alert { display: none; }
	.i360-portal-footer__grid { grid-template-columns: 1.3fr repeat(2, 1fr); }
	.i360-portal-footer__grid > div:nth-child(4),
	.i360-portal-footer__grid > div:nth-child(5) { padding-top: 12px; }
}
@media (max-width: 760px) {
	body.i360-portal-page { padding-bottom: 68px; }
	.i360-portal-masthead__top { width: calc(100% - 30px); min-height: auto; grid-template-columns: auto 1fr auto; gap: 11px; padding: 14px 0; }
	.i360-portal-brand span,
	.i360-portal-brand strong { font-size: 25px; }
	.i360-portal-city { justify-self: end; min-width: 0; padding-left: 12px; }
	.i360-portal-city small { display: none; }
	.i360-portal-city strong { margin: 0; font-size: 14px; }
	.i360-portal-menu-toggle { display: inline-flex; }
	.i360-portal-menu-toggle span { display: none; }
	.i360-portal-search { grid-column: 1 / -1; grid-row: 2; height: 50px; margin-top: 2px; }
	.i360-portal-search input { height: 48px; font-size: 16px; }
	.i360-portal-search button { min-width: 76px; }
	.i360-portal-nav { display: none; }
	.i360-portal-masthead.is-nav-open .i360-portal-nav { display: block; }
	.i360-portal-nav > div { width: 100%; display: block; padding: 8px 15px 14px; }
	.i360-portal-nav a,
	.i360-portal-more > button { width: 100%; min-height: 46px; justify-content: space-between; padding: 0 10px; border-bottom: 1px solid #edf1f5; }
	.i360-portal-nav a.is-current::after { top: 9px; right: auto; bottom: 9px; left: 0; width: 3px; height: auto; }
	.i360-portal-more { display: block; margin: 0; }
	.i360-portal-more__menu { position: static; width: 100%; grid-template-columns: 1fr; padding: 8px 0 0; border: 0; box-shadow: none; }
	.i360-portal-more__menu a { min-height: 64px; margin-bottom: 6px; border: 1px solid #e8edf3; }
	.i360-portal-context > div { width: calc(100% - 30px); min-height: 39px; }
	.i360-portal-context__tip { display: none; }
	.i360-portal-footer { margin-top: 52px; }
	.i360-portal-footer__grid { width: calc(100% - 36px); grid-template-columns: 1fr 1fr; gap: 30px 22px; padding: 40px 0 30px; }
	.i360-portal-footer__about { grid-column: 1 / -1; }
	.i360-portal-footer__grid > div:nth-child(4),
	.i360-portal-footer__grid > div:nth-child(5) { padding-top: 0; }
	.i360-portal-footer__bottom { width: calc(100% - 36px); padding-bottom: 22px; }
	.i360-portal-mobile-nav { position: fixed; z-index: 900; right: 0; bottom: 0; left: 0; height: 68px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #d8e0e8; background: rgba(255,255,255,.97); box-shadow: 0 -8px 30px rgba(16,24,40,.1); backdrop-filter: blur(14px); }
	.i360-portal-mobile-nav a,
	.i360-portal-mobile-nav button { min-width: 0; min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 5px 2px; border: 0; background: transparent; color: #475467; font-size: 11px; font-weight: 750; }
	.i360-portal-mobile-nav a.is-current { color: var(--i360-shell-blue); }
	.i360-portal-mobile-nav svg { width: 21px; height: 21px; }
}
@media (max-width: 480px) {
	.i360-portal-footer__grid { gap: 26px 18px; }
	.i360-portal-footer__bottom { flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
	.i360-portal-masthead *,
	.i360-portal-mobile-nav * { scroll-behavior: auto !important; transition: none !important; }
}
