/**
 * Public Weekly Articles page (shortcode [helix_weekly_articles]).
 * Sits inside the theme's dark page card; matches the portal styling.
 */

.helix-wkpub { color: #dbe6ef; }

.helix-wkpub__intro {
	margin: 0 0 1.6rem;
	color: rgba(255, 255, 255, 0.72);
	font-size: 1rem;
	line-height: 1.65;
}

.helix-wkpub__back {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: 1.1rem;
	font-size: 0.8rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #35c7f0;
	text-decoration: none;
}

.helix-wkpub__back:hover { text-decoration: underline; }

.helix-wkpub__empty {
	padding: 1.4rem 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background: rgba(11, 17, 24, 0.85);
	color: rgba(255, 255, 255, 0.75);
}

.helix-wkpub__grid {
	display: grid;
	/* Two per row so the card image and text have room to breathe. */
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.4rem;
	margin: 0 0 1.6rem;
}

.helix-wkpub__card {
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(0, 200, 255, 0.16);
	border-radius: 14px;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(14, 23, 34, 0.92), rgba(5, 7, 10, 0.92));
}

.helix-wkpub__card-media { display: block; }

.helix-wkpub__card-media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
}

.helix-wkpub__card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 1rem 1.1rem 1.15rem;
}

.helix-wkpub__date {
	margin: 0 0 0.3rem;
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	color: #35c7f0;
}

.helix-wkpub__card-title {
	margin: 0 0 0.45rem;
	font-size: 1.05rem;
	line-height: 1.35;
}

.helix-wkpub__card-title a {
	color: #f5f7fa;
	text-decoration: none;
}

.helix-wkpub__card-title a:hover { color: #7adcff; }

.helix-wkpub__teaser {
	margin: 0 0 0.8rem;
	font-size: 0.85rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.68);
}

.helix-wkpub__read {
	margin-top: auto;
	align-self: flex-start;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #35c7f0;
	text-decoration: none;
}

.helix-wkpub__read:hover { text-decoration: underline; }

.helix-wkpub__pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.1rem;
	flex-wrap: wrap;
	margin-top: 0.4rem;
}

.helix-wkpub__pagination a {
	color: #35c7f0;
	text-decoration: none;
	font-size: 0.82rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.helix-wkpub__pagination a:hover { text-decoration: underline; }

.helix-wkpub__pagination .is-disabled {
	color: rgba(255, 255, 255, 0.28);
	font-size: 0.82rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.helix-wkpub__page-status {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.82rem;
}

/* Single article */

.helix-wkpub__article {
	border: 1px solid rgba(0, 200, 255, 0.16);
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(14, 23, 34, 0.92), rgba(5, 7, 10, 0.92));
	padding: 1.4rem 1.5rem 1.6rem;
}

.helix-wkpub__title {
	margin: 0 0 1rem;
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	line-height: 1.25;
	color: #f5f7fa;
}

.helix-wkpub__media { margin: 0 0 1.2rem; }

.helix-wkpub__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

.helix-wkpub__content {
	font-size: 0.98rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.82);
}

.helix-wkpub__content p { margin: 0 0 1rem; }

.helix-wkpub__content a {
	color: #35c7f0;
	word-break: break-word;
}

.helix-wkpub__content h2,
.helix-wkpub__content h3 {
	color: #f5f7fa;
	margin: 1.4rem 0 0.6rem;
}

.helix-wkpub__content ul,
.helix-wkpub__content ol {
	margin: 0 0 1rem 1.3rem;
}

.helix-wkpub__content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

@media (max-width: 560px) {
	.helix-wkpub__grid { grid-template-columns: 1fr; }
	.helix-wkpub__article { padding: 1.1rem 1rem 1.3rem; }
}
