/* Module Grid */
.pn-mod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pn-mod { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: #fff; border: 1px solid #e7eef8; border-radius: 16px; box-shadow: 0 10px 24px rgba(11,43,87,.06); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pn-mod:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(11,43,87,.1); border-color: #bfe2f7; }
.pn-mod__top { display: flex; align-items: center; justify-content: space-between; }
.pn-mod__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.pn-mod__icon img { width: 45px; height: 45px; max-width: none; object-fit: contain; }
.pn-mod__arrow { width: 13px; height: 13px; background: #b7c6de; transition: transform .2s ease, background-color .2s ease;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8h12.2M8.6 3.2 13.4 8l-4.8 4.8' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8h12.2M8.6 3.2 13.4 8l-4.8 4.8' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.pn-mod:hover .pn-mod__arrow { transform: translateX(3px); background-color: #00a0e3; }
.pn-mod__title { color: #1a2747; font-family: var(--e-global-typography-primary-font-family), sans-serif; font-weight: 700; font-size: 16px; line-height: 1.25; }
.pn-mod__text { color: #7a86a6; font-family: var(--e-global-typography-text-font-family), sans-serif; font-size: 13px; line-height: 19px; }

/* Post Cards */
.pn-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pn-post { display: flex; flex-direction: column; background: #fff; border: 1px solid #e7eef8; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 30px rgba(11,43,87,.07); transition: transform .2s ease, box-shadow .2s ease; }
.pn-post:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(11,43,87,.1); }
.pn-post__media { display: block; height: 176px; overflow: hidden; }
.pn-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pn-post__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; font-family: var(--e-global-typography-text-font-family), sans-serif; }
.pn-post__pill { display: inline-flex; padding: 5px 12px; border-radius: 20px; background: #eaf1fb; color: #3f6fb0; font-size: 11px; font-weight: 600; line-height: 1.2; }
.pn-post__title { margin: 0; font-size: 19px; line-height: 26px; font-weight: 700; color: #1a2747; }
.pn-post__title a { color: inherit; text-decoration: none; }
.pn-post__title a:hover { color: #00a0e3; }
.pn-post__excerpt { margin: 0; font-size: 14px; line-height: 22px; color: #6b789a; }
.pn-post__more { line-height: 1.2; font-size: 14px; font-weight: 600; color: #00a0e3; text-decoration: none; white-space: pre; }
.pn-post__more:hover { opacity: .8; }
.pn-post__date { line-height: 1.2; font-size: 12px; font-weight: 500; color: #9aa3bf; }
.pn-posts-fill-yes .pn-posts { display: flex; flex-wrap: wrap; }
.pn-posts-fill-yes .pn-post { flex: 1 1 calc((100% - 2 * var(--pn-gap, 22px)) / 3); min-width: calc((100% - 2 * var(--pn-gap, 22px)) / 3); }
@media (max-width: 1024px) { .pn-posts-fill-yes .pn-post { flex-basis: calc((100% - var(--pn-gap, 22px)) / 2); min-width: calc((100% - var(--pn-gap, 22px)) / 2); } }
@media (max-width: 767px) { .pn-posts-fill-yes .pn-post { flex-basis: 100%; min-width: 100%; } }
@media (max-width: 1024px) { .pn-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pn-mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .pn-posts, .pn-mod-grid { grid-template-columns: 1fr; } }

/* Template Slider (Swiper) */
.pn-tslider { position: relative; }
.pn-tslider .swiper { overflow: hidden; }
.pn-tslider .swiper.swiper-fade { overflow: visible; }
.pn-tslider .swiper-wrapper { align-items: stretch; }
.pn-tslider__slide { height: auto; display: flex; align-items: center; }
.pn-tslider__slide > .elementor { width: 100%; }
.pn-tslider .swiper-fade .swiper-slide { pointer-events: none; }
.pn-tslider .swiper-fade .swiper-slide-active { pointer-events: auto; }
.pn-tslider__arrow { position: absolute; top: 50%; z-index: 5; width: 46px; height: 46px; margin-top: -23px; padding: 0; display: flex; align-items: center; justify-content: center;
	border-radius: 23px; border: 1px solid #e3eaf4; background: #fff; color: #2a4a98; font: 700 22px/1 Inter, sans-serif; cursor: pointer;
	box-shadow: 0 8px 22px rgba(11, 43, 87, .14); transition: transform .2s ease, box-shadow .2s ease, color .2s ease; }
.pn-tslider__arrow span { margin-top: -3px; }
.pn-tslider__arrow:hover { color: #00a0e3; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(11, 43, 87, .18); }
.pn-tslider__arrow:focus-visible { outline: 2px solid #00a0e3; outline-offset: 2px; }
.pn-tslider__arrow--prev { left: -254px; }
.pn-tslider__arrow--next { right: -254px; }
.pn-tslider__arrow.swiper-button-disabled { opacity: .4; cursor: default; }
.pn-tslider__dots { position: absolute; left: 0; right: 0; bottom: -30px; z-index: 5; display: flex; gap: 8px; justify-content: center; align-items: center; }
.pn-tslider__dot { width: 8px; height: 8px; border-radius: 4px; background: #cbd7e8; cursor: pointer; transition: width .3s ease, background .3s ease; display: inline-block; }
.pn-tslider__dot.is-active { width: 24px; background: linear-gradient(90deg, #00a0e3, #2a4a98); }
.elementor-widget-pn365-template-slider { width: 100%; }
@media (max-width: 1500px) {
	.pn-tslider__arrow { top: auto; bottom: -54px; margin-top: 0; width: 40px; height: 40px; }
	.pn-tslider__arrow--prev { left: calc(50% - 96px); }
	.pn-tslider__arrow--next { right: calc(50% - 96px); }
}
@media (max-width: 767px) { .pn-tslider__arrow { display: none; } .pn-tslider__dots { bottom: -28px; } }

/* Mega Nav (desktop main menu) */
.elementor-widget-pn365-mega-nav, .elementor-widget-pn365-mega-nav > .elementor-widget-container { position: static; }
.pn-mnav__list { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.pn-mnav__item { position: relative; }
.pn-mnav__item.has-mega { position: static; }
.pn-mnav__link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; font: 500 14px/1.2 Inter, sans-serif; color: #3a4a6b; text-decoration: none; transition: color .2s ease; }
.pn-mnav__item:hover > .pn-mnav__link, .pn-mnav__item.is-open > .pn-mnav__link, .pn-mnav__item.is-current > .pn-mnav__link { color: #00a0e3; }
.pn-mnav__caret { width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-top: 4px solid currentColor; transition: transform .2s ease; }
.pn-mnav__item.is-open .pn-mnav__caret { transform: rotate(180deg); }
.pn-mnav__mega, .pn-mnav__drop { position: absolute; z-index: 60; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
.pn-mnav__item.is-open > .pn-mnav__mega, .pn-mnav__item.is-open > .pn-mnav__drop { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease, visibility 0s; }
.pn-mnav__mega::before, .pn-mnav__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
/* Mega panel spans the header's 1360px content box. */
.pn-mnav__mega { left: 0; right: 0; top: calc(100% + 1px); }
.pn-mnav__mega > .elementor > .e-con { border-radius: 18px; overflow: hidden; }
/* Dropdown */
.pn-mnav__drop { left: 50%; top: calc(100% + var(--padding-bottom, 20px) + 1px); width: 330px; margin-left: -165px; padding: 10px; background: #fff; border: 1px solid #e3e7f1; border-radius: 14px; box-shadow: 0 18px 44px -6px rgba(13, 26, 64, .16); }
.pn-mnav__sub, .pn-mnav__plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pn-mnav__subitem { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; text-decoration: none; transition: background-color .2s ease; }
.pn-mnav__subitem:hover, .pn-mnav__subitem:focus-visible, .pn-mnav__subitem.is-current { background: #f6f8fc; }
.pn-mnav__ic { width: 40px; height: 40px; flex: 0 0 40px; display: flex; align-items: center; justify-content: center; overflow: visible; }
.pn-mnav__ic img { width: 45px; height: 45px; max-width: none; }
.pn-mnav__tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pn-mnav__t { font: 600 14px/1.25 Inter, sans-serif; color: #202f60; transition: color .2s ease; }
.pn-mnav__d { font: 400 11.5px/1.3 Inter, sans-serif; color: #4a5578; }
.pn-mnav__subitem:hover .pn-mnav__t, .pn-mnav__subitem.is-current .pn-mnav__t { color: #00a0e3; }
.pn-mnav__plain { margin-top: 6px; padding-top: 6px; border-top: 1px solid #e3e7f1; }
.pn-mnav__plain a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; font: 400 13.5px/1.2 Inter, sans-serif; color: #202f60; text-decoration: none; border-radius: 8px; }
.pn-mnav__plain a::after { content: "→"; font-weight: 600; font-size: 12px; color: #00a0e3; transition: transform .2s ease; }
.pn-mnav__plain a:hover { color: #00a0e3; }
.pn-mnav__plain a:hover::after { transform: translateX(3px); }
.pn-mnav a:focus-visible { outline: 2px solid #00a0e3; outline-offset: 2px; border-radius: 8px; }
/* Mega panel module links */
.e-con.pn-mm-item { transition: background-color .2s ease; text-decoration: none; }
.e-con.pn-mm-item:hover, .e-con.pn-mm-item:focus-visible { background-color: #f6f8fc; }
.e-con.pn-mm-item:hover .elementor-heading-title:first-child { color: #00a0e3; }
.pn-mm-item .elementor-widget-heading:first-child .elementor-heading-title { transition: color .2s ease; }
.e-con.pn-mm-item:hover .elementor-widget-heading:first-of-type .elementor-heading-title { color: #00a0e3; }
@media (prefers-reduced-motion: reduce) { .pn-mnav__mega, .pn-mnav__drop { transition: none; transform: none; } }
/* Mega panel is positioned against the header's boxed content row. */
.e-con.pn-header > .e-con-inner { position: relative; }
.pn-mega-panel { box-shadow: 0 24px 60px -8px rgba(13, 26, 64, .16); }

/* Off-canvas mobile menu (Figma "Nav — Mobile Off-Canvas Menu (open)") */
.pn-oc { display: flex; justify-content: flex-end; }
.pn-oc__burger { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid #e3e7f1; border-radius: 999px; background: #fff; cursor: pointer; }
.pn-oc__bars { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.pn-oc__bars i { display: block; height: 2px; border-radius: 2px; background: #202f60; }
.pn-oc__bars i:nth-child(2) { width: 12px; background: #00a0e3; }
.pn-oc__burger:hover, .pn-oc__burger:focus-visible { border-color: #00a0e3; }
.pn-oc__overlay { position: fixed; inset: 0; z-index: 9998; background: rgba(8, 18, 43, .45); opacity: 0; transition: opacity .3s ease; }
.pn-oc__overlay.is-open { opacity: 1; }
.pn-oc__panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 9999; width: min(320px, 86vw); display: flex; flex-direction: column; background: #fff;
	box-shadow: -12px 0 40px rgba(13, 26, 64, .3); transform: translateX(100%); transition: transform .32s cubic-bezier(.2, .7, .2, 1); font-family: Inter, sans-serif; }
.admin-bar .pn-oc__panel { top: 46px; }
@media (min-width: 783px) { .admin-bar .pn-oc__panel { top: 32px; } }
.pn-oc__panel.is-open { transform: none; }
.pn-oc__head { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 14px 16px 12px 20px; border-bottom: 1px solid #e3e7f1; box-sizing: border-box; }
.pn-oc__logo img { width: 112px; height: 26px; object-fit: contain; display: block; }
.pn-oc__close { width: 34px; height: 34px; border-radius: 999px; border: 0; background: #f6f8fc; color: #202f60; cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s; }
.pn-oc__close:hover, .pn-oc__close:focus-visible { background: #e8f4fc; color: #00a0e3; }
.pn-oc__nav { flex: 1 1 auto; overflow-y: auto; padding: 6px 12px; }
.pn-oc__list, .pn-oc__sub { list-style: none; margin: 0; padding: 0; }
.pn-oc__list { display: flex; flex-direction: column; gap: 2px; }
.pn-oc__row { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border: 0; border-radius: 10px; background: transparent;
	font: 600 15px/18px Inter, sans-serif; color: #202f60; text-decoration: none; text-align: left; cursor: pointer; transition: background-color .2s, color .2s; }
.pn-oc__row:hover, .pn-oc__item.is-current > .pn-oc__row { color: #00a0e3; }
.pn-oc__item.is-expanded > .pn-oc__row { background: #f6f8fc; color: #00a0e3; }
.pn-oc__chev { width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-top: 4px solid #4a5578; transition: transform .2s ease; }
.pn-oc__item.is-expanded .pn-oc__chev { transform: rotate(180deg); border-top-color: #00a0e3; }
.pn-oc__sub { padding: 2px 0 4px 10px; }
.pn-oc__subitem { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 5px 12px; border-radius: 10px; font: 400 13.5px/1.2 Inter, sans-serif; color: #4a5578; text-decoration: none; transition: background-color .2s, color .2s; }
.pn-oc__subitem:hover { background: #f6f8fc; color: #202f60; }
.pn-oc__ic { width: 28px; height: 28px; flex: 0 0 28px; display: flex; align-items: center; justify-content: center; }
.pn-oc__ic img { width: 31.5px; height: 31.5px; max-width: none; }
.pn-oc__all { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 8px; font: 600 13.5px/1.2 Inter, sans-serif; color: #00a0e3; text-decoration: none; }
.pn-oc__all span { transition: transform .2s ease; }
.pn-oc__all:hover span { transform: translateX(3px); }
.pn-oc__foot { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 20px 16px; background: #f6f8fc; }
.pn-oc__cta { width: 100%; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 10px;
	background-image: linear-gradient(90deg, #134c93 0%, #00a0e3 100%); color: #fff; font: 600 14.5px/18px Inter, sans-serif; text-decoration: none; transition: filter .2s, transform .2s; }
.pn-oc__cta:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
.pn-oc__phone { display: inline-flex; align-items: center; gap: 8px; font: 400 13px/1.2 Inter, sans-serif; color: #202f60; text-decoration: none; }
.pn-oc__phone span { color: #00a0e3; }
.pn-oc__social { display: flex; gap: 10px; }
.pn-oc__social a { width: 30px; height: 30px; border-radius: 999px; border: 1px solid #e3e7f1; background: #fff; color: #202f60; display: inline-flex; align-items: center; justify-content: center; transition: color .2s, border-color .2s; }
.pn-oc__social a:hover { color: #00a0e3; border-color: #00a0e3; }
.pn-oc__social svg { fill: currentColor; }
.pn-oc a:focus-visible, .pn-oc__panel a:focus-visible, .pn-oc__panel button:focus-visible { outline: 2px solid #00a0e3; outline-offset: 2px; }
html.pn-oc-lock, html.pn-oc-lock body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .pn-oc__panel, .pn-oc__overlay { transition: none; } }
/* Keep Site Settings button/link styles (gradient buttons, link colour) out of the menus. */
body .pn-oc__panel button, body .pn-oc button, body .pn-mnav button { background-image: none !important; box-shadow: none !important; text-transform: none; letter-spacing: normal; }
body .pn-oc__panel .pn-oc__close { background-color: #f6f8fc !important; color: #202f60 !important; }
body .pn-oc__panel .pn-oc__close:hover { background-color: #e8f4fc !important; color: #00a0e3 !important; }
body .pn-oc__burger { background-color: #fff !important; }
body .pn-oc__panel .pn-oc__row { background-color: transparent !important; color: #202f60 !important; }
body .pn-oc__panel .pn-oc__row:hover, body .pn-oc__panel .pn-oc__item.is-current > .pn-oc__row { color: #00a0e3 !important; }
body .pn-oc__panel .pn-oc__item.is-expanded > .pn-oc__row { background-color: #f6f8fc !important; color: #00a0e3 !important; }
body .pn-oc__panel .pn-oc__subitem { color: #4a5578 !important; }
body .pn-oc__panel .pn-oc__subitem:hover { color: #202f60 !important; }
body .pn-oc__panel .pn-oc__all { color: #00a0e3 !important; }
body .pn-oc__panel .pn-oc__cta, body .pn-oc__panel .pn-oc__cta:hover { color: #fff !important; }
body .pn-oc__panel .pn-oc__phone { color: #202f60 !important; }
body .pn-oc__panel .pn-oc__social a { color: #202f60 !important; }
body .pn-oc__panel .pn-oc__social a:hover { color: #00a0e3 !important; }
body .pn-mnav .pn-mnav__link { color: #3a4a6b; }
body .pn-mnav .pn-mnav__subitem .pn-mnav__t { color: #202f60; }
body .pn-mnav .pn-mnav__subitem:hover .pn-mnav__t { color: #00a0e3; }
body .pn-mnav .pn-mnav__plain a { color: #202f60; }
body .pn-mnav .pn-mnav__plain a:hover { color: #00a0e3; }
body .pn-oc__panel .pn-oc__close { width: 34px !important; height: 34px !important; padding: 0 !important; border: 0 !important; border-radius: 999px !important; display: inline-flex !important; align-items: center; justify-content: center; }
body .pn-oc__panel .pn-oc__close svg { width: 12px; height: 12px; display: block; }
body .pn-oc__panel .pn-oc__close svg path { stroke: currentColor; }
body .pn-oc__panel .pn-oc__row { padding: 9px 12px !important; border: 0 !important; border-radius: 10px !important; font: 600 15px/18px Inter, sans-serif !important; width: 100%; }
body .pn-oc__burger { width: 42px !important; height: 42px !important; padding: 0 !important; border: 1px solid #e3e7f1 !important; border-radius: 999px !important; }
/* Off-canvas: never scroll sideways. */
.pn-oc__panel, .pn-oc__panel *, .pn-oc__panel *::before, .pn-oc__panel *::after { box-sizing: border-box; }
.pn-oc__nav { overflow-x: hidden; }
.pn-oc__panel .pn-oc__row, .pn-oc__panel .pn-oc__subitem { max-width: 100%; }
.pn-oc__subitem span:last-child { min-width: 0; overflow-wrap: anywhere; }
/* Mega panel sits flush under the header bar: square top corners, rounded bottom. */
.pn-mnav__mega > .elementor > .e-con, .pn-mnav__mega .pn-mega-panel { border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }
.pn-mnav__mega .pn-mega-panel > .e-con:first-child { border-top-left-radius: 0; }
/* Menu items fill the header height so dropdowns start exactly at the header's bottom line. */
@media (min-width: 1025px) {
	.elementor-widget-pn365-mega-nav.pn-nav-desktop { align-self: stretch; display: flex; align-items: stretch; }
	.elementor-widget-pn365-mega-nav.pn-nav-desktop > .elementor-widget-container, .pn-nav-desktop .pn-mnav, .pn-nav-desktop .pn-mnav__list { height: 100%; width: 100%; }
	.pn-nav-desktop .pn-mnav__list { align-items: stretch; }
	.pn-nav-desktop .pn-mnav__item { display: flex; align-items: center; }
}
/* Desktop bar never shows on tablet/mobile (the off-canvas burger takes over). */
@media (max-width: 1024px) { .elementor-widget-pn365-mega-nav.pn-nav-desktop { display: none !important; } }
/* Tablet/mobile header: logo left, actions + burger grouped on the right. */
@media (max-width: 1024px) {
	.e-con.pn-header > .e-con-inner { justify-content: flex-end; gap: 14px; }
	.e-con.pn-header > .e-con-inner > .elementor-element:first-child { margin-right: auto; }
}
