/* ==========================================================================
   Podcast · Bosques de México  (plantilla podcast-bosques.php)
   Estilos aislados: todo cuelga de .pb para no afectar los estilos globales.
   ========================================================================== */

.pb {
	--pb-green-light: #e7f6dc;
	--pb-green: #8fad33;
	--pb-black: #000;
	--pb-white: #fff;
	--pb-text: #1a1a1a;
	--pb-radius: 14px;
	--pb-max: 1250px;
	--pb-gutter: clamp(16px, 5vw, 72px);

	font-family: "roboto", sans-serif;
	font-weight: 400;
	font-style: normal;
	color: var(--pb-text);
	overflow-x: hidden;
	margin: 0;
	padding: 0;
}
.pb *, .pb *::before, .pb *::after { box-sizing: border-box; }
.pb h1, .pb h2, .pb h3, .pb p {
	font-family: "roboto", sans-serif;
	margin: 0;
	padding: 0;
	letter-spacing: normal;
	text-transform: none;
	text-align: left;
}
.pb h1, .pb h2, .pb h3 { font-weight: 700; line-height: 1.1; }
.pb p { font-size: 15px; line-height: 1.5; }
.pb a { text-decoration: none; }
.pb em, .pb i { font-style: italic; }

.pb-wrap {
	max-width: calc(var(--pb-max) + var(--pb-gutter) * 2);
	margin: 0 auto;
	padding-left: var(--pb-gutter);
	padding-right: var(--pb-gutter);
}

/* ---------- Hero ---------- */
.pb-hero {
	position: relative;
	background-color: #1f2a17;
	background-size: cover;
	background-position: center;
	color: var(--pb-white);
	padding: 40px 0 80px;
}
.pb-hero__brand { margin-bottom: 60px; }
.pb-hero__brand img {
	display: block;
	width: 280px;
	max-width: 60%;
	height: auto;
}
.pb-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
}
.pb-hero > * { position: relative; }
.pb-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6%;
	align-items: center;
}
.pb .pb-hero__title {
	color: var(--pb-white);
	font-size: clamp(32px, 3.3vw, 48px);
}
.pb .pb-hero__title span {
	display: block;
	font-weight: 500;
	font-size: .7em;
	margin-top: 6px;
}
.pb .pb-hero__intro {
	color: var(--pb-white);
	font-weight: 700;
	font-size: 15px;
	max-width: 520px;
	margin: 50px 0 45px;
}
.pb-hero__pill {
	position: absolute;
	top: 32px;
	right: 0;
	/* alineado verticalmente con el logo */
	background: var(--pb-white);
	color: var(--pb-black);
	border-radius: 40px 0 0 40px;
	padding: 12px 92px 12px 56px;
	text-align: right;
	line-height: 1.3;
	z-index: 2;
}
.pb-hero__pill strong { display: block; font-weight: 700; font-size: 14px; }
.pb-hero__pill span { display: block; font-size: 12px; }

/* Compartir */
.pb-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pb-share__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: "roboto", sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: var(--pb-black);
	background: var(--pb-white);
	border: 0;
	border-radius: 4px;
	padding: 8px 20px;
	cursor: pointer;
	margin-right: 4px;
}
.pb-share__btn svg { width: 16px; height: 16px; fill: currentColor; }
.pb-share__btn.is-copied::after { content: "¡Enlace copiado!"; margin-left: 4px; font-weight: 400; }
.pb-share__icon {
	border: 0;
	padding: 0;
	cursor: pointer;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--pb-white);
	color: var(--pb-black);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform .2s;
}
.pb-share__icon:hover { transform: scale(1.08); }
.pb-share__icon svg { width: 20px; height: 20px; fill: currentColor; }

