/* OSA Blog: cabecera de entradas con el estilo de las guías (.rq) */
.osa-ph {
	--ph-red: #dd3333;
	--ph-ink: #2f3135;
	--ph-text: #4a4a4a;
	--ph-muted: #7a7d82;
	--ph-line: #e4e2df;
	--ph-r: #ff3b4e;
	--ph-g: #39e27a;
	--ph-b: #3b7bff;
	background: #fff;
	padding: 2.6rem 0 0;
	color: var(--ph-text);
}
.osa-ph .osa-ph-col { padding-bottom: 0; }

/* Migas: Learn › Tutorials */
.osa-ph-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .15rem .5rem;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ph-muted);
	margin-bottom: 1rem;
}
.osa-ph-crumbs a { color: var(--ph-muted); text-decoration: none; }
.osa-ph-crumbs a:hover, .osa-ph-crumbs a:focus-visible { color: var(--ph-red); }
.osa-ph-sep { color: #b9bbbe; letter-spacing: 0; }
/* Marca neutra de OSA (las barras RGB son el logo de Phosphor y no van en todas las entradas) */
.osa-ph-bars {
	display: inline-block;
	width: 18px;
	height: 3px;
	margin-right: .2rem;
	border-radius: 2px;
	background: var(--ph-red);
}

/* Título */
.osa-ph .osa-ph-title {
	font-size: clamp(1.9rem, 4.6vw, 2.8rem);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: -.01em;
	color: var(--ph-ink);
	margin: 0 0 1.1rem;
	text-transform: none;
}

/* Autor · fecha · lectura */
.osa-ph-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4rem .75rem;
	font-size: .92rem;
	color: var(--ph-muted);
	padding-bottom: 1.6rem;
	border-bottom: 1px solid var(--ph-line);
}
.osa-ph-author { display: inline-flex; align-items: center; gap: .55rem; color: var(--ph-ink); font-weight: 700; text-decoration: none; }
.osa-ph-author:hover, .osa-ph-author:focus-visible { color: var(--ph-red); }
.osa-ph-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; margin: 0; }
.osa-ph-dot { width: 3px; height: 3px; border-radius: 50%; background: #b9bbbe; }

/* Imagen destacada: banner redondeado bajo el título, mismo ancho que la guía */
.osa-ph .osa-ph-img { margin-top: 1.6rem; margin-bottom: 0; }
.osa-ph-img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 21 / 9;
	max-height: 480px;
	object-fit: cover;
	object-position: center 40%;
	border-radius: 12px;
	border: 1px solid var(--ph-line);
	background: #f6f5f3;
}
.osa-ph-on .osa-ph:has(.osa-ph-img) .osa-ph-meta { border-bottom: 0; padding-bottom: 0; }

/* Contenido: menos aire arriba, la cabecera ya separa */
.osa-ph-on .blog-wrapper.blog-single { padding-top: 1.6rem; }
/* Sin barra lateral: cabecera y artículo ocupan el ancho del sitio (del logo al carrito) */
.osa-ph-on .blog-single .post-sidebar { display: none; }
/* La fila del artículo de Flatsome (row-large) es 30 px más ancha que la del sitio: igualarla */
.osa-ph-on .blog-single > .row { max-width: 1350px; margin-left: auto; margin-right: auto; }
.osa-ph-on .blog-single > .row > .col.large-9 {
	flex-basis: 100%;
	max-width: 100%;
	padding-left: 15px;
	padding-right: 15px;
	border-right: 0;
}
.osa-ph-on .blog-single > .row.row-divided > .col + .col:not(.large-12) { border-left: 0; }
.osa-ph-on .rq { max-width: none; }
.osa-ph-on .rq-sec > p { max-width: 78ch; }

/* Sin la tarjeta con sombra de Flatsome: página continua bajo la cabecera */
.osa-ph-on .blog-single .article-inner.has-shadow { box-shadow: none; padding-left: 0; padding-right: 0; }
.osa-ph-on .blog-single .article-inner.has-shadow .entry-content { padding-left: 0; padding-right: 0; }

/* Guías .rq: el eyebrow del hero repite las migas; el titular pasa a subtítulo */
.osa-ph-guide .rq-hero { padding-top: 0; }
.osa-ph-guide .rq-hero > .rq-eyebrow { display: none; }
.osa-ph-guide .rq .rq-hero .rq-title {
	font-size: clamp(1.25rem, 2.6vw, 1.5rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	color: var(--ph-ink, #2f3135);
	margin: 0 0 .6rem;
}

@media (max-width: 549px) {
	.osa-ph { padding-top: 1.6rem; }
	.osa-ph-meta { font-size: .86rem; gap: .35rem 1rem; }
	.osa-ph-dot { display: none; }
	.osa-ph-img { margin-top: 1.2rem; }
	.osa-ph-img img { border-radius: 8px; aspect-ratio: 16 / 9; }
}
