/* wp-content/plugins/ceca-widgets/widgets/intro-band/intro-band.css */
/* Intro Band (Figma 214:1972): full-bleed 300px band, 30/40 bold text on
   the grid (max 746), green + purple brand octagons overlapping the
   right edge — purple flush to the top and bleeding right, green sitting
   in front of it lower down. */

.ceca-ib {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: 300px;
	margin-inline: calc(50% - 50vw);
	padding: 40px max(var(--ceca-gutter, 72px), calc(50vw - var(--ceca-site-width, 1440px) / 2 + var(--ceca-gutter, 72px)));
	background: #5fafc4;
}

.ceca-ib__inner {
	position: relative;
	z-index: 1;
}

.ceca-ib .ceca-ib__text {
	margin: 0;
	max-width: 746px;
	font-size: 30px;
	line-height: 40px;
	font-weight: 700;
	color: #000;
}

/* Octagons pinned to the virtual 1440 canvas like the banner shapes. */
.ceca-ib__shapes {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.ceca-ib__shape {
	position: absolute;
	display: block;
}

.ceca-ib__shape svg {
	display: block;
	width: 100%;
	height: 100%;
}

.ceca-ib__shape--2 {
	top: -40px;
	right: calc(50vw - min(50vw, var(--ceca-site-width, 1440px) / 2) - 60px);
	width: 340px;
	height: 317px;
	color: #7e7bb0;
	transform: rotate(14deg);
}

.ceca-ib__shape--1 {
	top: 90px;
	right: calc(50vw - min(50vw, var(--ceca-site-width, 1440px) / 2) + 242px);
	width: 260px;
	height: 243px;
	color: #8cc078;
	transform: rotate(-8deg);
}

@media (max-width: 1024px) {
	.ceca-ib__shapes {
		display: none;
	}

	.ceca-ib .ceca-ib__text {
		font-size: 24px;
		line-height: 33px;
	}
}

/* Mobile (Figma 2372:11309, 440 frame): a 530px band, text 30/40 from
   30px down, the two octagons back at the bottom right — green in front,
   purple bleeding off the right edge (user, 2026-10-02). */
@media (max-width: 767px) {
	.ceca-ib {
		align-items: flex-start;
		min-height: 530px;
		padding: 30px var(--ceca-gutter, 20px);
	}

	.ceca-ib .ceca-ib__text {
		font-size: 30px;
		line-height: 40px;
	}

	.ceca-ib__shapes {
		display: block;
	}

	.ceca-ib__shape--2 {
		top: auto;
		bottom: -60px;
		right: -230px;
		width: 340px;
		height: 317px;
	}

	.ceca-ib__shape--1 {
		top: auto;
		bottom: 4px;
		right: 95px;
		width: 190px;
		height: 177px;
	}
}
