/* Article template (boards M-Article-Science, M-Article-Tips, M-Article-Spec, Mob-M-Article).
   Markup: aip-core [aip_article_single] in templates/single-article.html and single.html.
   Type scale exactly as the handoff table; nothing else is styleable inside the body. */
.aip-art { max-width: 1100px; }
.aip-art-back { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #111; }
.aip-art-back:hover { text-decoration: underline; }
.aip-art-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 20px 0 14px; font-size: 12px; color: #444; }
.aip-art-chip { display: inline-block; border: 1px solid #DCE9FF; background: #DCE9FF; color: #2C4A66; border-radius: 2px; padding: 6px 14px; font-size: 13px; line-height: 1.4; }
.aip-art-cols { display: flex; gap: 44px; align-items: flex-start; margin-top: 8px; }
.aip-art-main { flex: 1; min-width: 0; max-width: 720px; }
.aip-art-side { width: 300px; flex: none; display: flex; flex-direction: column; gap: 12px; }

.aip-art-h1 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 40px; line-height: 1.15; letter-spacing: 0; color: #FFB59E; margin: 0 0 14px; overflow-wrap: break-word; }
.aip-art-lead { font-family: 'Montserrat', sans-serif; font-size: 19px; line-height: 1.6; color: #111; font-weight: 300; margin: 0 0 24px; }
.aip-art-hero { height: 380px; border-radius: 10px; overflow: hidden; background: #F1ECE6; margin: 0 0 30px; }
.aip-art-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

.aip-art-body { font-family: 'Montserrat', sans-serif; color: #222; overflow-wrap: break-word; }
.aip-art-body > * { margin-top: 0; }
.aip-art-body h2 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 26px; line-height: 1.25; letter-spacing: 0; color: #2C4A66; margin: 40px 0 12px; }
.aip-art-body h3 { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: 0; color: #111; margin: 26px 0 8px; }
.aip-art-body > h2:first-child, .aip-art-body > h3:first-child { margin-top: 0; }
.aip-art-body p { font-size: 16px; line-height: 1.75; color: #222; font-weight: 400; margin: 0 0 16px; }
.aip-art-body ul, .aip-art-body ol { margin: 0 0 18px; padding-left: 22px; font-size: 16px; line-height: 1.75; color: #222; }
.aip-art-body li { margin-bottom: 6px; }
.aip-art-body strong { font-weight: 600; color: #111; }
.aip-art-body a { text-decoration: underline; text-underline-offset: 2px; }

/* Key takeaway (block aip/key-takeaway): sky blue box, ink-blue text, caps label */
.aip-key { background: #DCE9FF; border-radius: 10px; padding: 22px 26px; margin: 28px 0; }
.aip-art-body .aip-key .aip-key__label { font-family: 'Outfit', sans-serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #2C4A66; margin: 0 0 8px; font-weight: 600; line-height: 1.4; }
.aip-key__text { font-family: 'Montserrat', sans-serif; font-size: 17px; line-height: 1.6; color: #2C4A66; font-weight: 500; }
.aip-key__text strong { color: #2C4A66; }

.aip-art-ref { border-top: 1px solid #E6E6E6; margin-top: 36px; padding-top: 16px; font-family: 'Montserrat', sans-serif; font-size: 12px; line-height: 1.7; color: #444; overflow-wrap: anywhere; }
.aip-art-ref b { display: block; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; color: #111; font-weight: 600; }
.aip-art-ref a { text-decoration: underline; }

.aip-art-relh { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #2C4A66; margin-bottom: 2px; }
.aip-art-rel { display: flex; gap: 12px; align-items: center; border: 1px solid #E6E6E6; border-radius: 10px; padding: 10px; background: #fff; }
.aip-art-rel:hover { border-color: #cfcfcf; }
.aip-art-rel-im { width: 84px; height: 62px; border-radius: 8px; overflow: hidden; background: #F1ECE6; flex: none; }
.aip-art-rel-im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aip-art-rel-t { font-size: 13px; line-height: 1.4; font-weight: 500; color: #111; }
.aip-art-rel-m { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #444; margin-top: 4px; }

/* Favourites button appended to the content by the favourites module */
.aip-art-body .aip-fav-wrap { margin: 28px 0 0; }
.aip-art-body .aip-fav-btn { display: inline-block; border: 1px solid #111; border-radius: 0; background: transparent; padding: 14px 30px; font: 500 11px/1.4 'Montserrat', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #111; cursor: pointer; }
.aip-art-body .aip-fav-btn:hover { background: #111; color: #fff; }

@media (max-width: 900px) {
	.aip-art-cols { flex-direction: column; gap: 32px; }
	.aip-art-side { width: auto; align-self: stretch; }
	.aip-art-main { max-width: 720px; width: 100%; }
}
@media (max-width: 600px) {
	.aip-art-h1 { font-size: 28px; }
	.aip-art-lead { font-size: 17px; }
	.aip-art-hero { height: 210px; margin-bottom: 22px; }
	.aip-art-body h2 { font-size: 22px; margin-top: 32px; }
	.aip-art-body h3 { font-size: 17px; }
	.aip-art-body p, .aip-art-body ul, .aip-art-body ol { font-size: 15px; }
	.aip-key { padding: 18px; }
	.aip-key__text { font-size: 15px; }
}
