/* IPPROLAW 027: shared article CSS. Original cascade order retained. */

/* Source: assets/navigation-accessibility.css */
/* IPP-04: shared disclosure controls, focus indication, and hidden panels. */
header .nav-disclosure {
appearance: none;
border: 0;
background: transparent;
padding: 0;
margin: 0;
position: relative;
color: var(--muted, #5c6074);
font: inherit;
line-height: inherit;
white-space: nowrap;
cursor: pointer;
}
header .nav-disclosure::after {
content: "";
position: absolute;
left: 0;
bottom: -6px;
width: 0;
height: 2px;
background: var(--accent, #1f3f77);
transition: width .2s ease;
}
header .nav-disclosure:hover::after,
header .nav-disclosure:focus-visible::after,
header .nav-disclosure[aria-expanded="true"]::after { width: 100%; }
header a:focus-visible,
header button:focus-visible {
outline: 3px solid var(--accent, #1f3f77);
outline-offset: 4px;
border-radius: 3px;
}
header .submenu[hidden],
header .mobile-submenu[hidden],
header .mobile-nav[hidden] { display: none !important; }
header .nav-item { position: relative; }
header .nav-item.is-open > .submenu {
visibility: visible;
opacity: 1;
transform: translateY(0);
pointer-events: auto;
transition: opacity .2s ease, transform .2s ease;
}
/* Preserve the pointer route across the old 12 px submenu margin. */
header .nav-item.is-open::before {
content: "";
position: absolute;
top: 100%;
left: 0;
right: 0;
height: 16px;
}
@media (prefers-reduced-motion: reduce) {
header .nav-disclosure::after,
header .submenu,
header .menu-toggle span,
header .mobile-submenu-toggle { transition: none !important; }
}


/* Source: assets/language-switch.css */
/* Crawlable links to actual translations; not an automatic locale redirect. */
header .lang-switch { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
header .lang-button {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 7px 10px;
border: 1px solid var(--accent, #1f3f77);
border-radius: 20px;
color: var(--accent, #1f3f77);
background: #fff;
font-size: 12px;
line-height: 1.3;
font-weight: 600;
text-decoration: none;
white-space: nowrap;
}
header .lang-button[aria-current="page"] { color: #fff; background: var(--accent, #1f3f77); }
header .cta { display: flex; align-items: center; }


/* Source: assets/navigation-responsive.css */
/* Shared responsive layout for the existing IPPRO header. */
header .topline {
box-sizing: border-box;
min-width: 0;
gap: clamp(12px, 1.4vw, 24px);
}
header .brand {
min-width: 0;
flex: 0 1 280px;
}
header .brand > a {
display: block;
min-width: 0;
width: 100%;
}
header .brand img {
display: block;
width: 100%;
max-width: 280px;
height: auto;
}
header .cta,
header .lang-switch,
header .menu-toggle {
flex-shrink: 0;
}
header .lang-button {
display: inline-flex;
align-items: center;
justify-content: center;
white-space: nowrap;
}
header .topline > nav {
align-items: center;
min-width: 0;
gap: clamp(10px, 1.05vw, 16px);
}
header .submenu {
min-width: 260px;
max-width: min(400px, calc(100vw - 32px));
}
header .submenu a {
white-space: normal;
overflow-wrap: anywhere;
}
.mobile-nav {
box-sizing: border-box;
width: 100%;
max-width: 100%;
top: var(--ippro-header-height, 82px);
max-height: calc(100vh - var(--ippro-header-height, 82px));
max-height: calc(100dvh - var(--ippro-header-height, 82px));
overscroll-behavior: contain;
}
.mobile-nav-item,
.mobile-nav-item-wrapper,
.mobile-nav-link,
.mobile-submenu {
min-width: 0;
}
.mobile-nav-link,
.mobile-submenu a {
white-space: normal;
overflow-wrap: anywhere;
}
.mobile-submenu-toggle {
flex: 0 0 44px;
min-width: 44px;
min-height: 44px;
}
@media (min-width: 1101px) {
header .topline > nav { display: flex; }
header .menu-toggle { display: none; }
.mobile-nav,
.mobile-nav.active { display: none; }
}
@media (max-width: 1100px) {
header .topline {
width: min(1180px, calc(100% - 32px));
padding-block: 14px;
}
header .topline > nav { display: none; }
header .menu-toggle {
display: flex;
align-items: center;
justify-content: center;
min-width: 44px;
min-height: 44px;
padding: 10px;
}
header .brand {
flex-basis: 280px;
max-width: 280px;
}
header .cta { gap: 10px; }
header .lang-switch { gap: 6px; }
.mobile-nav { padding: 16px; }
}
@media (max-width: 480px) {
header .topline {
width: calc(100% - 24px);
gap: 8px;
padding-block: 10px;
}
header .brand {
flex: 1 1 180px;
max-width: 220px;
}
header .cta { gap: 4px; }
header .lang-switch { gap: 4px; }
header .lang-button {
min-width: 34px;
min-height: 36px;
padding: 6px 7px;
font-size: 11px;
letter-spacing: 0;
}
.mobile-nav { padding: 12px; }
.mobile-nav-link { font-size: 17px; }
.mobile-submenu { padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
header .menu-toggle span,
.mobile-submenu-toggle { transition: none; }
}


/* Source: assets/analytics.css */
.ippro-metrica-pixel { position: absolute; left: -9999px; width: 1px; height: 1px; }


/* Source: assets/enquiry-paths.css */
.ippro-primary-cta,.ippro-enquiry-cta .ippro-cta-link{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:13px 20px;border-radius:10px;font-size:16px;line-height:1.4;font-weight:600;letter-spacing:normal;text-transform:none;background:#fff;color:#1f3f77;text-decoration:none;overflow-wrap:anywhere}
.ippro-primary-cta{margin:4px 0 16px}
.ippro-primary-cta:focus-visible,.ippro-cta-link:focus-visible,.ippro-practice-link:focus-visible{outline:3px solid #b17b00;outline-offset:4px}
.ippro-practice-link{display:inline-block;margin:8px 0 0;font-weight:600;color:var(--accent,#1f3f77);text-decoration:underline;text-underline-offset:3px}
.ippro-enquiry-cta{width:min(1180px,92vw);margin:40px auto;padding:28px;border-radius:14px;background:#1f3f77;color:#fff;box-sizing:border-box}
.ippro-enquiry-cta h2{margin:0 0 10px;font-size:clamp(22px,3vw,30px);line-height:1.25;letter-spacing:normal;text-transform:none}
.ippro-enquiry-cta p{max-width:70ch;margin:0 0 18px;line-height:1.65}
@media(max-width:480px){.ippro-enquiry-cta{padding:20px}.ippro-enquiry-cta .ippro-cta-link{width:100%}}

