/* Slide: renewals-2027 — scoped to .ihs-slide--renewals-2027. px only.

   "2027" numerals: Roboto Condensed Light, subset to digits, self-hosted in
   the plugin (free match for the design's Univers Condensed Light). Own
   family name so it can't clash with anything the site loads; preloaded on
   the front page via 'preload' in slides.php. Licence: assets/fonts/OFL.txt. */
@font-face {
	font-family: "IHS Roboto Condensed";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../../assets/fonts/ihs-roboto-condensed-300-digits.woff2") format("woff2");
	unicode-range: U+0030-0039;
}

/* Geometry
   - --ihs-renew-angle is THE diagonal: the navy panel edge, measured from the
     design (44.13° from vertical), then made more upright at Jason's request
     (38°). The edge, the streaks and VALUE's slanted side all use it, so they
     stay parallel at every viewport size.
   - The edge is anchored at the slide's vertical centre: --renew-edge-x is its
     horizontal offset from the slide centre there. Content is centred too, so
     the edge keeps the same relationship to the copy whatever the slide height.
   - The right panel (aside) is placed from the edge: for a ring gap g its
     centre = edge + (R + g) / cos(angle) − ring-y · tan(angle). Target gap
     80px (scaled, ≥40px), 60px right margin; see --renew-cx.
   - --renew-s scales the right panel and tier tags per breakpoint. */

