/*
Theme Name: Reddy Anna Child
Theme URI: http://localhost/reddyanna/
Description: Child theme for Reddy Anna. Put your custom CSS here and custom PHP in functions.php — parent theme updates will not overwrite them.
Author: Reddy Anna
Template: reddyanna
Version: 1.0.0
Text Domain: reddyanna-child
*/

/* Custom overrides go below. Example:
.hero__title { letter-spacing: .02em; }
*/

/* Trust card: "Years of Experience" is longer than the old label - keep it inside the circle. */
.trust-visual__txt {
	max-width: 160px;
	font-size: .72rem;
	letter-spacing: .14em;
	line-height: 1.5;
	text-align: center;
}

/* ── Content section: 30 / 70 image split ─────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════════════════════

/* ═══════════════════════════════════════════════════════════════════════════
   Content section: sticky image (35%) + scrolling text (65%)
   Image is cropped to consistent 4:5 so both sections look identical
   ═══════════════════════════════════════════════════════════════════════════ */

/* Mobile: stack */
.content-split {
	display: grid;
	gap: 32px;
	align-items: start;
}

/* Desktop: 35 / 65 columns */
@media (min-width: 900px) {
	.section.section--content {
		overflow: visible; /* allow sticky to work */
	}
	.content-split {
		grid-template-columns: 35fr 65fr;
		gap: 60px;
		align-items: start;
	}
	/* Sticky image – stays in view while content scrolls */
	.content-split__media {
		position: sticky;
		top: 108px;              /* below fixed header */
		align-self: start;
	}
	/* Image on right */
	.content--img-right .content-split {
		grid-template-columns: 65fr 35fr;
	}
	.content--img-right .content-split__media {
		order: 2;
	}
	.content--img-right .content-split__body {
		order: 1;
	}
}

/* Image – show full image, no crop */
.content-split__img {
	width: 100%;
	display: block;
	border-radius: var(--radius-lg, 12px);
	height: auto;
}

/* ── Typography – both sections identical ─────────────────────────────────── */
.content--split .content-split__body h2 {
	font-size: clamp(1.3rem, 2.4vw, 1.75rem);
	line-height: 1.2;
	margin: 0 0 .5em;
}
.content--split .content-split__body h3 {
	font-size: clamp(1rem, 1.5vw, 1.15rem);
	line-height: 1.25;
	margin: 1em 0 .35em;
}
.content--split .content-split__body h4 {
	font-size: .95rem;
	line-height: 1.25;
	margin: .85em 0 .3em;
}
.content--split .content-split__body p {
	font-size: .9rem;
	line-height: 1.65;
	margin: 0 0 .7em;
}
.content--split .content-split__body ul,
.content--split .content-split__body ol {
	font-size: .9rem;
	line-height: 1.65;
	padding-left: 1.3em;
	margin: 0 0 .7em;
}
.content--split .content-split__body li {
	margin-bottom: .35em;
}
