/* wp-content/plugins/ceca-widgets/widgets/resource-panel/resource-panel.css */
/* Resource Panel (Figma 214:1972): 362px plum panel on the content grid —
   40/45 white heading, 18/29 copy (max 560), amber pill; on the right a
   fan of three tilted 200×240 publication cards, middle card raised and
   in front, outer cards rotated ±6°, the fan running past the panel's
   bottom edge and clipped by it. */

.ceca-rp {
	position: relative;
	min-height: 362px;
	padding: 60px 40px;
	background: #411024;
	/* The fan sits past the bottom edge; the panel masks it so the cards
	   read as tucked into the panel rather than hanging below it (user,
	   2026-09-28). */
	overflow: hidden;
}

.ceca-rp__content {
	position: relative;
	z-index: 1;
	max-width: 620px;
}

.ceca-rp .ceca-rp__heading {
	margin: 0 0 20px;
	font-size: 40px;
	line-height: 45px;
	font-weight: 700;
	color: #fff;
}

.ceca-rp .ceca-rp__text {
	margin: 0 0 30px;
	max-width: 560px;
	font-size: 18px;
	line-height: 29px;
	color: #fff;
}

.ceca-rp a.ceca-rp__button,
.ceca-rp a.ceca-rp__button:hover,
.ceca-rp a.ceca-rp__button:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 5px 26px;
	border-radius: 300px;
	background: #f0b43c;
	color: #000;
	font-size: 15px;
	line-height: 20px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.ceca-rp a.ceca-rp__button:hover,
.ceca-rp a.ceca-rp__button:focus {
	opacity: 0.85;
}

/* --- decorative publication fan ------------------------------------------ */

.ceca-rp__fan {
	position: absolute;
	right: 28px;
	bottom: -14px;
	width: 405px;
	height: 250px;
	pointer-events: none;
}

.ceca-rp__deco {
	position: absolute;
	bottom: 0;
	width: 200px;
	height: 240px;
	padding: 20px;
	border-radius: 10px;
	display: flex;
	align-items: flex-end;
	font-size: 20px;
	line-height: 26px;
	font-weight: 700;
}

.ceca-rp__deco:nth-child(1) {
	left: 0;
	bottom: 10px;
	transform: rotate(-6deg);
}

.ceca-rp__deco:nth-child(3) {
	right: 0;
	bottom: 10px;
	transform: rotate(6deg);
}

/* Middle card renders last in z but sits centred and raised. */
.ceca-rp__deco:nth-child(2) {
	left: 50%;
	bottom: 0;
	height: 275px;
	transform: translateX(-50%);
	z-index: 1;
}

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

/* Phones (Figma 2372:11309): 30px top, 20px sides. */
@media (max-width: 767px) {
	.ceca-rp {
		padding: 30px 20px 40px;
	}
}
