/* Hub casos de éxito · container 1200px */

.rw-ce {
	--ink: #0a1326;
	--paper: #f8f6f2;
	--acid: #ff7a1a;
	--muted: #5c6370;
	--line: rgba(10, 19, 38, 0.1);
	background: var(--paper);
	color: var(--ink);
	font-family: "Nunito Sans", sans-serif;
	padding-bottom: 64px;
}

.rw-ce-container {
	width: min(1200px, calc(100% - 40px));
	margin: 0 auto;
}

.rw-ce h2,
.rw-ce h3 {
	font-family: "Montserrat", sans-serif;
	letter-spacing: -0.03em;
}

.rw-ce-hero {
	padding: 48px 0 32px;
}

.rw-ce-hero__lead {
	max-width: 56ch;
	margin: 18px 0 0;
	font-size: 18px;
	line-height: 1.65;
	color: var(--muted);
}

.rw-ce-section-title {
	margin: 0 0 28px;
	font-size: clamp(22px, 2.5vw, 28px);
	font-weight: 800;
}

.rw-ce-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.rw-ce-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 14px 40px rgba(10, 19, 38, 0.06);
}

.rw-ce-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: #0e1933;
}

.rw-ce-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.rw-ce-card__sector {
	position: absolute;
	left: 14px;
	bottom: 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: var(--acid);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.rw-ce-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 22px 22px 26px;
	flex: 1;
}

.rw-ce-card__title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
}

.rw-ce-card__lead {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--muted);
}

.rw-ce-card__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.rw-ce-card__chips li {
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid var(--line);
	font-size: 13px;
	background: #faf9f7;
}

.rw-ce-card__chips strong {
	font-family: "Montserrat", sans-serif;
	color: var(--acid);
}

.rw-ce-card__btn {
	margin-top: auto;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 0 20px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--acid), #ffb400);
	color: #0a1326 !important;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.rw-ce-cta-strip {
	padding: 36px 0;
}

.rw-ce-cta-strip__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding: 22px 28px;
	border-radius: 16px;
	background: #0e1933;
	color: #e8edf7;
}

.rw-ce-cta-strip__inner p {
	margin: 0;
	font-size: 17px;
	max-width: 48ch;
}

.rw-ce-btn--primary {
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 0 22px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--acid), #ffb400);
	color: #0a1326 !important;
	font-family: "Montserrat", sans-serif;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none !important;
	text-transform: uppercase;
}

.rw-ce-faq {
	padding: 24px 0 40px;
}

.rw-ce-faq h2 {
	margin: 10px 0 20px;
	font-size: 24px;
}

.rw-ce-faq__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rw-ce-faq__item {
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	padding: 12px 16px;
}

.rw-ce-faq__item summary {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	cursor: pointer;
}

.rw-ce-faq__item p {
	margin: 10px 0 4px;
	color: var(--muted);
	line-height: 1.6;
}

.rw-ce-legacy {
	padding: 16px 0 8px;
	border-top: 1px solid var(--line);
}

.rw-ce-legacy.entry-content {
	font-size: 16px;
	line-height: 1.7;
}

.rw-ce-legacy.entry-content h2,
.rw-ce-legacy.entry-content h3 {
	margin-top: 1.6em;
}

@media (max-width: 900px) {
	.rw-ce-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.rw-ce-cta-strip__inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.rw-ce-btn--primary {
		justify-content: center;
		width: 100%;
	}
}
/* H1 del hub: titular real, no pill */
#rw-ce .rw-ce-hero { padding-top: 140px; }
#rw-ce .rw-ce-hero h1,
#rw-ce .rw-ce-hero h1.rw-kicker--pill {
	display: block;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(34px, 4.6vw, 60px);
	line-height: 1.04;
	letter-spacing: -0.04em;
	font-weight: 800;
	text-transform: none;
	color: #0b1220;
	max-width: 18ch;
	box-shadow: none;
}
#rw-ce .rw-ce-hero h1::before { content: none; }
@media (max-width: 768px) { #rw-ce .rw-ce-hero { padding-top: 110px; } }

/* CTAs iguales que los de la home (.rw-modern-btn--dark) */
#rw-ce .rw-ce-card__btn,
#rw-ce .rw-ce-btn--primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 999px;
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	background: linear-gradient(135deg, #ff7a1a 0%, #ffb400 100%);
	border: 1px solid transparent;
	color: #fff !important;
	box-shadow: 0 10px 26px rgba(255, 122, 26, 0.28);
	transition: 0.22s ease;
}
#rw-ce .rw-ce-card__btn:hover,
#rw-ce .rw-ce-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(255, 122, 26, 0.34);
}

/* FAQ igual que el resto de la web */
#rw-ce .rw-ce-faq { padding: 0; background: none; }
/* FAQ suffix (tarjetas) */
#rw-ce section.rw-ce-faq.rw-post-faq-suffix {
	max-width: 900px;
	margin: 0 auto;
	padding: 72px 24px 88px;
	display: block;
}
#rw-ce section.rw-ce-faq.rw-post-faq-suffix > * { margin-left: 0; margin-right: 0; }
#rw-ce section.rw-ce-faq.rw-post-faq-suffix h2 {
	grid-column: auto;
	font-family: "Montserrat", sans-serif;
	font-size: 20px;
	line-height: 1.3;
	letter-spacing: -0.02em;
	font-weight: 800;
	margin: 20px 0 0;
	padding: 28px 28px 8px;
	background: #fffdf8;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-bottom: 0;
	border-radius: 24px 24px 0 0;
	color: #0b1220;
	position: relative;
}
#rw-ce section.rw-ce-faq.rw-post-faq-suffix h2::before {
	content: "→";
	color: #ff7a1a;
	margin-right: 10px;
}
#rw-ce section.rw-ce-faq.rw-post-faq-suffix p {
	font-size: 16px;
	line-height: 1.6;
	color: #475569;
	padding: 0 28px 28px;
	background: #fffdf8;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-top: 0;
	border-radius: 0 0 24px 24px;
}
@media (max-width: 800px) {
	.rw-post-faq-suffix { padding: 48px 16px 64px; }
}

#rw-ce section.rw-ce-faq.rw-post-faq-suffix .rw-faq-head { text-align: center; margin: 0 0 24px; }
#rw-ce section.rw-ce-faq.rw-post-faq-suffix .rw-faq-kicker { display: block; font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: #ff7a1a; margin-bottom: 14px; }
#rw-ce section.rw-ce-faq.rw-post-faq-suffix h2.rw-faq-title { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; }
#rw-ce section.rw-ce-faq.rw-post-faq-suffix h2.rw-faq-title::before { content: none; }
#rw-ce section.rw-ce-faq.rw-post-faq-suffix .rw-faq-sub { background: none; border: 0; padding: 14px 0 0; margin: 0; font-size: 18px; color: #475569; }

/* Hero a todo el ancho del container */
#rw-ce .rw-ce-hero__lead,
#rw-ce .rw-ce-hero h1,
#rw-ce .rw-ce-hero h1.rw-kicker--pill { max-width: none; width: 100%; }
#rw-ce .rw-ce-hero__inner { max-width: none; }
