/**
 * Boksiowo Portal Engine PRO — public (frontend) styles.
 * Base reset shared by every future module; kept intentionally minimal
 * so it never conflicts with the active theme's design.
 */

.bpe-frontend {
	box-sizing: border-box;
}

.bpe-frontend img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/**
 * Pet Help affiliate ad card — a "custom" bpe_ad post (Reklamy →
 * Pet Help), rendered by the Ad Manager module in the "homepage_top"
 * zone. Scoped under its own class rather than reusing .bpe-frontend
 * since the ad card isn't nested inside the header/mega-menu markup
 * that class belongs to.
 */
.bpe-pethelp-ad {
	box-sizing: border-box;
	/* Matches .bpe-hb-section__inner's own max-width (homepage.css) so
	   the card fills the same column other homepage blocks use, instead
	   of floating as a narrower box inside it. */
	width: 100%;
	margin: 2rem auto;
	padding: 1.5rem;
	background: #f7f9fc;
	border: 1px solid #dde3ee;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.bpe-pethelp-ad *,
.bpe-pethelp-ad *::before,
.bpe-pethelp-ad *::after {
	box-sizing: border-box;
}

.bpe-pethelp-ad__image-link {
	display: block;
}

.bpe-pethelp-ad__image-link img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.bpe-pethelp-ad__body {
	margin-top: 1.25rem;
}

.bpe-pethelp-ad__heading {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
	line-height: 1.3;
}

.bpe-pethelp-ad__intro {
	margin: 0 0 1rem;
	color: #3c4557;
	line-height: 1.55;
}

.bpe-pethelp-ad__subheading {
	margin: 0 0 0.5rem;
	font-weight: 600;
}

.bpe-pethelp-ad__list {
	margin: 0 0 1.25rem;
	padding-left: 1.25rem;
	color: #3c4557;
	line-height: 1.6;
}

.bpe-pethelp-ad__cta-lead {
	margin: 0 0 0.75rem;
	font-weight: 600;
}

.bpe-pethelp-ad__cta {
	display: inline-block;
	width: 100%;
	max-width: 100%;
	text-align: center;
	padding: 0.85rem 1.5rem;
	background: #2f6feb;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border-radius: 8px;
	transition: background-color 0.15s ease;
}

.bpe-pethelp-ad__cta:hover,
.bpe-pethelp-ad__cta:focus {
	background: #2456bd;
	color: #fff;
}

@media (max-width: 480px) {
	.bpe-pethelp-ad {
		padding: 1rem;
		margin: 1.5rem auto;
	}
}
