/* Activenso Accueil Pro 1.98.0 - global header/footer shell */
body.ahp-global-shell { overflow-x: hidden; }
body.ahp-global-shell > header:not(.ahp-site-header),
body.ahp-global-shell #header:not(.ahp-site-header),
body.ahp-global-shell .ct-header,
body.ahp-global-shell .site-header:not(.ahp-site-header),
body.ahp-global-shell > footer:not(.ahp-footer),
body.ahp-global-shell #footer:not(.ahp-footer),
body.ahp-global-shell .ct-footer,
body.ahp-global-shell .site-footer:not(.ahp-footer) {
	display: none !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
}

/* Keep only the language selector in the horizontal module menu. */
body.ahp-global-shell .ahp-language-select-footer,
body.ahp-global-shell .trp-language-switcher,
body.ahp-global-shell .trp-floating-switcher,
body.ahp-global-shell .trp-language-switcher-container,
body.ahp-global-shell .wpml-ls,
body.ahp-global-shell .pll-parent-menu-item {
	display: none !important;
	visibility: hidden !important;
}
body.ahp-global-shell .ahp-site-header {
	position: sticky;
	top: 0;
	z-index: 9999;
	background: #fff;
	box-shadow: 0 4px 16px rgba(15,23,42,.10);
}
body.ahp-global-shell .ahp-site-header .ahp-wrap,
body.ahp-global-shell .ahp-footer .ahp-wrap,
body.ahp-global-shell .ahp-cta .ahp-wrap {
	width: min(1280px, calc(100% - 48px));
	margin-left: auto;
	margin-right: auto;
}
body.ahp-global-shell .ahp-language-select { position: relative; display: block; margin-left: 8px; }
body.ahp-global-shell .ahp-currency-switcher { display: flex; align-items: center; flex: 0 0 auto; height: 38px; margin: 0 0 0 8px; }
body.ahp-global-shell .ahp-currency-switcher form { display: block; margin: 0; }
body.ahp-global-shell .ahp-currency-switcher select { display: block; width: 56px; height: 38px; padding: 0 18px 0 10px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; color: #0f172a; font-size: 17px; font-weight: 800; line-height: 1; cursor: pointer; }
body.ahp-global-shell .ahp-currency-switcher select:hover,
body.ahp-global-shell .ahp-currency-switcher select:focus { border-color: #2563eb; outline: 0; }
/* The Currency Switcher extension can also insert its own selector on product pages.
   The custom header selector is the single source of currency switching on Activenso. */
body.ahp-global-shell #alg_currency_selector { display: none !important; }
body.ahp-global-shell .ahp-language-select > summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; height: 38px; padding: 0 10px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; color: #0f172a; font-size: 13px; }
body.ahp-global-shell .ahp-language-select > summary::-webkit-details-marker { display: none; }
body.ahp-global-shell .ahp-language-select > summary:after { content: ''; width: 7px; height: 7px; margin-left: 3px; border-right: 1.5px solid #0f172a; border-bottom: 1.5px solid #0f172a; transform: rotate(45deg) translateY(-2px); }
body.ahp-global-shell .ahp-language-select[open] > summary:after { transform: rotate(225deg) translate(-2px,-1px); }
body.ahp-global-shell .ahp-language-menu { position: absolute; right: 0; top: 43px; z-index: 10000; min-width: 140px; padding: 6px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 10px 24px rgba(15,23,42,.14); }
body.ahp-global-shell .ahp-language-menu a { display: flex; align-items: center; gap: 8px; padding: 8px; color: #0f172a !important; font-size: 13px; }
body.ahp-global-shell .ahp-language-menu a:hover { background: #f1f5f9; }
body.ahp-global-shell .ahp-language-select .ahp-flag { display: inline-block; width: 18px; height: 13px; flex: 0 0 18px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,23,42,.12); }
body.ahp-global-shell .ahp-flag-fr { background: linear-gradient(90deg,#1d4ed8 0 33%,#fff 33% 66%,#ef4444 66%); }
body.ahp-global-shell .ahp-flag-en { background: linear-gradient(28deg,transparent 42%,#fff 42% 48%,#c81e1e 48% 53%,#fff 53% 59%,transparent 59%),linear-gradient(-28deg,transparent 42%,#fff 42% 48%,#c81e1e 48% 53%,#fff 53% 59%,transparent 59%),linear-gradient(90deg,transparent 42%,#fff 42% 58%,#c81e1e 58% 66%,transparent 66%),linear-gradient(0deg,#1e3a8a,#1e3a8a); }
body.ahp-global-shell .ahp-official-logo {
	display: block;
	width: auto !important;
	max-width: 100% !important;
	object-fit: contain;
}
body.ahp-global-shell .ahp-official-logo-header {
	width: 185px !important;
	max-height: 48px !important;
}
body.ahp-global-shell .ahp-official-logo-footer {
	width: 185px !important;
	max-height: 50px !important;
	margin-bottom: 12px;
}
body.ahp-global-shell .ahp-header-icons {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: auto;
	font-size: 22px;
	color: #0f172a;
	white-space: nowrap;
}
body.ahp-global-shell .ahp-header-icon {
	display: grid;
	place-items: center;
	width: 26px;
	height: 32px;
	color: #0f172a;
	text-decoration: none;
}
body.ahp-global-shell .ahp-header-icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
body.ahp-global-shell .ahp-header-icon.ahp-cart-link{position:relative!important;display:grid!important;place-items:center!important;line-height:1!important}
body.ahp-global-shell .ahp-header-icon.ahp-cart-link{font-size:0!important;overflow:visible!important}
body.ahp-global-shell .ahp-cart-count{position:absolute!important;top:-7px!important;right:-8px!important;inset-block-start:-7px!important;inset-inline-end:-8px!important;display:grid!important;place-items:center!important;min-width:16px!important;width:auto!important;height:16px!important;padding:0 4px!important;margin:0!important;border-radius:99px!important;background:#f47b20!important;color:#fff!important;font-size:10px!important;font-weight:800!important;line-height:1!important;transform:none!important;z-index:3!important}
body.ahp-global-shell .ahp-cart-count.is-empty{display:none!important}
body.ahp-global-shell .ct-header-cart,body.ahp-global-shell .ct-header-cart>a{position:relative!important;overflow:visible!important;font-size:0!important;line-height:1!important}
body.ahp-global-shell .ct-header-cart [class*=ct-dynamic-count]{position:absolute!important;top:-8px!important;right:-8px!important;inset-block-start:-8px!important;inset-inline-end:-8px!important;bottom:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:16px!important;width:auto!important;height:16px!important;padding:0 4px!important;margin:0!important;border-radius:99px!important;font-size:10px!important;line-height:1!important;transform:none!important}
body.ahp-global-shell .ahp-search-menu { position: relative; display: block; flex: 0 0 auto; }
body.ahp-global-shell .ahp-search-menu > summary { list-style: none; cursor: pointer; }
body.ahp-global-shell .ahp-search-menu > summary::-webkit-details-marker { display: none; }
body.ahp-global-shell .ahp-search-form { position: absolute; right: 0; top: calc(100% + 9px); z-index: 10000; display: flex; gap: 6px; width: min(320px, calc(100vw - 24px)); padding: 9px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; box-shadow: 0 16px 38px rgba(15,23,42,.18); box-sizing: border-box; }
body.ahp-global-shell .ahp-search-form input[type="search"] { min-width: 0; flex: 1; height: 36px; padding: 0 10px; border: 1px solid #cbd5e1; border-radius: 7px; color: #0f172a; }
body.ahp-global-shell .ahp-search-form button { display: inline-flex !important; align-items: center; justify-content: center; visibility: visible !important; opacity: 1 !important; position: relative; z-index: 1; height: 36px; min-width: 96px; padding: 0 10px; border: 0; border-radius: 7px; background: #2563eb !important; color: #fff !important; font-size: 12px; font-weight: 700; line-height: 1; cursor: pointer; }
body.ahp-register-account .u-column1,
body.ahp-register-account .woocommerce-form-login { display: none !important; }
body.ahp-register-account .u-column2 { width: 100% !important; float: none !important; }
body.ahp-register-account .u-column2 .woocommerce-form-register { max-width: 620px; margin-left: auto; margin-right: auto; }
body.ahp-register-account .ahp-direct-registration { max-width: 760px; margin: 42px auto; padding: 28px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 10px 28px rgba(15,23,42,.08); }
body.ahp-register-account main article > h1,
body.ahp-register-account .entry-title,
body.ahp-register-account .page-title { display: none !important; }
body.ahp-register-account .ahp-direct-registration h1 { margin: 0 0 22px; color: #0f172a; font-size: 30px; }
body.ahp-register-account .ahp-direct-registration .woocommerce-form-register { max-width: 620px; margin: 0 auto; }
body.ahp-register-account .ahp-direct-registration .form-row { margin: 0 0 16px; }
body.ahp-register-account .ahp-direct-registration label { display: block; margin-bottom: 6px; color: #0f172a; font-weight: 600; }
body.ahp-register-account .ahp-direct-registration .input-text { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #cbd5e1; border-radius: 8px; box-sizing: border-box; }
body.ahp-register-account .ahp-direct-registration .woocommerce-Button { min-height: 42px; padding: 10px 18px; border: 0; border-radius: 8px; background: #2563eb; color: #fff; font-weight: 700; cursor: pointer; }
body.ahp-global-shell .ahp-account-menu { position: relative; display: block; flex: 0 0 auto; }
body.ahp-global-shell .ahp-account-menu > summary { list-style: none; cursor: pointer; border-radius: 8px; }
body.ahp-global-shell .ahp-account-menu > summary::-webkit-details-marker { display: none; }
body.ahp-global-shell .ahp-account-dropdown {
	position: absolute;
	right: -42px;
	top: calc(100% + 9px);
	z-index: 10000;
	width: 210px;
	padding: 7px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 16px 38px rgba(15,23,42,.18);
}
body.ahp-global-shell .ahp-account-dropdown a { display: block; padding: 11px 12px; color: #0f172a; }
body.ahp-global-shell .ahp-account-dropdown strong,
body.ahp-global-shell .ahp-account-dropdown small { display: block; }
body.ahp-global-shell .ahp-account-dropdown strong { font-size: 14px; }
body.ahp-global-shell .ahp-account-dropdown small { margin-top: 2px; color: #64748b; font-size: 11px; }
body.ahp-global-shell .ahp-socials {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 14px;
}
body.ahp-global-shell .ahp-socials a {
	display: grid !important;
	place-items: center;
	width: 30px !important;
	height: 30px !important;
	padding: 6px;
	margin: 0 !important;
	color: #fff !important;
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.32);
	border-radius: 50%;
	box-sizing: border-box;
}
body.ahp-global-shell .ahp-socials a svg {
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	max-width: 18px !important;
	max-height: 18px !important;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}
body.ahp-global-shell .ahp-socials a:first-child svg,
body.ahp-global-shell .ahp-socials a:nth-child(3) svg { fill: currentColor; stroke: none; }
body.ahp-global-shell .ahp-payment-security { display: flex; align-items: flex-start; gap: 10px; }
body.ahp-global-shell .ahp-payment-lock { display: grid; place-items: center; width: 28px; height: 32px; flex: 0 0 28px; }
body.ahp-global-shell .ahp-payment-lock svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; }
body.ahp-global-shell .ahp-payment-security strong,
body.ahp-global-shell .ahp-payment-security small { display: block; color: #fff; }
body.ahp-global-shell .ahp-payment-security strong { font-size: 13px; }
body.ahp-global-shell .ahp-payment-security small { color: #dbeafe; font-size: 12px; }
body.ahp-global-shell .ahp-payment-brands { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
body.ahp-global-shell .ahp-payment-brands > span {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	height: 28px;
	min-width: 36px;
	padding: 0 8px;
	margin: 0 !important;
	background: #fff;
	border-radius: 3px;
	color: #0f172a;
	font-size: 11px;
	font-weight: 800;
}
body.ahp-global-shell .ahp-payment-brands .ahp-brand-visa { color: #1434cb; font-style: italic; }
body.ahp-global-shell .ahp-payment-brands .ahp-brand-paypal { color: #003087; font-style: italic; }
body.ahp-global-shell .ahp-payment-brands .ahp-brand-crypto { color: #f7931a; }
body.ahp-global-shell .ahp-payment-brands .ahp-brand-binance { color: #c99400; }
body.ahp-global-shell .ahp-payment-brands .ahp-brand-cb { color: #fff; background: #00a88f; }
body.ahp-global-shell .ahp-payment-brands { gap: 8px; margin-left: 38px; }
body.ahp-global-shell .ahp-payment-brands > span { height: 24px; min-width: 32px; padding: 0 6px; font-size: 10px; }
body.ahp-global-shell .ahp-payment-brands .ahp-brand-visa { font-size: 13px; font-weight: 900; }
body.ahp-global-shell .ahp-payment-brands .ahp-brand-paypal { font-size: 11px; font-weight: 800; }
body.ahp-global-shell .ahp-payment-brands .ahp-brand-mastercard { width: 38px; padding: 0; background: transparent; position: relative; }
body.ahp-global-shell .ahp-payment-brands .ahp-brand-mastercard i { position: absolute; width: 16px; height: 16px; border-radius: 50%; }
body.ahp-global-shell .ahp-payment-brands .ahp-brand-mastercard i:first-child { left: 1px; background: #eb001b; }
body.ahp-global-shell .ahp-payment-brands .ahp-brand-mastercard i:last-child { right: 1px; background: #f79e1b; opacity: .9; }
@media (min-width: 768px) {
	body.ahp-global-shell .ahp-payment-brands { flex-wrap: nowrap; gap: 4px; margin-left: 0; overflow: visible; }
	body.ahp-global-shell .ahp-payment-brands > span { flex: 0 0 auto; height: 21px; min-width: 23px; padding: 0 4px; font-size: 8px; white-space: nowrap; }
	body.ahp-global-shell .ahp-payment-brands .ahp-brand-visa { min-width: 29px; font-size: 11px; }
	body.ahp-global-shell .ahp-payment-brands .ahp-brand-paypal { min-width: 35px; font-size: 9px; }
	body.ahp-global-shell .ahp-payment-brands .ahp-brand-crypto { min-width: 34px; }
	body.ahp-global-shell .ahp-payment-brands .ahp-brand-binance { min-width: 38px; }
	body.ahp-global-shell .ahp-payment-brands .ahp-brand-mastercard { width: 28px; min-width: 28px; }
	body.ahp-global-shell .ahp-payment-brands .ahp-brand-mastercard i { width: 13px; height: 13px; }
	body.ahp-global-shell .ahp-footer-grid > div:last-child { min-width: 245px; }
}
body.admin-bar.ahp-global-shell .ahp-site-header { top: 32px; }
body.ahp-global-shell .ahp-footer {
	background: #0f172a;
	color: #cbd5e1;
	padding: 48px 0 0;
}
body.ahp-global-shell .ahp-footer-grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
	gap: 28px;
}
body.ahp-global-shell .ahp-footer h3 { color: #fff; font-size: 15px; margin: 0 0 15px; }
body.ahp-global-shell .ahp-footer a,
body.ahp-global-shell .ahp-footer span { color: #cbd5e1; font-size: 14px; margin: 7px 0; }
body.ahp-global-shell .ahp-footer-grid > div > a,
body.ahp-global-shell .ahp-footer-grid > div > span { display: block; line-height: 1.55; }
body.ahp-global-shell .ahp-footer a:hover { color: #fff; }
body.ahp-global-shell .ahp-footer-bottom {
	border-top: 1px solid rgba(255,255,255,.14);
	margin-top: 24px;
	padding: 18px 0;
	font-size: 13px;
}
body.ahp-global-shell .ahp-footer-bottom { justify-content: flex-start; }
body.ahp-global-shell .ahp-global-cta,
body.ahp-global-shell .ahp-cta { background: #172a4b; padding: 30px 0; }
body.ahp-global-shell .ahp-cta .ahp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
body.ahp-global-shell .ahp-cta h2 { color: #fff; font-size: 26px; margin: 0 0 4px; }
body.ahp-global-shell .ahp-cta p { color: #dbeafe; margin: 0; font-size: 14px; }
body.ahp-global-shell .ahp-cta .ahp-wrap > div:last-child { display: flex; align-items: center; gap: 22px; }
body.ahp-global-shell .ahp-cta .ahp-button-light { background: #fff; color: #2563eb !important; padding: 12px 20px; border-radius: 9px; }
body.ahp-global-shell .ahp-cta .ahp-button-light .ahp-icon { display: inline-flex; width: 19px; height: 19px; flex: 0 0 19px; color: #2563eb; }
body.ahp-global-shell .ahp-cta .ahp-button-light .ahp-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.ahp-global-shell .ahp-cta .ahp-wrap > div:last-child > a:last-child { color: #f97316; font-weight: 800; }
body.ahp-global-shell .ahp-footer-grid { grid-template-columns: 1.35fr 1fr 1fr 1.1fr 1.3fr; gap: 0; }
body.ahp-global-shell .ahp-footer-grid > div { min-width: 0; padding: 0 28px; border-left: 1px solid rgba(203,213,225,.25); }
body.ahp-global-shell .ahp-footer-grid > div:first-child { padding-left: 0; border-left: 0; }
body.ahp-global-shell .ahp-footer-grid > div:last-child { padding-right: 0; }
/* Le thème ajoute un espace vertical au-dessus du contenu des pages internes.
 * Le blog doit commencer directement sous le menu, comme dans la maquette. */
body.ahp-blog-archive .site-main,
body.ahp-blog-archive .content-area,
body.ahp-blog-archive .site-content { padding-top: 0 !important; margin-top: 0 !important; }
.ahp-blog-page { position: relative; top: -105px; max-width: 1280px; margin: -72px auto -105px; padding: 36px 20px 78px; color: #0f172a; }
.ahp-blog-breadcrumb { display: flex; gap: 10px; margin: 0 0 20px; color: #64748b; font-size: 13px; }
.ahp-blog-breadcrumb a { color: #334e73; text-decoration: none; }
.ahp-blog-archive main article > h1,
.ahp-blog-archive .entry-title,
.ahp-blog-archive .page-title { display: none !important; }
.ahp-blog-hero { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 300px; margin: -36px -20px 44px; padding: 42px max(20px, calc((100% - 1240px) / 2)); align-items: center; gap: 30px; background: linear-gradient(115deg,#eff8ff 0%,#e0f0ff 60%,#d7ecff 100%); overflow: hidden; }
.ahp-blog-hero-copy h1 { max-width: 700px; margin: 8px 0 12px; font-size: 42px; line-height: 1.12; }
.ahp-blog-hero-copy h2 { margin: 0 0 12px; color: #334e73; font-size: 24px; font-weight: 500; line-height: 1.3; }
.ahp-blog-hero-copy > p { max-width: 600px; margin: 0; color: #334e73; font-size: 19px; }
.ahp-blog-hero-art { position: relative; min-height: 250px; border-radius: 24px; background: radial-gradient(circle at 30% 30%,#fff 0 8%,transparent 9%), linear-gradient(135deg,#d8edff,#b8d9f5); box-shadow: 0 20px 36px rgba(37,99,235,.12); }
.ahp-blog-laptop { position: absolute; left: 10%; bottom: 24%; display: grid; place-items: center; width: 55%; height: 48%; border: 7px solid #17233b; border-bottom-width: 12px; border-radius: 8px 8px 3px 3px; background: linear-gradient(135deg,#eaf5ff,#fff); color: #17396d; text-align: center; box-shadow: 0 12px 0 -4px #758aa5; }
.ahp-blog-laptop strong { font-size: 14px; line-height: 1.25; }
.ahp-blog-laptop em { color: #2563eb; font-style: normal; }
.ahp-blog-books { position: absolute; right: 6%; bottom: 22%; display: flex; width: 35%; flex-direction: column; gap: 4px; }
.ahp-blog-books b { padding: 8px 10px; border-radius: 3px; color: #fff; font-size: 12px; box-shadow: 0 4px 6px rgba(15,23,42,.14); }
.ahp-blog-books b:nth-child(1) { background: #1d4ed8; }
.ahp-blog-books b:nth-child(2) { background: #ea580c; }
.ahp-blog-books b:nth-child(3) { background: #059669; }
.ahp-blog-books b:nth-child(4) { background: #1e3a8a; }
.ahp-blog-benefits { display: flex; gap: 24px; margin-top: 26px; }
.ahp-blog-benefits span { display: grid; grid-template-columns: 26px 1fr; column-gap: 8px; color: #2563eb; font-size: 22px; }
.ahp-blog-benefits b, .ahp-blog-benefits small { grid-column: 2; color: #16335f; }
.ahp-blog-benefits b { font-size: 14px; }
.ahp-blog-benefits small { font-size: 11px; color: #64748b; }
.ahp-blog-intro { max-width: 820px; margin: 0 auto 38px; text-align: center; color: #475569; font-size: 17px; line-height: 1.7; }
.ahp-blog-kicker { display: block; margin-bottom: 13px; color: #2563eb; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.ahp-blog-intro p { margin: 0 0 10px; }
.ahp-blog-search { display: flex; max-width: 560px; gap: 8px; margin: 24px auto 0; padding: 7px; border: 1px solid #dbe4f0; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.ahp-blog-search input { min-width: 0; flex: 1; padding: 0 12px; border: 0; outline: 0; color: #0f172a; }
.ahp-blog-search button { padding: 11px 16px; border: 0; border-radius: 7px; background: #2563eb; color: #fff; font-weight: 700; cursor: pointer; }
.ahp-blog-featured { display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden; margin-bottom: 52px; border: 1px solid #dbe4f0; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(15,23,42,.08); }
.ahp-blog-featured-image { min-height: 300px; overflow: hidden; background: linear-gradient(135deg,#dbeafe,#eff6ff); }
.ahp-blog-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.ahp-blog-featured-body { display: flex; flex-direction: column; justify-content: center; padding: 36px; }
.ahp-blog-featured-body h2 { margin: 12px 0; font-size: 30px; line-height: 1.2; }
.ahp-blog-featured-body h2 a { color: #0f172a; text-decoration: none; }
.ahp-blog-featured-body p { margin: 0 0 22px; color: #64748b; line-height: 1.6; }
.ahp-blog-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.ahp-blog-heading h2 { margin: 0 0 6px; font-size: 32px; line-height: 1.15; }
.ahp-blog-heading p { margin: 0; color: #64748b; }
.ahp-blog-all, .ahp-blog-read { color: #2563eb !important; font-weight: 800; text-decoration: none; }
.ahp-blog-categories { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.ahp-blog-categories a { padding: 9px 15px; border: 1px solid #dbe4f0; border-radius: 999px; color: #334155; background: #fff; text-decoration: none; font-size: 14px; font-weight: 700; }
.ahp-blog-categories a:hover, .ahp-blog-categories a.is-active { border-color: #2563eb; background: #2563eb; color: #fff; }
.ahp-blog-topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin: 0 0 40px; }
.ahp-blog-topic { display: flex; align-items: center; gap: 12px; padding: 17px; border: 1px solid #dbe4f0; border-radius: 10px; background: #fff; color: #102b55; text-decoration: none; box-shadow: 0 5px 15px rgba(15,23,42,.03); }
.ahp-blog-topic .ahp-icon { display: grid; place-items: center; width: 28px; height: 28px; color: #2563eb; }
.ahp-blog-topic .ahp-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ahp-blog-topic strong { flex: 1; font-size: 14px; }
.ahp-blog-topic b { color: #2563eb; font-size: 23px; font-weight: 400; }
.ahp-blog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ahp-blog-card { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.ahp-blog-image { display: grid; place-items: center; height: 210px; overflow: hidden; background: linear-gradient(135deg,#dbeafe,#eff6ff); }
.ahp-blog-image img { width: 100%; height: 100%; object-fit: cover; }
.ahp-blog-placeholder { color: #2563eb; font-size: 42px; }
.ahp-blog-card-body { padding: 22px; }
.ahp-blog-label { display: inline-block; padding: 5px 10px; border-radius: 999px; background: #e8f1ff; color: #2563eb; font-size: 12px; font-weight: 800; }
.ahp-blog-featured-badge { display: inline-block; align-self: flex-end; margin-bottom: 10px; padding: 9px 14px; border-radius: 9px; background: #f97316; color: #fff; font-size: 13px; font-weight: 800; }
.ahp-blog-featured-body > .ahp-blog-label { align-self: flex-start; }
.ahp-blog-card-microsoft-office .ahp-blog-label { background: #fff1e8; color: #ea580c; }
.ahp-blog-card-antivirus .ahp-blog-label { background: #e7f9f1; color: #059669; }
.ahp-blog-card-conseils-informatiques .ahp-blog-label { background: #eeeaff; color: #7c3aed; }
.ahp-blog-card h3 { margin: 10px 0 9px; font-size: 21px; line-height: 1.3; }
.ahp-blog-card h3 a { color: #0f172a; text-decoration: none; }
.ahp-blog-card p { min-height: 48px; margin: 0 0 18px; color: #64748b; line-height: 1.5; }
.ahp-blog-empty { grid-column: 1 / -1; padding: 30px; text-align: center; color: #64748b; }
.ahp-blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.ahp-blog-pagination .page-numbers { padding: 8px 12px; border: 1px solid #dbe4f0; border-radius: 7px; color: #2563eb; text-decoration: none; }
.ahp-blog-pagination .current { background: #2563eb; color: #fff; }
@media (max-width: 1050px) {
	body.ahp-global-shell .ahp-footer-grid { grid-template-columns: repeat(2, 1fr); }
	body.ahp-global-shell .ahp-footer-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
	.ahp-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ahp-blog-hero { grid-template-columns: 1fr; }
	.ahp-blog-hero-art { max-width: 520px; width: 100%; justify-self: end; }
	.ahp-blog-topic-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.ahp-blog-page { top: -72px; margin-bottom: -72px; }
}
@media (max-width: 782px) {
	body.admin-bar.ahp-global-shell .ahp-site-header { top: 46px; }
}
@media (max-width: 767px) {
	.ahp-blog-page { top: -42px; margin-top: -22px; margin-bottom: -42px; padding: 26px 12px 54px; }
	.ahp-blog-hero { margin: -26px -12px 34px; padding: 38px 12px; }
	.ahp-blog-hero-copy h1 { font-size: 30px; }
	.ahp-blog-hero-copy h2 { font-size: 19px; }
	.ahp-blog-hero-copy > p { font-size: 16px; }
	.ahp-blog-benefits { flex-direction: column; gap: 12px; }
	.ahp-blog-hero-art { grid-template-columns: 1fr 1fr; padding: 18px; transform: none; }
	.ahp-blog-topic-grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 30px; }
	.ahp-blog-intro { margin-bottom: 34px; font-size: 15px; }
	.ahp-blog-search { align-items: stretch; flex-direction: column; padding: 8px; }
	.ahp-blog-search input { min-height: 38px; }
	.ahp-blog-featured { display: block; margin-bottom: 38px; }
	.ahp-blog-featured-image { min-height: 190px; }
	.ahp-blog-featured-body { padding: 22px; }
	.ahp-blog-featured-body h2 { font-size: 24px; }
	.ahp-blog-heading { align-items: flex-start; flex-direction: column; }
	.ahp-blog-heading h2 { font-size: 26px; }
	.ahp-blog-grid { grid-template-columns: 1fr; gap: 18px; }
	.ahp-blog-image { height: 190px; }
	body.ahp-global-shell .ahp-site-header .ahp-wrap,
	body.ahp-global-shell .ahp-footer .ahp-wrap { width: min(100% - 32px, 1280px); }
	body.ahp-global-shell .ahp-nav { gap: 12px; padding: 15px 0; height: auto; }
	body.ahp-global-shell .ahp-nav nav { gap: 10px; overflow-x: auto; justify-content: flex-start; }
	body.ahp-global-shell .ahp-nav nav a { font-size: 11px; white-space: nowrap; }
	body.ahp-global-shell .ahp-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 8px; width: min(100% - 24px, 1280px); padding: 10px 0 8px; }
	body.ahp-global-shell .ahp-brand { min-width: 0; }
	body.ahp-global-shell .ahp-header-icons { display: flex; align-items: center; gap: 5px; grid-column: 2; grid-row: 1; margin-left: 0; }
	body.ahp-global-shell .ahp-header-icon { width: 30px; height: 30px; }
	body.ahp-global-shell .ahp-header-icon svg { width: 17px; height: 17px; }
	body.ahp-global-shell .ahp-search-form { position: fixed; top: 72px; left: 12px; right: 12px; width: auto; flex-wrap: nowrap; }
	body.ahp-global-shell .ahp-search-form input[type="search"] { flex: 1 1 auto; min-width: 0; }
	body.ahp-global-shell .ahp-search-form button { flex: 0 0 96px; }
	body.ahp-register-account .ahp-direct-registration { width: calc(100% - 24px); margin: 28px auto; padding: 20px; box-sizing: border-box; }
	body.ahp-register-account .ahp-direct-registration h1 { font-size: 24px; }
	body.ahp-global-shell .ahp-official-logo-header { width: auto !important; max-width: 132px !important; max-height: 34px !important; }
	body.ahp-global-shell .ahp-currency-switcher { grid-column: 3; grid-row: 1; height: 30px; margin-left: 0; }
	body.ahp-global-shell .ahp-currency-switcher select { width: 42px; height: 30px; padding: 0 12px 0 5px; border-radius: 6px; font-size: 14px; }
	body.ahp-global-shell .ahp-language-select { margin-left: 0; }
	body.ahp-global-shell .ahp-language-select { grid-column: 4; grid-row: 1; }
	body.ahp-global-shell .ahp-language-select > summary { display: grid; place-items: center; width: 31px; height: 30px; padding: 0; }
	body.ahp-global-shell .ahp-language-select > summary > span:last-child,
	body.ahp-global-shell .ahp-language-select > summary:after { display: none; }
	body.ahp-global-shell .ahp-nav nav { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 19px; width: 100%; padding: 9px 0 3px; overflow-x: auto; border-top: 1px solid #e2e8f0; scrollbar-width: none; }
	body.ahp-global-shell .ahp-nav nav::-webkit-scrollbar { display: none; }
	body.ahp-global-shell .ahp-nav nav a { flex: 0 0 auto; font-size: 14px; }
	body.ahp-global-shell .ahp-footer-grid { grid-template-columns: 1fr; gap: 22px; }
	body.ahp-global-shell .ahp-payment-brands { margin-left: 0; gap: 8px; }
	body.ahp-global-shell .ahp-footer-grid > div { border-left: 0; border-top: 1px solid rgba(203,213,225,.25); padding: 22px 0 !important; }
	body.ahp-global-shell .ahp-footer-grid > div:first-child { border-top: 0; }
	body.ahp-global-shell .ahp-cta .ahp-wrap,
	body.ahp-global-shell .ahp-cta .ahp-wrap > div:last-child { align-items: flex-start; flex-direction: column; }
	body.ahp-global-shell .ahp-footer-bottom { display: flex; flex-direction: column; align-items: flex-start; }
}
/* Blog 1.105: natural document flow, no accumulated negative offsets. */
body.ahp-blog-archive :is(#main-container, #main, #page, .site, .site-content, .content-area, .ct-container, .ct-container-full, article, .entry-content):has(.ahp-blog-page) {
  padding-top: 0 !important; margin-top: 0 !important;
  --content-vertical-spacing: 0px;
}
body.ahp-blog-archive .ahp-site-header { margin-bottom: 0 !important; }
body.ahp-blog-archive main,
body.ahp-blog-archive main > [class*="ct-container"],
body.ahp-blog-archive [data-vertical-spacing],
body.ahp-blog-archive article:has(.ahp-blog-page),
body.ahp-blog-archive .entry-content:has(.ahp-blog-page) {
  margin-top: 0 !important; padding-top: 0 !important;
  --content-vertical-spacing: 0px;
}
body.ahp-blog-archive .hero-section:has(.entry-title),
body.ahp-blog-archive .hero-section:has(.page-title) { display: none !important; }
body.ahp-blog-archive .woocommerce-notices-wrapper:has(> .woocommerce:empty) { display: none; }
body.ahp-blog-archive .entry-content:has(.ahp-blog-page) > p:empty { display: none; }
body.ahp-article-page :is(#main-container, #main, #page, .site, .site-content, .content-area, .ct-container, .ct-container-full, article, .entry-content):has(.ahp-article-shell) {
  padding-top: 0 !important; margin-top: 0 !important; --content-vertical-spacing: 0px;
}
body.ahp-article-page .ahp-site-header,
body.ahp-article-page main,
body.ahp-article-page main > [class*="ct-container"],
body.ahp-article-page [data-vertical-spacing],
body.ahp-article-page article:has(.ahp-article-shell),
body.ahp-article-page .entry-content:has(.ahp-article-shell) { margin-top: 0 !important; padding-top: 0 !important; --content-vertical-spacing: 0px; }
body.ahp-article-page .hero-section:has(.entry-title),
body.ahp-article-page .hero-section:has(.page-title),
body.ahp-article-page .entry-title,
body.ahp-article-page .page-title { display: none !important; }
body.ahp-article-page .comments-area,
body.ahp-article-page .comment-respond,
body.ahp-article-page .entry-footer,
body.ahp-article-page .edit-link,
body.ahp-article-page .post-edit-link { display: none !important; }
body.ahp-blog-archive .ahp-blog-page {
  top: auto; margin: 0 auto !important; padding: 0 20px 32px;
  max-width: 1280px; box-sizing: border-box; isolation: isolate;
}
.ahp-blog-page .ahp-blog-breadcrumb {
  position: relative; z-index: 1; margin: 0; padding: 24px 0 12px;
  background: #eff8ff; box-shadow: 0 0 0 100vmax #eff8ff;
  clip-path: inset(0 -100vmax);
}
.ahp-blog-page .ahp-blog-hero {
  margin: 0 0 28px; padding: 0 0 24px; min-height: 240px;
  grid-template-columns: 1.2fr 1fr; gap: 16px; overflow: visible;
  background: #eff8ff; box-shadow: 0 0 0 100vmax #eff8ff;
  clip-path: inset(0 -100vmax);
}
.ahp-blog-page .ahp-blog-hero-copy h1 { font-size: clamp(28px,3vw,40px); margin: 0 0 12px; }
.ahp-blog-page .ahp-blog-hero-copy h2 { font-size: clamp(18px,2vw,23px); font-weight: 400; }
.ahp-blog-page .ahp-blog-hero-art { min-height: 0; background: none; box-shadow: none; border-radius: 0; padding: 0; }
.ahp-blog-hero-art > img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.ahp-blog-benefits > span { grid-template-columns: 40px 1fr; align-content: start; gap: 4px 10px; }
.ahp-blog-benefits .ahp-icon {
  display: flex; align-items: center; justify-content: center; grid-column: 1; grid-row: 1 / 3;
  width: 38px; height: 38px; box-sizing: border-box; border: 1px solid #bad4ff; border-radius: 10px; background: #fff; color: #2563eb;
}
.ahp-blog-benefits .ahp-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ahp-blog-page .ahp-blog-featured { grid-template-columns: .9fr 1.1fr; padding: 12px; gap: 20px; margin-bottom: 20px; box-shadow: 0 4px 18px #142d5310; }
.ahp-blog-page .ahp-blog-featured-image { display: block; min-height: 0; border-radius: 10px; }
.ahp-blog-page .ahp-blog-featured-image img { display: block; height: 100%; max-height: 290px; object-fit: cover; }
.ahp-blog-page .ahp-blog-featured-body { position: relative; padding: 8px 10px; min-width: 0; }
.ahp-blog-page .ahp-blog-featured-badge { position: absolute; right: 10px; top: 0; font-size: 12px; padding: 8px 12px; }
.ahp-blog-page .ahp-blog-featured-body > .ahp-blog-label { max-width: calc(100% - 160px); }
.ahp-blog-page .ahp-blog-featured-body h2 { font-size: 26px; }
.ahp-blog-page .ahp-blog-featured-body p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-bottom: 14px; }
.ahp-blog-page .ahp-blog-topic-grid { margin-bottom: 24px; }
.ahp-blog-topic:nth-child(2) .ahp-icon { color: #ea580c; }
.ahp-blog-topic:nth-child(3) .ahp-icon { color: #059669; }
.ahp-blog-topic:nth-child(4) .ahp-icon { color: #2563eb; }
.ahp-blog-page .ahp-blog-card { display: flex; flex-direction: column; }
.ahp-blog-page .ahp-blog-card-body { position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 6px 16px 16px; }
.ahp-blog-page .ahp-blog-card-body > .ahp-blog-label {
  position: relative; z-index: 1; margin-top: -20px; margin-bottom: 0;
  border: 2px solid #fff; padding: 3px 12px; line-height: 18px;
  font-size: 12px; font-weight: 600; max-width: 100%; box-sizing: border-box;
}
.ahp-blog-page .ahp-blog-card-body h3 { font-size: 18px; }
.ahp-blog-page .ahp-blog-card-body p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.ahp-blog-page .ahp-blog-card-body .ahp-blog-read { margin-top: auto; padding-top: 14px; }
.ahp-blog-page .ahp-blog-image { height: auto; aspect-ratio: 1.8; }
.ahp-blog-page a:focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; }
@media(max-width:1050px) {
  .ahp-blog-page .ahp-blog-hero { grid-template-columns: 1fr 1fr; }
  .ahp-blog-benefits { flex-wrap: wrap; gap: 12px; }
}
@media(max-width:767px) {
  body.ahp-blog-archive .ahp-blog-page { padding: 0 16px 28px; }
  .ahp-blog-page .ahp-blog-breadcrumb { padding-top: 16px; }
  /* Mobile large: même lecture dense et équilibrée que la maquette fournie. */
  .ahp-blog-page .ahp-blog-breadcrumb { font-size: 11px; padding-bottom: 10px; }
  .ahp-blog-page .ahp-blog-hero { grid-template-columns: 1fr 1fr; min-height: 0; gap: 16px; margin-bottom: 18px; padding-bottom: 18px; }
  .ahp-blog-page .ahp-blog-hero-copy h1 { font-size: 25px; line-height: 1.08; margin-bottom: 7px; }
  .ahp-blog-page .ahp-blog-hero-copy h2 { font-size: 15px; line-height: 1.3; margin-bottom: 11px; }
  .ahp-blog-page .ahp-blog-hero-art { width: 100%; max-width: none; justify-self: stretch; align-self: center; }
  .ahp-blog-page .ahp-blog-benefits { display: grid; gap: 8px; margin-top: 0; }
  .ahp-blog-page .ahp-blog-benefits > span { grid-template-columns: 27px 1fr; gap: 1px 6px; }
  .ahp-blog-benefits .ahp-icon { width: 25px; height: 25px; border-radius: 7px; }
  .ahp-blog-benefits .ahp-icon svg { width: 17px; height: 17px; }
  .ahp-blog-benefits b { font-size: 11px; }
  .ahp-blog-benefits small { font-size: 8px; line-height: 1.25; }
  .ahp-blog-page .ahp-blog-featured { display: grid; grid-template-columns: .92fr 1.08fr; gap: 12px; padding: 8px; margin-bottom: 14px; }
  .ahp-blog-page .ahp-blog-featured-image { display: block; min-height: 0; }
  .ahp-blog-page .ahp-blog-featured-image img { height: 100%; min-height: 150px; max-height: 190px; object-fit: cover; }
  .ahp-blog-page .ahp-blog-featured-body { justify-content: center; padding: 4px 5px; }
  .ahp-blog-page .ahp-blog-featured-badge { position: absolute; top: 0; right: 5px; padding: 6px 8px; font-size: 9px; }
  .ahp-blog-page .ahp-blog-featured-body > .ahp-blog-label { max-width: calc(100% - 115px); padding: 3px 8px; font-size: 9px; }
  .ahp-blog-page .ahp-blog-featured-body h2 { margin: 8px 0; font-size: 17px; line-height: 1.15; }
  .ahp-blog-page .ahp-blog-featured-body p { -webkit-line-clamp: 3; margin-bottom: 8px; font-size: 11px; line-height: 1.42; }
  .ahp-blog-page .ahp-blog-read { font-size: 11px; }
  .ahp-blog-page .ahp-blog-topic-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; margin-bottom: 15px; }
  .ahp-blog-page .ahp-blog-topic { gap: 7px; padding: 12px; min-height: 46px; border-radius: 8px; }
  .ahp-blog-page .ahp-blog-topic .ahp-icon { width: 19px; height: 19px; }
  .ahp-blog-page .ahp-blog-topic .ahp-icon svg { width: 16px; height: 16px; }
  .ahp-blog-page .ahp-blog-topic strong { font-size: 10px; }
  .ahp-blog-page .ahp-blog-topic b { font-size: 17px; }
  .ahp-blog-page .ahp-blog-heading { flex-direction: row; align-items: end; margin-bottom: 12px; gap: 12px; }
  .ahp-blog-page .ahp-blog-heading h2 { font-size: 23px; }
  .ahp-blog-page .ahp-blog-heading p { font-size: 11px; line-height: 1.35; }
  .ahp-blog-page .ahp-blog-all { flex: 0 0 auto; font-size: 11px; }
  .ahp-blog-page .ahp-blog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .ahp-blog-page .ahp-blog-image { aspect-ratio: 1.42; }
  .ahp-blog-page .ahp-blog-card { border-radius: 9px; }
  .ahp-blog-page .ahp-blog-card-body { padding: 5px 10px 12px; }
  .ahp-blog-page .ahp-blog-card-body > .ahp-blog-label { margin-top: -16px; padding: 2px 8px; border-width: 1px; font-size: 9px; line-height: 15px; }
  .ahp-blog-page .ahp-blog-card-body h3 { margin: 7px 0 6px; font-size: 13px; line-height: 1.24; }
  .ahp-blog-page .ahp-blog-card-body p { -webkit-line-clamp: 4; min-height: 0; margin-bottom: 6px; font-size: 10px; line-height: 1.42; }
  .ahp-blog-page .ahp-blog-card-body .ahp-blog-read { padding-top: 8px; }
  body.ahp-global-shell .ahp-cta { padding: 20px 0; }
  body.ahp-global-shell .ahp-cta .ahp-wrap { flex-direction: row; align-items: center; gap: 12px; }
  body.ahp-global-shell .ahp-cta h2 { font-size: 16px; }
  body.ahp-global-shell .ahp-cta p { font-size: 9px; }
  body.ahp-global-shell .ahp-cta .ahp-wrap > div:last-child { flex-direction: row; align-items: center; gap: 12px; }
  body.ahp-global-shell .ahp-cta .ahp-button-light { padding: 9px 11px; font-size: 10px; white-space: nowrap; }
  body.ahp-global-shell .ahp-cta .ahp-wrap > div:last-child > a:last-child { font-size: 10px; white-space: nowrap; }
  body.ahp-global-shell .ahp-footer-grid { grid-template-columns: 1.25fr 1fr; gap: 20px 28px; }
  body.ahp-global-shell .ahp-footer-grid > div { border: 0; padding: 0 !important; }
  body.ahp-global-shell .ahp-footer-grid > div:last-child { grid-column: 1 / -1; }
  body.ahp-global-shell .ahp-footer-grid > div > h3 { font-size: 11px; }
  body.ahp-global-shell .ahp-footer-grid > div > a,
  body.ahp-global-shell .ahp-footer-grid > div > span { font-size: 10px; line-height: 1.65; }
  body.ahp-global-shell .ahp-payment-brands { flex-wrap: wrap; gap: 4px; }
  body.ahp-global-shell .ahp-footer-bottom { font-size: 10px; }
}

/* Catégories d’articles : contenu uniquement, menu et footer conservés. */
.ahp-category-mobile-copy { display:none; }
/* Mobile-only refinement: desktop rules remain unchanged. */
@media (max-width:767px) {
 body.ahp-article-category-page .ahp-category-page .ahp-category-hero { grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:8px; padding:18px 12px; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-eyebrow { font-size:10px; letter-spacing:.06em; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-hero h1 { font-size:clamp(19px,3.5vw,27px); line-height:1.16; margin:9px 0; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-hero p { font-size:13px; line-height:1.4; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-desktop-copy { display:none; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-mobile-copy { display:block; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-hero-art { align-self:center; min-width:0; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-hero-art img { width:100%; height:auto; object-fit:contain; border-radius:0; mix-blend-mode:multiply; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-filters { display:grid; grid-template-columns:.7fr 1.1fr 1.1fr 1.1fr; gap:5px; width:100%; overflow:visible; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-filters a { padding:10px 2px; font-size:clamp(10px,2.9vw,14px); font-weight:500; background:#eaf4ff; border-color:transparent; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-filters a.active { background:#0866ff; color:white; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-sort { min-width:0; min-height:44px; margin:12px 0; padding:4px 12px; gap:5px; font-size:13px; border-color:#c6d3e2; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-sort select { display:block; appearance:auto; flex:1; width:auto; min-width:0; height:34px; padding:0 4px; margin:0; border:0; box-shadow:none; font:inherit; font-weight:600; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-grid { gap:12px; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-card { grid-template-columns:minmax(0,34%) minmax(0,1fr); height:auto; min-height:145px; box-shadow:none; border-radius:8px; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-image { position:relative; height:auto; min-height:145px; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-image img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-card-body { padding:10px; gap:6px; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-card-body h3 { margin:0; font-size:14px; line-height:1.22; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-card-body p { margin:0; font-size:12px; line-height:1.4; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-card-body .ahp-blog-read { padding-top:4px; font-size:13px; line-height:1.3; }
 body.ahp-article-category-page .ahp-category-page .ahp-article-label { padding:3px 9px; font-size:10px; line-height:1.3; }
}
.ahp-category-hero-art picture { display:contents; }
body.ahp-article-category-page .ahp-category-page { max-width:1440px; margin:0 auto; padding:0 20px 70px; color:#0f172a; background:#f4faff; }
body.ahp-article-category-page .ahp-category-page, body.ahp-article-category-page .ahp-category-page * { box-sizing:border-box; }
body.ahp-article-category-page .ahp-category-page a { transition:color .2s ease, background .2s ease, transform .2s ease; }
body.ahp-article-category-page .ahp-category-breadcrumb { margin:0 -20px; padding:22px 20px 16px; color:#64748b; font-size:13px; }
body.ahp-article-category-page .ahp-category-breadcrumb a { color:#31557d; text-decoration:none; }
body.ahp-article-category-page .ahp-category-breadcrumb span { margin:0 8px; }
body.ahp-article-category-page .ahp-category-hero { display:grid; grid-template-columns:1.1fr .9fr; align-items:center; min-height:230px; padding:30px 40px; border-radius:14px; background:#e5f3ff; overflow:hidden; }
.ahp-category-eyebrow { color:#1769ff; font-size:12px; font-weight:800; letter-spacing:.12em; }
.ahp-category-hero h1 { margin:12px 0 10px; color:#0d1b36; font-size:clamp(30px,4vw,48px); line-height:1.08; }
.ahp-category-hero p { margin:0; color:#365271; font-size:20px; line-height:1.45; }
.ahp-category-hero-art { align-self:stretch; display:flex; align-items:center; justify-content:flex-end; }
.ahp-category-hero-art img { display:block; width:100%; max-width:470px; height:200px; object-fit:cover; border-radius:10px; }
.ahp-category-listing { max-width:1300px; margin:36px auto 0; }
.ahp-category-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; }
.ahp-category-heading h2 { margin:0 0 8px; font-size:32px; }
.ahp-category-heading p { max-width:720px; margin:0; color:#64748b; font-size:16px; line-height:1.5; }
.ahp-category-sort { display:flex; align-items:center; gap:8px; flex:none; min-width:190px; padding:10px 12px; border:1px solid #dbe4f0; border-radius:8px; background:#fff; color:#475569; font-size:14px; white-space:nowrap; }
.ahp-category-sort select { border:0; background:transparent; color:#0f172a; font-weight:700; }
.ahp-category-filters { display:flex; gap:10px; margin:22px 0; overflow-x:auto; }
.ahp-category-filters a { flex:0 0 auto; padding:10px 18px; border:1px solid #dbe4f0; border-radius:999px; background:#fff; color:#243650; font-size:14px; font-weight:700; text-decoration:none; }
.ahp-category-filters a.active { border-color:#1769ff; background:#1769ff; color:#fff; }
.ahp-category-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.ahp-category-card { display:grid; grid-template-columns:minmax(160px,.8fr) minmax(0,1.2fr); min-width:0; min-height:178px; overflow:hidden; border:1px solid #e1eaf3; border-radius:12px; background:#fff; box-shadow:0 8px 24px rgba(15,48,85,.06); }
.ahp-category-image { display:block; height:100%; min-height:178px; overflow:hidden; background:#fff; }
.ahp-category-image img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.ahp-category-card-body { display:flex; min-width:0; min-height:0; flex-direction:column; align-items:flex-start; padding:12px 18px; overflow:visible; }
.ahp-category-card-body h3 { margin:7px 0 5px; font-size:16px; line-height:1.15; }
.ahp-category-card-body h3 a { color:#0d1b36; text-decoration:none; }
.ahp-category-card-body p { margin:0 0 10px; color:#64748b; font-size:12px; line-height:1.35; }
.ahp-category-card-body .ahp-blog-read { margin-top:auto; color:#1769ff; font-weight:700; text-decoration:none; }
.ahp-category-pagination { display:flex; justify-content:center; gap:8px; margin-top:28px; }
.ahp-category-pagination a,.ahp-category-pagination span { display:grid; min-width:36px; height:36px; place-items:center; border:1px solid #dbe4f0; border-radius:8px; background:#fff; color:#1769ff; text-decoration:none; }
.ahp-category-pagination .current { background:#1769ff; color:#fff; }
@media(max-width:767px) {
 body.ahp-article-category-page .ahp-category-page { padding:0 14px 42px; }
 body.ahp-article-category-page .ahp-category-breadcrumb { margin:0 -14px; padding:17px 14px 12px; font-size:11px; }
 body.ahp-article-category-page .ahp-category-hero { grid-template-columns:minmax(0,1.12fr) minmax(118px,.88fr); min-height:0; padding:22px 14px; gap:10px; }
 body.ahp-article-category-page .ahp-category-hero h1 { font-size:25px; line-height:1.08; }
 body.ahp-article-category-page .ahp-category-hero p { font-size:14px; line-height:1.35; }
 body.ahp-article-category-page .ahp-category-hero-art { justify-content:center; }
 body.ahp-article-category-page .ahp-category-hero-art img { height:120px; max-width:100%; object-fit:cover; }
 body.ahp-article-category-page .ahp-category-listing { margin-top:26px; }
 body.ahp-article-category-page .ahp-category-listing { display:flex; flex-direction:column; }
 body.ahp-article-category-page .ahp-category-heading { display:contents; }
 body.ahp-article-category-page .ahp-category-heading > div { display:contents; }
 body.ahp-article-category-page .ahp-category-heading h2 { order:1; }
 body.ahp-article-category-page .ahp-category-heading p { order:2; }
 body.ahp-article-category-page .ahp-category-heading h2 { font-size:26px; }
 body.ahp-article-category-page .ahp-category-heading p { font-size:14px; }
 body.ahp-article-category-page .ahp-category-sort { order:4; width:100%; margin:16px 0 0; justify-content:flex-start; gap:14px; box-sizing:border-box; }
 body.ahp-article-category-page .ahp-category-sort select { flex:1; min-width:0; }
 body.ahp-article-category-page .ahp-category-filters { order:3; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:16px 0 0; overflow:visible; }
 body.ahp-article-category-page .ahp-category-filters a { min-width:0; padding:10px 8px; text-align:center; white-space:nowrap; }
 body.ahp-article-category-page .ahp-category-grid { order:5; grid-template-columns:1fr; gap:16px; }
 body.ahp-article-category-page .ahp-category-pagination { order:6; }
 body.ahp-article-category-page .ahp-category-card { grid-template-columns:minmax(112px,.78fr) minmax(0,1.22fr); }
 body.ahp-article-category-page .ahp-category-card { min-height:170px; height:auto; }
 body.ahp-article-category-page .ahp-category-image { height:170px; min-height:170px; }
 body.ahp-article-category-page .ahp-category-card-body { padding:14px; }
 body.ahp-article-category-page .ahp-category-card-body h3 { font-size:18px; }
 body.ahp-article-category-page .ahp-category-card-body p { font-size:13px; line-height:1.45; }
}
/* Les téléphones étroits gardent la même composition compacte à deux colonnes.
 * Cela évite le retour automatique aux grandes cartes verticales. */
@media(max-width:480px) {
  body.ahp-global-shell .ahp-nav nav { display: flex; justify-content: flex-start; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; overscroll-behavior-inline: contain; padding: 8px 2px 5px; -webkit-overflow-scrolling: touch; }
  body.ahp-global-shell .ahp-nav nav a { display: block; flex: 0 0 auto; padding: 2px 0; scroll-snap-align: start; font-size: 12px; line-height: 1.2; white-space: nowrap; letter-spacing: 0; }
  .ahp-blog-page .ahp-blog-hero { grid-template-columns: 1.06fr .94fr; gap: 11px; padding-bottom: 16px; }
  .ahp-blog-page .ahp-blog-hero-copy h1 { font-size: 22px; letter-spacing: -.02em; }
  .ahp-blog-page .ahp-blog-hero-copy h2 { font-size: 13px; }
  .ahp-blog-page .ahp-blog-benefits { gap: 6px; }
  .ahp-blog-page .ahp-blog-benefits > span { grid-template-columns: 23px 1fr; }
  .ahp-blog-benefits .ahp-icon { width: 22px; height: 22px; }
  .ahp-blog-benefits .ahp-icon svg { width: 15px; height: 15px; }
  .ahp-blog-benefits b { font-size: 9px; }
  .ahp-blog-benefits small { font-size: 7px; }
  .ahp-blog-page .ahp-blog-featured { grid-template-columns: .76fr 1.24fr; gap: 9px; padding: 7px; }
  .ahp-blog-page .ahp-blog-featured-image img { min-height: 170px; max-height: 180px; }
  .ahp-blog-page .ahp-blog-featured-body { padding: 27px 3px 3px; }
  .ahp-blog-page .ahp-blog-featured-badge { top: 2px; right: 2px; padding: 5px 6px; border-radius: 6px; font-size: 7px; white-space: nowrap; }
  .ahp-blog-page .ahp-blog-featured-body > .ahp-blog-label { max-width: 100%; padding: 2px 6px; font-size: 8px; line-height: 13px; }
  .ahp-blog-page .ahp-blog-featured-body h2 { margin: 6px 0; font-size: 15px; line-height: 1.14; }
  .ahp-blog-page .ahp-blog-featured-body p { -webkit-line-clamp: 3; margin-bottom: 6px; font-size: 9px; line-height: 1.35; }
  .ahp-blog-page .ahp-blog-read { font-size: 9px; }
  .ahp-blog-page .ahp-blog-heading h2 { font-size: 21px; }
  .ahp-blog-page .ahp-blog-heading p,
  .ahp-blog-page .ahp-blog-all { font-size: 9px; }
  body.ahp-global-shell .ahp-cta h2 { font-size: 14px; line-height: 1.25; }
  body.ahp-global-shell .ahp-cta p { font-size: 8px; }
  body.ahp-global-shell .ahp-cta .ahp-wrap > div:last-child { gap: 8px; }
  body.ahp-global-shell .ahp-cta .ahp-button-light,
  body.ahp-global-shell .ahp-cta .ahp-wrap > div:last-child > a:last-child { font-size: 8px; }
  body.ahp-global-shell .ahp-footer { padding: 32px 0 14px; overflow: hidden; }
  body.ahp-global-shell .ahp-footer .ahp-wrap { width: min(100% - 28px, 1280px); }
  body.ahp-global-shell .ahp-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 25px 18px; }
  body.ahp-global-shell .ahp-footer-grid > div { min-width: 0; }
  body.ahp-global-shell .ahp-footer-grid > div:last-child { grid-column: 1 / -1; padding-top: 2px !important; }
  body.ahp-global-shell .ahp-footer-logo { margin-bottom: 10px; }
  body.ahp-global-shell .ahp-official-logo-footer { width: 142px !important; max-height: 38px !important; margin-bottom: 0; }
  body.ahp-global-shell .ahp-footer-grid > div:first-child p { margin: 0 0 13px; font-size: 11px; line-height: 1.48; }
  body.ahp-global-shell .ahp-footer-grid > div > h3 { margin: 0 0 9px; font-size: 11px; line-height: 1.25; }
  body.ahp-global-shell .ahp-footer-grid > div > a,
  body.ahp-global-shell .ahp-footer-grid > div > span { font-size: 10px; line-height: 1.72; }
  body.ahp-global-shell .ahp-footer .ahp-social { gap: 9px; }
  body.ahp-global-shell .ahp-payment-brands { gap: 5px; margin-top: 8px; }
  body.ahp-global-shell .ahp-payment-brands > span { min-width: 28px; padding: 0 4px; font-size: 8px; }
  body.ahp-global-shell .ahp-footer-bottom { gap: 6px; padding-top: 14px; font-size: 9px; line-height: 1.35; white-space: normal; }
  .ahp-blog-page .ahp-blog-card-body h3 { font-size: 13px; letter-spacing: -.015em; }
  .ahp-blog-page .ahp-blog-card-body p { font-size: 10px; }
}

/* Page article : lecture claire, sommaire latéral et recommandations. */
body.ahp-article-page .ahp-article-shell { max-width: 1280px; margin: 0 auto; padding: 0 20px 70px; color: #0f172a; }
body.ahp-article-page .ahp-article-breadcrumb { margin: 0 -20px; padding: 24px 20px 16px; background: #eff8ff; color: #64748b; font-size: 13px; }
body.ahp-article-page .ahp-article-breadcrumb a { color: #31557d; text-decoration: none; }
body.ahp-article-page .ahp-article-breadcrumb span { margin: 0 8px; }
.ahp-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; max-width: 1180px; margin: 0 auto; }
.ahp-article-main { min-width: 0; padding-top: 30px; }
.ahp-article-label { display: inline-flex; align-items: center; width: fit-content; padding: 6px 12px; border-radius: 999px; background: #e5f0ff; color: #2563eb; font-size: 13px; font-weight: 700; line-height: 1; }
.ahp-article-main h1 { margin: 14px 0 14px; color: #0f172a; font-size: 48px; line-height: 1.08; letter-spacing: -.035em; }
.ahp-article-intro { margin: 0; color: #475569; font-size: 20px; line-height: 1.55; }
.ahp-article-meta { margin: 18px 0; color: #64748b; font-size: 13px; }
.ahp-article-cover { margin: 24px 0; overflow: hidden; border-radius: 14px; background: #e8f3ff; }
.ahp-article-cover img { display: block; width: 100%; height: auto; }
.ahp-article-cover-placeholder { display: grid; min-height: 300px; place-items: center; color: #2563eb; font-size: 54px; }
.ahp-article-toc { padding: 22px; border: 1px solid #dbe4f0; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(15, 48, 85, .06); }
.ahp-article-toc h2 { margin: 0 0 12px; color: #0f172a; font-size: 21px; }
.ahp-article-toc ol { margin: 0; padding-left: 22px; }
.ahp-article-toc li { padding: 4px 0; color: #475569; }
.ahp-article-toc a { color: #2563eb; text-decoration: none; }
.ahp-article-toc-mobile { display: none; }
.ahp-article-sidebar { padding-top: 38px; }
.ahp-article-sidebar .ahp-article-toc { position: static; top: auto; }
.ahp-article-help { margin-top: 18px; padding: 22px; border: 1px solid #dbe4f0; border-radius: 12px; background: #f8fbff; }
.ahp-article-help h2 { margin: 0 0 8px; font-size: 21px; }
.ahp-article-help p { margin: 0 0 16px; color: #64748b; font-size: 14px; line-height: 1.5; }
.ahp-article-content { color: #334155; font-size: 17px; line-height: 1.75; }
.ahp-article-content h2 { margin: 42px 0 12px; color: #0f172a; font-size: 30px; line-height: 1.2; }
.ahp-article-content h3 { margin: 30px 0 10px; color: #0f172a; font-size: 23px; }
.ahp-article-content a { color: #2563eb; }
.ahp-article-advice { margin-top: 28px; padding: 20px 22px; border-left: 4px solid #2563eb; border-radius: 10px; background: #e8f3ff; }
.ahp-article-advice strong { color: #0f172a; font-size: 18px; }
.ahp-article-advice p { margin: 5px 0 0; color: #475569; }
.ahp-related { max-width: 1180px; margin: 58px auto 0; }
.ahp-related-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ahp-related-heading h2 { margin: 0; font-size: 30px; }
.ahp-related-heading a { color: #2563eb; font-weight: 700; text-decoration: none; }
.ahp-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ahp-related-card { overflow: hidden; border: 1px solid #e1eaf3; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(15, 48, 85, .06); }
.ahp-related-image { display: block; aspect-ratio: 1.65; overflow: hidden; background: #e8f3ff; }
.ahp-related-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ahp-related-body { padding: 16px; }
.ahp-related-body h3 { margin: 10px 0 8px; font-size: 20px; line-height: 1.2; }
.ahp-related-body h3 a { color: #0f172a; text-decoration: none; }
.ahp-related-body p { margin: 0 0 16px; color: #64748b; font-size: 14px; line-height: 1.5; }
@media(max-width:1050px) {
  .ahp-article-layout { grid-template-columns: minmax(0, 1fr); }
  .ahp-article-sidebar { padding-top: 0; }
  .ahp-article-sidebar .ahp-article-toc { display: none; }
}
@media(max-width:480px) {
  body.ahp-article-page .ahp-article-shell { padding: 0 14px 42px; }
  body.ahp-article-page .ahp-article-breadcrumb { margin: 0 -14px; padding: 17px 14px 12px; font-size: 11px; }
  body.ahp-article-page .ahp-article-main { padding-top: 22px; }
  body.ahp-article-page .ahp-article-main h1 { font-size: 30px; line-height: 1.1; }
  body.ahp-article-page .ahp-article-intro { font-size: 15px; }
  body.ahp-article-page .ahp-article-meta { font-size: 11px; line-height: 1.5; }
  body.ahp-article-page .ahp-article-cover { margin: 18px 0; border-radius: 10px; }
  body.ahp-article-page .ahp-article-toc-mobile { display: block; margin: 18px 0; }
  body.ahp-article-page .ahp-article-toc { padding: 16px; }
  body.ahp-article-page .ahp-article-toc h2 { font-size: 18px; }
  body.ahp-article-page .ahp-article-content { font-size: 15px; line-height: 1.65; }
  body.ahp-article-page .ahp-article-content h2 { margin-top: 30px; font-size: 24px; }
  body.ahp-article-page .ahp-article-content h3 { font-size: 20px; }
  body.ahp-article-page .ahp-related { margin-top: 40px; }
  body.ahp-article-page .ahp-related-heading { display: block; }
  body.ahp-article-page .ahp-related-heading h2 { margin-bottom: 8px; font-size: 24px; }
  body.ahp-article-page .ahp-related-grid { grid-template-columns: 1fr; }
}
@media(min-width:1200px) {
  body.ahp-global-shell .ahp-footer-grid { grid-template-columns: 1.2fr .9fr .95fr .95fr minmax(278px, 1.6fr); }
  body.ahp-global-shell .ahp-footer-grid > div:last-child { min-width: 278px; }
  body.ahp-global-shell .ahp-payment-brands { width: 100%; max-width: 100%; }
}
@media(min-width:768px) {
  body.ahp-global-shell .ahp-payment-brands { display: flex !important; flex-wrap: nowrap !important; gap: 4px !important; width: auto; max-width: none; margin-left: 0 !important; overflow: visible !important; white-space: nowrap; }
  body.ahp-global-shell .ahp-payment-brands > span { box-sizing: border-box; flex: 0 0 auto !important; height: 32px !important; min-width: 0 !important; padding: 0 5px !important; overflow: visible !important; font-size: 11px !important; }
  body.ahp-global-shell .ahp-payment-brands .ahp-brand-visa { width: 42px; min-width: 42px !important; font-size: 15px !important; }
  body.ahp-global-shell .ahp-payment-brands .ahp-brand-mastercard { width: 36px; min-width: 36px !important; }
  body.ahp-global-shell .ahp-payment-brands .ahp-brand-mastercard i { width: 18px; height: 18px; }
  body.ahp-global-shell .ahp-payment-brands .ahp-brand-paypal { width: 48px; min-width: 48px !important; font-size: 11px !important; }
  body.ahp-global-shell .ahp-payment-brands .ahp-brand-crypto { width: 45px; min-width: 45px !important; }
  body.ahp-global-shell .ahp-payment-brands .ahp-brand-binance { width: 52px; min-width: 52px !important; }
  body.ahp-global-shell .ahp-payment-brands .ahp-brand-cb { width: 28px; min-width: 28px !important; }
}
@media(min-width:1200px) {
  body.ahp-global-shell .ahp-footer-grid:has(> div:nth-child(4):last-child) { grid-template-columns: 1.25fr .9fr .95fr minmax(320px,1.75fr); }
  body.ahp-global-shell .ahp-footer-grid:has(> div:nth-child(5)) { grid-template-columns: 1.1fr .82fr .86fr .9fr minmax(320px,1.7fr); }
  body.ahp-global-shell .ahp-footer-grid > div:last-child { min-width: 320px; }
}
/* Accueil et pages internes : évite que la bande assistance écrase son titre sur téléphone. */
@media(max-width:480px) {
  body.ahp-global-shell .ahp-cta { padding: 24px 0; }
  body.ahp-global-shell .ahp-cta .ahp-wrap { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  body.ahp-global-shell .ahp-cta h2 { max-width: 310px; margin: 0 0 5px; font-size: 20px; line-height: 1.18; }
  body.ahp-global-shell .ahp-cta p { max-width: 310px; font-size: 11px; line-height: 1.45; }
  body.ahp-global-shell .ahp-cta .ahp-wrap > div:last-child { display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
  body.ahp-global-shell .ahp-cta .ahp-button-light { padding: 11px 14px; font-size: 11px; }
  body.ahp-global-shell .ahp-cta .ahp-wrap > div:last-child > a:last-child { font-size: 11px; }
  body.ahp-global-shell .ahp-footer-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-flow: row; gap: 26px 20px; }
  body.ahp-global-shell .ahp-footer-grid > div { display: block; min-width: 0; }
  body.ahp-global-shell .ahp-footer-grid > div:first-child { grid-column: auto; }
  body.ahp-global-shell .ahp-footer-grid > div:last-child { grid-column: 1 / -1; }
}

/* Article 1.111 : composants isolés du thème, sans éléments sticky. */
body.ahp-article-page .ahp-article-shell { background: linear-gradient(135deg,#f4faff,#edf6ff); box-sizing:border-box; width:100%; }
body.ahp-article-page .ahp-article-layout { grid-template-columns:minmax(0,2.07fr) minmax(260px,1fr); gap:28px; align-items:start; }
body.ahp-article-page .ahp-article-main { padding-top:24px; }
body.ahp-article-page .ahp-article-main h1 { font-size:clamp(30px,3vw,44px); }
body.ahp-article-page .ahp-article-sidebar { display:block; position:static!important; align-self:start; padding-top:24px; height:auto!important; transform:none!important; }
body.ahp-article-page .ahp-article-toc { position:static!important; height:auto!important; min-height:0; transform:none!important; box-sizing:border-box; padding:22px; box-shadow:none; font-size:15px; line-height:1.5; }
body.ahp-article-page .ahp-article-toc h2, body.ahp-article-page .ahp-article-help h2 { display:flex; align-items:center; gap:12px; margin:0 0 18px; font-size:24px; }
body.ahp-article-page .ahp-article-toc ol { list-style:none; padding:0; margin:0; counter-reset:toc; }
body.ahp-article-page .ahp-article-toc li { counter-increment:toc; display:flex; align-items:flex-start; gap:12px; margin:0; padding:8px 0; }
body.ahp-article-page .ahp-article-toc li::before { content:counter(toc); display:grid; place-items:center; flex:0 0 30px; height:30px; border-radius:50%; color:#0560eb; background:#e7f2ff; font-weight:700; }
body.ahp-article-page .ahp-article-toc a { display:block; padding-top:4px; color:#243650; text-decoration:none; overflow-wrap:anywhere; }
body.ahp-article-page .ahp-article-toc-inline { display:block; margin:20px 0 32px; background:#e1f1ff; border:0; }
body.ahp-article-page .ahp-article-toc-inline li::before { background:#0560eb; color:white; }
body.ahp-article-page .ahp-article-toc-inline a { color:#0560eb; text-decoration:underline; }
body.ahp-article-page .ahp-article-help { display:block; position:static; padding:22px; background:#fff; height:auto; box-shadow:none; }
body.ahp-article-page .ahp-article-help p { font-size:16px; line-height:1.6; }
body.ahp-article-page .ahp-article-support { display:flex; justify-content:center; align-items:center; min-height:48px; padding:10px 14px; border-radius:7px; background:#0560eb; color:#fff; font-size:15px; font-weight:700; text-decoration:none; text-align:center; box-sizing:border-box; }
body.ahp-article-page .ahp-article-meta { display:flex; align-items:center; gap:14px; }
body.ahp-article-page .ahp-article-meta img { width:48px; height:48px; border-radius:50%; object-fit:cover; flex:none; }
body.ahp-article-page .ahp-article-meta small { display:block; margin-top:4px; font-size:13px; }
body.ahp-article-page .ahp-article-content { counter-reset:sections; overflow-wrap:anywhere; }
body.ahp-article-page .ahp-article-content h2 { counter-increment:sections; display:flex; align-items:baseline; gap:14px; scroll-margin-top:130px; }
body.ahp-article-page .ahp-article-content h2::before { content:counter(sections); display:inline-grid; place-items:center; flex:0 0 34px; height:34px; border-radius:50%; background:#0560eb; color:white; font-size:18px; }
body.ahp-article-page .ahp-article-content img, body.ahp-article-page .ahp-article-content iframe { max-width:100%; }
body.ahp-article-page .ahp-article-advice { display:flex; gap:16px; background:#deefff; border:0; }
body.ahp-article-page .ahp-article-advice strong { color:#0560eb; }
body.ahp-article-page .ahp-article-shell .ahp-icon { display:inline-flex; flex:0 0 26px; width:26px; height:26px; color:#0560eb; }
body.ahp-article-page .ahp-article-shell .ahp-icon svg { width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:1.7; }
body.ahp-article-page .ahp-related-card { padding:12px; box-shadow:none; }
body.ahp-article-page .ahp-related-image { aspect-ratio:3.2; border-radius:5px; }
body.ahp-article-page .ahp-related-body { padding:12px 2px 2px; }
body.ahp-article-page .ahp-related-body h3 { font-size:18px; }
body.ahp-article-page .ahp-related-time { display:block; color:#64748b; font-size:13px; margin-top:10px; }
.ahp-category-windows-brand { display:none; }
/* Category desktop composition; mobile rules and the global shell are unchanged. */
@media(min-width:768px) {
 body.ahp-article-category-page .ahp-category-page { max-width:1340px; padding:0 20px 30px; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-hero { grid-template-columns:1.35fr 1fr; min-height:155px; padding:18px 40px; gap:20px; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-hero h1 { font-size:36px; line-height:1.15; margin:10px 0 6px; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-hero p { font-size:18px; line-height:1.4; margin:0; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-hero-art { display:flex; align-items:center; min-width:0; gap:12px; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-hero-art picture { display:block; flex:1; min-width:0; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-hero-art img { width:100%; height:140px; object-fit:contain; border-radius:0; mix-blend-mode:multiply; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-windows-brand { display:block; flex:0 0 145px; color:#0066ff; }
 .ahp-category-windows-brand strong { display:flex; align-items:center; gap:9px; font-size:23px; font-weight:500; }
 .ahp-category-windows-brand svg { width:34px; height:34px; flex:none; }
 .ahp-category-windows-brand small { display:block; margin-top:12px; font-size:12px; line-height:1.4; color:#365476; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-listing { display:grid; grid-template-columns:1fr auto; gap:12px; max-width:none; margin:24px 0 0; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-heading { display:contents; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-heading > div { grid-column:1 / -1; grid-row:1; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-heading h2 { font-size:28px; margin:0 0 5px; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-heading p { font-size:14px; max-width:none; margin:0; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-filters { grid-column:1; grid-row:2; margin:0; gap:9px; align-self:center; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-filters a { padding:7px 17px; font-size:13px; font-weight:500; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-sort { grid-column:2; grid-row:2; min-width:0; margin:0; padding:5px 10px; font-size:12px; align-self:center; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-sort select { appearance:auto; min-width:0; width:auto; padding:3px; font-size:12px; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-grid { grid-column:1 / -1; grid-row:3; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-card { grid-template-columns:41% minmax(0,1fr); gap:16px; padding:11px; min-height:166px; height:auto; border-radius:9px; box-shadow:none; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-image { position:relative; min-height:145px; height:auto; border-radius:6px; overflow:hidden; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-image img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-card-body { padding:0; gap:6px; overflow:visible; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-card h3 { font-size:16px; line-height:1.22; margin:0; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-card p { font-size:14px; line-height:1.35; margin:0; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-card .ahp-article-label { background:#0066ff; color:white; font-size:12px; padding:3px 12px; align-self:flex-start; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-card .ahp-blog-read { font-size:14px; font-weight:500; margin-top:auto; padding-top:2px; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-pagination { grid-column:1 / -1; grid-row:4; margin:0; }
}
@media(min-width:768px) and (max-width:1023px) {
 body.ahp-article-category-page .ahp-category-page .ahp-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body.ahp-article-category-page .ahp-category-page .ahp-category-hero { padding:18px 24px; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-hero h1 { font-size:28px; }
 body.ahp-article-category-page .ahp-category-page .ahp-category-windows-brand { display:none; }
}
body.ahp-article-page .ahp-article-shell a:focus-visible { outline:3px solid #ff8c00; outline-offset:3px; }
@media(max-width:1050px) {
 body.ahp-article-page .ahp-article-layout { grid-template-columns:1fr; }
 body.ahp-article-page .ahp-article-sidebar { padding-top:0; }
}
@media(max-width:767px) {
 body.ahp-article-page .ahp-related-grid { grid-template-columns:1fr; }
 body.ahp-article-page .ahp-article-intro { font-size:16px; }
 body.ahp-article-page .ahp-article-toc, body.ahp-article-page .ahp-article-help { padding:18px; }
 body.ahp-article-page .ahp-article-content h2 { font-size:23px; }
 body.ahp-article-page .ahp-related-heading { flex-wrap:wrap; }
}