/* Video */
.pb-video {
	position: relative;
	display: block;
	aspect-ratio: 16 / 8.5;
	border-radius: var(--pb-radius);
	overflow: hidden;
	background-color: #2d3a22;
	background-size: cover;
	background-position: center;
}
.pb-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 88px;
	height: 88px;
	margin: -44px 0 0 -44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .45);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition: transform .2s, background .2s;
}
.pb-video__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -17px 0 0 -10px;
	border-style: solid;
	border-width: 17px 0 17px 30px;
	border-color: transparent transparent transparent #333;
}
.pb-video:hover .pb-video__play { transform: scale(1.06); background: rgba(255, 255, 255, .65); }
.pb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Banda "La riqueza forestal de México" (encima del borde del hero) ---------- */
.pb-banner {
	position: relative;
	z-index: 2;
	max-width: calc(1020px + var(--pb-gutter) * 2);
	margin-top: -40px;
}
.pb .pb-banner__title {
	background: var(--pb-green);
	color: var(--pb-white);
	border-radius: 40px;
	padding: 18px 32px;
	text-align: center;
	font-size: clamp(24px, 2.5vw, 36px);
	font-weight: 500;
	line-height: 1.2;
}

/* ---------- Datos ---------- */
.pb-facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	max-width: calc(1040px + var(--pb-gutter) * 2);
	margin-top: 45px;
	margin-bottom: 70px;
}
.pb-fact {
	display: flex;
	align-items: center;
	gap: 36px;
	background: var(--pb-green-light);
	border-radius: var(--pb-radius);
	padding: 30px 36px;
}
.pb-fact__icon {
	flex: 0 0 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--pb-white);
	display: flex;
	align-items: center;
	justify-content: center;
}
.pb-fact__icon svg {
	width: 44px;
	height: 44px;
	fill: none;
	stroke: var(--pb-black);
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.pb .pb-fact h3 { font-size: 15px; margin-bottom: 14px; color: var(--pb-black); }
.pb .pb-fact p { font-size: 13.5px; }

/* ---------- ¿Por qué son importantes? ---------- */
.pb-why {
	display: grid;
	grid-template-columns: 51% 1fr;
	gap: 24px;
	min-height: 330px;
}
.pb-why__text {
	background: var(--pb-green);
	color: var(--pb-white);
	border-radius: 0 var(--pb-radius) var(--pb-radius) 0;
	display: flex;
	align-items: center;
	padding: 60px 6% 60px max(var(--pb-gutter), calc((100vw - var(--pb-max)) / 2));
}
.pb-why__inner { max-width: 520px; }
.pb .pb-why h2 { color: var(--pb-white); font-size: clamp(28px, 2.5vw, 36px); font-weight: 500; margin-bottom: 22px; }
.pb .pb-why p { color: var(--pb-white); font-size: 13.5px; }
.pb-why__img {
	background-color: #4b6b2a;
	background-size: cover;
	background-position: center;
	border-radius: var(--pb-radius) 0 0 var(--pb-radius);
	min-height: 330px;
}

/* ---------- Cuando desaparecen ---------- */
.pb-gone {
	position: relative;
	margin-top: 70px;
	padding: 80px 0 140px;
	background-color: #1c2a1c;
	background-size: cover;
	background-position: center;
}
.pb-gone::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.pb-gone > * { position: relative; }
.pb .pb-gone h2 {
	color: var(--pb-white);
	text-align: center;
	font-size: clamp(28px, 2.5vw, 36px);
	font-weight: 500;
	margin-bottom: 70px;
}
.pb-gone__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(24px, 5vw, 66px);
}
.pb-gone__card {
	display: flex;
	align-items: center;
	min-height: 126px;
	border-radius: var(--pb-radius);
	overflow: hidden;
	background: linear-gradient(90deg, rgba(220, 220, 220, .95), rgba(190, 190, 190, .9));
}
.pb-gone__img {
	flex: 0 0 35%;
	align-self: stretch;
	background-color: #9a9a9a;
	background-size: cover;
	background-position: center;
}
.pb .pb-gone__card p { font-size: 13.5px; padding: 16px 24px 16px 28px; color: var(--pb-black); }