.ihs-slide--renewals-2027 {
	--ihs-renew-angle: 38deg;
	/* Right-panel placement (centre --renew-cx, from the slide centre):
	   - target: the outer ring --renew-gap-target from the edge (80px at s = 1,
	     scaled with --renew-s, never below 40px);
	   - keep the group's widest line (the tagline) 60px inside the content
	     area's right edge;
	   - if both can't hold, split the difference; never past the content edge.
	   The edge stays at --renew-edge-pref unless that would leave the ring
	   closer than --renew-gap-min (40px); then the edge moves left instead. */
	--renew-edge-pref: 35px;
	--renew-gap-target: max(40px, calc(80px * var(--renew-s)));
	--renew-gap-min: 40px;
	--renew-margin-right: 60px;
	--renew-content-r: calc(min(50cqw, 800px) - 40px); /* content area's right edge */
	--renew-clear-target: calc((var(--renew-R) + var(--renew-gap-target)) / cos(var(--ihs-renew-angle)) - var(--renew-ring-y) * tan(var(--ihs-renew-angle)));
	--renew-clear-min: calc((var(--renew-R) + var(--renew-gap-min)) / cos(var(--ihs-renew-angle)) - var(--renew-ring-y) * tan(var(--ihs-renew-angle)));
	--renew-cx-gap: calc(var(--renew-edge-pref) + var(--renew-clear-target));
	--renew-cx-margin: calc(var(--renew-content-r) - var(--renew-margin-right) - var(--renew-half));
	--renew-edge-x: min(var(--renew-edge-pref), calc(var(--renew-cx) - var(--renew-clear-min)));
	--renew-s: 1;
	/* Ring centre, relative to the slide centre: set per tier so the
	   badge + tagline + buttons group is vertically centred
	   (ring-y = −(gap + tagline + gap + buttons) / 2). */
	--renew-ring-y: -60px;
	/* Badge 217px and outer ring 413px at s = 1 (255px / 485px, then −15% at
	   Jason's request; outer ring stays 1.89× the badge). */
	--renew-R: calc(206.4px * var(--renew-s));
	--renew-badge-w: calc(216.75px * var(--renew-s));
	--renew-gap: 22px;          /* badge → tagline → buttons */
	--renew-half: calc(230px * var(--renew-s)); /* half the tagline (the widest line), measured */
	--renew-aside-w: calc(520px * var(--renew-s));
	--renew-title-fs: clamp(30px, 2.8vw, 40px);
	--renew-tiers-w: calc(510px * var(--renew-s)); /* PREMIER's tip just meets the edge at 1440, as in the design */
	--renew-cx: min(
		var(--renew-cx-gap),
		calc((var(--renew-cx-gap) + var(--renew-cx-margin)) / 2),
		calc(var(--renew-content-r) - var(--renew-half))
	);
	--renew-navy: #0e3f6c;
	--renew-gold: 201, 162, 74;
	/* Left-panel radial, CSS only (replaces bg-radial-blue.webp). Fitted to
	   designs/renewals-2027-design.png's left panel as it sits in the slide box,
	   centre anchored to the artwork's #01a8f3: mean colour difference 1.6/255
	   over ~8,800 background samples. Radii and centre are % of the slide box,
	   so it holds at every size; stops past 100% reach the far corners. Eleven
	   close stops keep each step under one colour level (no banding). */
	container-type: inline-size; /* cqw = % of the slide width, for --renew-content-r */
	background-color: #0677c4;
	background-image: radial-gradient(ellipse 42% 130% at 48% 58%,
		#01a8f3 0%, #02a0eb 10%, #0399e4 20%, #0391dd 30%, #048ad6 40%,
		#0583cf 50%, #057dc9 60%, #0677c4 70%, #0771be 80%, #086bb8 90%,
		#0865b2 100%, #095fac 115%, #0958a5 135%);
	color: #ffffff;
}

/* ---------- Background: streaks parallel to the edge ---------- */

/* Lighter/darker bars recreated from the design's streak art, every one
   rotated by --ihs-renew-angle. Each is anchored to the content it sits beside
   in the design, in that content's own units, so it keeps its place at every
   breakpoint:
   - far band  → the heading (design px × title size / 48.6px, the design's
                 heading size), origin = heading's left edge at its baseline;
   - bar       → the tier-tag SVG (design px, the SVG's viewBox units);
   - near band → the navy panel edge (px).
   Values were measured from designs/renewals-2027-design.png (band edges at
   u = x + tan(angle)·y) and checked against bg-diagonal-shapes.webp. The far
   band and bar live inside .ihs-renew__main (z-index -1: behind the copy, above
   the background, under the navy panel); the near band is slide-level. */
span.ihs-renew__streak {
	--streak-len: 2400px;
	position: absolute;
	z-index: -1;
	display: block;
	width: var(--streak-w);
	height: var(--streak-len);
	margin-top: calc(var(--streak-len) / -2);
	margin-left: calc(var(--streak-w) / -2);
	transform: rotate(var(--ihs-renew-angle));
	filter: blur(1px);
	pointer-events: none;
}

/* Darker band through the "2027"/heading area: its left side passes 73
   design px (along the streak axis) left of the heading's start at the
   baseline, its right side 307 px right of it. Deepens toward the lower left. */
.ihs-renew__title-wrap {
	position: relative;
	display: block;
}

span.ihs-renew__streak--far {
	--streak-c: calc(var(--renew-title-fs) * 84 / 48.6);  /* band centre, perpendicular to it */
	--streak-w: calc(var(--renew-title-fs) * 273 / 48.6);
	left: calc(var(--streak-c) * cos(var(--ihs-renew-angle)));
	top: calc(var(--renew-title-fs) * 0.96 + var(--streak-c) * sin(var(--ihs-renew-angle)));
	background: linear-gradient(to bottom, rgba(0, 40, 120, 0.025) 30%, rgba(0, 40, 120, 0.07) 62%);
}

/* Lighter rounded bar: cap centred 528 units right of the SVG's left edge and
   31 units above its top (above PREMIER's left end), radius 112 units, running
   down-left off the slide. */
.ihs-renew__tiers-wrap {
	--renew-tu: calc(var(--renew-tiers-w) / 858); /* px per SVG unit */
	position: relative;
	display: block;
	flex: none;
	width: var(--renew-tiers-w);
	margin: 14px 0 0 -84px;
}

span.ihs-renew__streak--bar {
	--streak-w: calc(224 * var(--renew-tu));
	--streak-len: 1600px;
	--streak-back: calc(var(--streak-len) / 2 - 112 * var(--renew-tu)); /* cap → bar centre */
	left: calc(528 * var(--renew-tu) - var(--streak-back) * sin(var(--ihs-renew-angle)));
	top: calc(-31 * var(--renew-tu) + var(--streak-back) * cos(var(--ihs-renew-angle)));
	border-radius: calc(112 * var(--renew-tu));
	background: rgba(255, 255, 255, 0.03);
}

/* Faint darker band from the panel edge to 213px in from it. Origin of
   .ihs-renew__streaks is the slide centre, where the edge sits at
   --renew-edge-x. */
.ihs-renew__streaks {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

span.ihs-renew__streak--near {
	--streak-off: 107px;
	--streak-w: 213px;
	z-index: 0;
	left: calc(var(--renew-edge-x) - var(--streak-off) * cos(var(--ihs-renew-angle)));
	top: calc(0px - var(--streak-off) * sin(var(--ihs-renew-angle)));
	background: rgba(0, 40, 120, 0.035);
}

/* ---------- Navy panel: a fixed-angle edge ---------- */

/* linear-gradient angles are fixed regardless of box size, so a hard-stop
   mask draws the edge at exactly --ihs-renew-angle. 50% on the gradient line
   is the box centre; the edge offset along the gradient is edge-x · cos(angle). */
.ihs-renew__navy {
	--renew-mask-at: calc(50% + var(--renew-edge-x) * cos(var(--ihs-renew-angle)));
	position: absolute;
	inset: 0;
	z-index: 2;
	/* Glow behind the badge, part of the panel so the edge mask clips it as in
	   the design. Centred on the rings (same --renew-cx / --renew-ring-y that
	   place the aside); radius 2× the outer ring. Fall-off measured from the
	   design: #215175 at 0.6R → #1b4b72 at 1R → navy by 2R. */
	background:
		radial-gradient(circle calc(2 * var(--renew-R)) at calc(50% + var(--renew-cx)) calc(50% + var(--renew-ring-y)),
			rgba(52, 100, 128, 0.62) 0%, rgba(52, 100, 128, 0.5) 30%, rgba(52, 100, 128, 0.34) 50%,
			rgba(52, 100, 128, 0.16) 70%, rgba(52, 100, 128, 0.03) 90%, rgba(52, 100, 128, 0) 100%),
		linear-gradient(160deg, #14456f 0%, var(--renew-navy) 55%);
	-webkit-mask-image: linear-gradient(calc(var(--ihs-renew-angle) + 90deg), transparent calc(var(--renew-mask-at) - 0.75px), #000000 calc(var(--renew-mask-at) + 0.75px));
	mask-image: linear-gradient(calc(var(--ihs-renew-angle) + 90deg), transparent calc(var(--renew-mask-at) - 0.75px), #000000 calc(var(--renew-mask-at) + 0.75px));
	pointer-events: none;
}

/* ---------- Layout ---------- */

.ihs-renew__inner {
	z-index: auto; /* let main / navy / aside interleave */
	display: flex;
	align-items: center;
	align-self: stretch; /* full slide height: its centre is the slide centre */
	gap: 0;
	padding-block: 56px;
}

.ihs-renew__main {
	position: relative;
	z-index: 1; /* under the navy panel, so nothing spills across the edge */
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	min-width: 0;
	padding-left: 60px;
}

.ihs-renew__aside {
	position: absolute;
	z-index: 3;
	top: calc(50% + var(--renew-ring-y) - var(--renew-R));
	left: calc(50% + var(--renew-cx) - var(--renew-aside-w) / 2);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	box-sizing: border-box;
	width: var(--renew-aside-w);
}

/* ---------- Left panel ---------- */

/* Sized from the design: digit height = 4.46 × the heading's cap height, so
   it scales with --renew-title-fs (171px at 1440). Tracking pulls it toward
   the design's narrower Univers digits without the 2 and 7 touching. */
p.ihs-renew__year {
	/* Bottom margin brings the heading's cap top to 0.81 × cap height below
	   the numerals, as in the design. */
	/* Odometer roll delay: the one setting. Counted from when the slide becomes
	   active (on first load, from when the page has loaded and the slider is
	   visible), so it starts after the ≈1.4s entrance sequence. */
	--ihs-odo-delay: 2000ms;
	--ihs-odo-clip-top: 0.06em;    /* Roboto Condensed digits start 0.134em down; leaves room for the overshoot */
	--ihs-odo-clip-bottom: 0.12em; /* …and end 0.141em up, so nothing is clipped at rest */
	margin: -8px 0 calc(-10px - var(--renew-title-fs) * 0.24) -2px;
	font-family: "IHS Roboto Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
	font-size: calc(var(--renew-title-fs) * 4.275);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.045em;
	text-align: left;
	color: rgba(255, 255, 255, 0.7); /* every digit inherits it: "202", the rolling 6/7/8 */
}

h2.ihs-renew__title {
	margin: 10px 0 0;
	padding: 0;
	font-family: "Metropolis", "Montserrat", "Segoe UI", Arial, sans-serif;
	font-size: var(--renew-title-fs);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	color: #ffffff;
}

/* Green rule: starts left of the text and runs on under the navy panel, which
   clips it exactly at the edge. */
span.ihs-renew__rule {
	display: block;
	width: calc(100% + 900px);
	height: 4px;
	margin: 12px 0 0 -20px;
	background: #03c92b;
}

p.ihs-renew__body {
	max-width: clamp(380px, 37vw, 600px);
	margin: 22px 0 0;
	font-family: "Metropolis", "Montserrat", "Segoe UI", Arial, sans-serif;
	font-size: clamp(18px, 1.55vw, 22px);
	font-weight: 400;
	line-height: 1.38;
	text-align: left;
	color: #ffffff;
}

p.ihs-renew__help {
	margin: 14px 0 0;
	font-family: "Metropolis", "Montserrat", "Segoe UI", Arial, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
	color: #ffffff;
}

/* 44px tall tap area without moving the text: padding cancelled by equal
   negative margins. */
a.ihs-renew__mail {
	display: inline-block;
	padding: 15px 13px;
	margin: -15px -13px;
	color: #ffffff;
	text-decoration: none;
	text-underline-offset: 3px;
}

a.ihs-renew__mail:hover,
a.ihs-renew__mail:focus-visible {
	color: #ffffff;
	text-decoration: underline;
}

a.ihs-renew__mail:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: -11px; /* hugs the text, not the padded tap area */
}

p.ihs-renew__upgrade {
	margin: 36px 0 0 16px;
	font-family: "Roboto", "Segoe UI", Arial, sans-serif;
	font-size: clamp(22px, 2vw, 28px);
	font-weight: 700;
	line-height: 1.2;
	text-align: left;
	color: #ffffff;
}

/* ---------- Tier tags (one SVG) ---------- */

svg.ihs-renew__tiers {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	margin: 0;
	overflow: visible;
}

/* Design: Trebuchet MS Bold. Falls back to Roboto (loaded site-wide). */
text.ihs-renew__tier-label {
	font-family: "Trebuchet MS", "Roboto", sans-serif;
	font-weight: 700;
	fill: #ffffff;
}

/* ---------- Right panel ---------- */

.ihs-renew__badge-wrap {
	position: relative;
	display: grid;
	place-items: center;
	flex: none;
	width: calc(2 * var(--renew-R));
	height: calc(2 * var(--renew-R));
	gap: 0;
}

/* Rings: one group so they enter together. The glow behind them is part of
   the navy panel's background. */
.ihs-renew__rings {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

/* Three concentric rings, one stroke weight. Drawn as SVG circles with a
   non-scaling stroke: the weight is exactly 1.5px (the heaviest ring as first
   built) at every breakpoint and pixel density, and one opacity, while the
   diameters follow
   the wrapper (2 × --renew-R, set per breakpoint). Circle radii keep the
   original ring sizes: 100% / 80.7% / 65.5% of the wrapper. */
svg.ihs-renew__rings-svg {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

circle.ihs-renew__ring {
	fill: none;
	stroke: rgb(var(--renew-gold));
	stroke-width: 1.5px;
	vector-effect: non-scaling-stroke;
}

/* One opacity for all three, so they read as the same weight. 0.54 at 1.5px
   carries the same amount of gold as the design's (strongest) middle ring;
   0.75 measured ~40% heavier than the design. */
circle.ihs-renew__ring {
	stroke-opacity: 0.54;
}

.ihs-renew__badge-enter {
	position: relative;
	display: block;
}

/* Gold shimmer sweep on the rings (pattern: slider.css .ihs-shimmer). Each
   ring has its own speed and direction so the highlights never line up; they
   start once the rings' entrance (100ms + 700ms) has finished. */
path.ihs-renew__shimmer-arc {
	fill: none;
	stroke-width: 2px;
	stroke-opacity: var(--renew-shimmer-opacity, 0.6);
	stroke-linecap: butt;
	vector-effect: non-scaling-stroke;
}

g.ihs-renew__shimmer {
	--ihs-shimmer-start: 800ms;
}

g.ihs-renew__shimmer--outer {
	--ihs-shimmer-duration: 8s;
}

g.ihs-renew__shimmer--middle {
	--ihs-shimmer-duration: 11s;
	--ihs-shimmer-direction: reverse; /* counter-clockwise */
}

g.ihs-renew__shimmer--inner {
	--ihs-shimmer-duration: 14s;
}

img.ihs-renew__badge {
	display: block;
	width: var(--renew-badge-w);
	height: auto;
	max-width: none;
	margin: 0;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

p.ihs-renew__tagline {
	margin: calc(var(--renew-gap) * var(--renew-s)) 0 0;
	font-family: "Metropolis", "Montserrat", "Segoe UI", Arial, sans-serif;
	font-size: max(17px, calc(25.5px * var(--renew-s)));
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	color: #ffffff;
}

.ihs-renew__actions {
	display: flex;
	justify-content: center;
	gap: calc(15px * var(--renew-s));
	margin-top: calc(var(--renew-gap) * var(--renew-s));
}

a.ihs-renew__btn {
	width: max(150px, calc(190px * var(--renew-s)));
	height: max(44px, calc(44px * var(--renew-s))); /* never below a 44px tap target */
	padding: 0 14px;
	border-radius: 2px;
	font-size: max(15px, calc(17px * var(--renew-s)));
	font-weight: 700;
}

a.ihs-renew__cta-apply {
	background: #ffffff;
	color: #1e64f1;
}

a.ihs-renew__cta-apply:hover {
	background: #e8f0fe;
	color: #1e64f1;
}

a.ihs-renew__cta-learn {
	background: #1e64f1;
	color: #ffffff;
}

a.ihs-renew__cta-learn:hover {
	background: #1652cc;
	color: #ffffff;
}

/* ---------- Breakpoints ---------- */

/* 1280–1399px: the right panel stays at 0.9 (badge 230px, still well above the
   design's size). To keep the bigger rings clear of the edge, the edge moves
   left, the tier tags drop to 410px and the stack gaps tighten. (The slider
   height is width-based, so short windows need no tier of their own.) */
@media (max-width: 1399px) {
	.ihs-slide--renewals-2027 {
		--renew-s: 0.9;
		--renew-edge-pref: 15px;
		--renew-ring-y: -48px;
		--renew-tiers-w: 410px;
		--renew-gap: 16px;
	}

	/* The edge sits further left here, so the body copy wraps a little sooner. */
	p.ihs-renew__body {
		max-width: clamp(380px, 33vw, 600px);
	}
}

/* Smaller left-panel type from here down; the copy sits a little higher so the
   tier tags clear the edge. */
@media (max-width: 1279px) {
	.ihs-slide--renewals-2027 {
		--renew-s: 0.8;
		--renew-edge-pref: 45px;
		--renew-ring-y: -46px;
		--renew-tiers-w: calc(525px * var(--renew-s));
		--renew-title-fs: 28px;
	}

	.ihs-renew__main {
		padding-left: 12px;
		padding-bottom: 50px;
	}

	p.ihs-renew__body {
		max-width: min(400px, 46vw);
		margin-top: 18px;
		font-size: 17px;
	}

	p.ihs-renew__help {
		font-size: 14px;
	}

	p.ihs-renew__upgrade {
		margin-top: 26px;
		margin-left: 8px;
		font-size: 21px;
	}

	.ihs-renew__tiers-wrap {
		margin-left: -36px;
	}
}

/* 1024–1100px: last split layout. */
@media (max-width: 1100px) {
	.ihs-slide--renewals-2027 {
		--renew-s: 0.72;
		--renew-edge-pref: 50px;
		--renew-ring-y: -43px;
	}
}

/* ---------- Stacked (below 1024px) ----------
   The slider is 617–690px tall here (matching the live hero), too short for a
   split with the 24px ring clearance, so the panels stack: copy on the blue
   panel, then a compact navy band with the badge beside the tagline and the
   buttons. The 38° edge isn't used here (a shallow seam instead). */

@media (max-width: 1023px) {
	.ihs-slide--renewals-2027 {
		--renew-pad: 40px; /* .ihs-inner padding-inline at this size */
		--renew-title-fs: 24px;
		--renew-tiers-w: 380px;
		/* Column: the navy band grows to fill whatever height the slider gives
		   the slide (617px+, or more if another slide is taller), so it always
		   reaches the bottom and the dots sit on it. */
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.ihs-renew__navy,
	span.ihs-renew__streak--near {
		display: none;
	}

	.ihs-renew__inner {
		display: flex;
		flex: 1 0 auto;
		flex-direction: column;
		align-items: stretch; /* desktop centres; stacked, the navy band must span the full width */
		padding-block: 0;
	}

	.ihs-renew__main {
		flex: none;
		padding: 22px 0 14px;
	}

	p.ihs-renew__year {
		margin-left: -2px;
	}

	h2.ihs-renew__title {
		margin-top: 8px;
	}

	span.ihs-renew__rule {
		width: calc(100% + var(--renew-pad) + 20px);
		margin: 10px 0 0 -20px;
	}

	p.ihs-renew__body {
		max-width: 640px;
		margin-top: 12px;
		font-size: 16px;
		line-height: 1.35;
	}

	p.ihs-renew__help {
		margin-top: 8px;
		font-size: 14px;
	}

	p.ihs-renew__upgrade {
		margin: 14px 0 0;
		font-size: 20px;
	}

	.ihs-renew__tiers-wrap {
		margin: 8px 0 0 calc(-1 * var(--renew-pad));
	}

	/* Navy band: badge | tagline over buttons. */
	.ihs-renew__aside {
		position: relative;
		top: auto;
		left: auto;
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-areas:
			"badge tag"
			"badge act";
		align-items: center;
		align-content: center; /* group centred between the seam and the dots */
		justify-items: start;
		flex: 1 0 auto;
		column-gap: 24px;
		row-gap: 12px;
		width: auto;
		margin-inline: calc(-1 * var(--renew-pad));
		/* Bottom 92px clears the dots: bars at 60–75px, tap areas up to 89.5px. */
		padding: 36px var(--renew-pad) 92px;
		background:
			radial-gradient(ellipse 260px 220px at calc(var(--renew-pad) + 60px) 45%, rgba(40, 92, 140, 0.75) 0%, rgba(14, 63, 108, 0) 100%),
			var(--renew-navy);
		clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%);
	}

	.ihs-renew__badge-wrap {
		grid-area: badge;
		width: auto;
		height: auto;
	}

	.ihs-renew__rings {
		display: none;
	}

	img.ihs-renew__badge {
		width: 102px; /* 120px − 15% */
	}

	p.ihs-renew__tagline {
		grid-area: tag;
		align-self: end;
		max-width: none;
		margin: 0;
		font-size: 20px;
		text-align: left;
	}

	.ihs-renew__actions {
		grid-area: act;
		align-self: start;
		flex-direction: row;
		gap: 12px;
		margin: 0;
	}

	a.ihs-renew__btn {
		width: 180px;
		height: 44px;
		font-size: 17px;
	}
}

/* Phones (617px tall slider): tighter still. */
@media (max-width: 767px) {
	.ihs-slide--renewals-2027 {
		--renew-pad: 24px;
		--renew-title-fs: 22px;
		--renew-tiers-w: min(340px, calc(100vw - 24px));
	}

	.ihs-renew__main {
		padding: 14px 0 6px;
	}

	h2.ihs-renew__title {
		margin-top: 4px;
	}

	span.ihs-renew__rule {
		margin-top: 6px;
	}

	p.ihs-renew__body {
		margin-top: 10px;
		font-size: 15px;
		line-height: 1.3;
	}

	p.ihs-renew__help {
		margin-top: 6px;
		font-size: 14px; /* phones: nothing below 14px */
	}

	p.ihs-renew__upgrade {
		margin-top: 8px;
		font-size: 18px;
	}

	.ihs-renew__tiers-wrap {
		margin-top: 4px;
	}

	/* Badge | tagline, then the two buttons side by side across the band. */
	.ihs-renew__aside {
		grid-template-areas:
			"badge tag"
			"act act";
		column-gap: 16px;
		row-gap: 10px;
		padding: 28px var(--renew-pad) 92px;
		clip-path: polygon(0 16px, 100% 0, 100% 100%, 0 100%);
	}

	img.ihs-renew__badge {
		width: 71px; /* 84px − 15% */
	}

	p.ihs-renew__tagline {
		align-self: center;
		font-size: 17px;
	}

	.ihs-renew__actions {
		justify-self: stretch;
	}

	a.ihs-renew__btn {
		flex: 1 1 0;
		width: auto;
		padding: 0 8px;
		font-size: 16px;
	}
}