/* ---------- Ixtlán ---------- */
.pb-story {
	display: grid;
	grid-template-columns: 39% 1fr;
	gap: 24px;
	margin-top: 70px;
}
.pb-story__title {
	background: var(--pb-black);
	border-radius: var(--pb-radius);
	padding: 50px 64px;
	display: flex;
	align-items: center;
	min-height: 218px;
}
.pb .pb-story__title h2 { color: var(--pb-white); font-size: clamp(28px, 2.5vw, 36px); line-height: 1.05; }
.pb-story__text {
	background: var(--pb-green-light);
	border-radius: var(--pb-radius);
	padding: 50px 13% 50px 76px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
}
.pb .pb-story__text p { font-size: 13.5px; }

/* ---------- Invitado ---------- */
.pb-guest { margin-top: 70px; margin-bottom: 80px; }
.pb-guest__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
}
.pb-guest__head {
	display: flex;
	align-items: flex-end;
	flex: 0 1 640px;
	margin-bottom: -18px;
	position: relative;
	z-index: 1;
}
.pb-guest__photo {
	width: 200px;
	height: auto;
	display: block;
	border-radius: var(--pb-radius) 0 0 var(--pb-radius);
	position: relative;
	z-index: 1;
}
.pb-guest__name {
	flex: 1;
	background: var(--pb-black);
	color: var(--pb-white);
	border-radius: 0 var(--pb-radius) var(--pb-radius) 0;
	padding: 24px 36px 24px 56px;
	margin-left: -20px;
	min-height: 136px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.pb-guest__name span { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.pb .pb-guest__name h2 { color: var(--pb-white); font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; }
.pb-guest__place {
	flex: 0 0 316px;
	height: 178px;
	align-self: flex-start;
	border-radius: var(--pb-radius);
	background-color: #5a6b55;
	background-size: cover;
	background-position: center;
	margin-bottom: 150px;
}
.pb-guest__bio {
	background: var(--pb-green-light);
	border-radius: var(--pb-radius);
	padding: 66px 76px 70px;
	min-height: 220px;
}
.pb .pb-guest__bio p { font-size: 13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.pb-hero__grid { grid-template-columns: 1fr; gap: 40px; }
	.pb-hero { padding-top: 40px; }
	.pb-hero__brand { margin-bottom: 48px; }
	.pb .pb-hero__intro { margin: 28px 0 30px; }
	.pb-facts { grid-template-columns: 1fr; }
	.pb-gone__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
	.pb-story { grid-template-columns: 1fr; }
	.pb-story__title { min-height: 0; }
	.pb-guest__place { display: none; }
}
@media (max-width: 768px) {
	.pb-hero__pill { top: 20px; padding: 10px 24px 10px 32px; }
	.pb-banner { margin-top: -28px; }
	.pb .pb-banner__title { padding: 14px 22px; border-radius: 28px; }
	.pb-hero__brand { margin-bottom: 40px; padding-top: 70px; }
	.pb-hero__brand img { width: 220px; max-width: 80%; }
	.pb-fact { gap: 20px; padding: 24px; }
	.pb-why { grid-template-columns: 1fr; }
	.pb-why__text { border-radius: 0; padding: 48px var(--pb-gutter); }
	.pb-why__inner { max-width: none; }
	.pb-why__img { border-radius: 0; min-height: 240px; }
	.pb-gone { padding: 56px 0 72px; }
	.pb .pb-gone h2 { margin-bottom: 36px; }
	.pb-story__title { padding: 36px 28px; }
	.pb-story__text { padding: 32px 28px; }
	.pb-guest__head { flex-direction: column; align-items: flex-start; margin-bottom: -10px; }
	.pb-guest__photo { width: 160px; border-radius: var(--pb-radius) var(--pb-radius) 0 0; }
	.pb-guest__name { margin-left: 0; width: 100%; border-radius: 0 var(--pb-radius) var(--pb-radius) var(--pb-radius); padding: 22px 28px; min-height: 0; }
	.pb-guest__bio { padding: 40px 28px; }
}
