[data-gp-social-only][hidden] { display: none !important; }
.featured-image.gp-featured-top { max-width: 100%; margin: 0 0 1.5em; }
.gp-featured-top > img, .gp-featured-top > a > img { display: block; max-width: 100%; height: auto; }
.menu-toggle.gp-menu-toggle {
	background: transparent !important;
	min-width: 44px;
	min-height: 44px;
	padding: 12px 14px;
	line-height: 1.4;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
}
.menu-toggle.gp-menu-toggle::before { display: none !important; content: none !important; }
.gp-menu-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.gp-menu-icon { display: inline-flex; width: 24px; height: 24px; vertical-align: middle; }
.gp-menu-icon svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; }
.gp-menu-icon-close, .gp-menu-toggle[aria-expanded="true"] .gp-menu-icon-open { display: none; }
.gp-menu-toggle[aria-expanded="true"] .gp-menu-icon-close { display: inline; }
.gp-menu-toggle .mobile-menu { padding-left: 8px; vertical-align: middle; }

/* Featured media reaches the article edges while text keeps its saved padding. */
.inside-article .gp-featured-top,
.inside-article .post-image,
.inside-article > .gp-ad-placement,
.inside-article .entry-content > .gp-ad-placement {
	box-sizing: border-box;
	width: calc(100% + var(--gp-media-inset, 40px) + var(--gp-media-inset, 40px)) !important;
	max-width: none !important;
	margin: 0 calc(0px - var(--gp-media-inset, 40px)) !important;
	padding: 0 !important;
	float: none !important;
}
.gp-featured-top > a, .post-image > a { display: block; width: 100%; }
.gp-featured-top > img, .gp-featured-top > a > img, .post-image > img, .post-image > a > img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
	border-radius: 0;
}

.gp-featured-top, .post-image { position: relative; overflow: hidden; }
.secretpress-featured-center-wrap {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transform: translate(-50%, -50%);
	pointer-events: none;
	max-width: calc(100% - 24px);
	text-align: center;
}
.secretpress-featured-center-text {
	display: inline-block;
	max-width: 100%;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(0,0,0,.42);
	color: #fff;
	font-size: var(--secretpress-center-text-size, 22px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: .01em;
	text-shadow: 0 2px 8px rgba(0,0,0,.35);
	box-shadow: 0 4px 16px rgba(0,0,0,.15);
	white-space: normal;
	word-break: break-word;
}
.secretpress-featured-center-icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: var(--secretpress-center-icon-size, 72px);
	height: var(--secretpress-center-icon-size, 72px);
	pointer-events: none;
	filter: drop-shadow(0 4px 12px rgba(0,0,0,.28));
}
.secretpress-featured-center-icon img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: contain !important;
	border: 0 !important;
	box-shadow: none !important;
}
.gp-image-link { position: relative; display: block; isolation: isolate; }
.gp-image-link-locked { cursor: wait; -webkit-touch-callout: none; }
.gp-image-link-locked img { -webkit-touch-callout: none; user-select: none; -webkit-user-drag: none; }
.gp-image-link-countdown {
	position: absolute;
	left: 50%;
	bottom: 18px;
	z-index: 4;
	transform: translateX(-50%);
	width: max-content;
	max-width: calc(100% - 24px);
	padding: 10px 16px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 999px;
	background: rgba(10, 15, 25, .88);
	color: #fff;
	font: 600 14px/1.4 system-ui, sans-serif;
	text-align: center;
	pointer-events: none;
}
.gp-image-link-unlocked .gp-image-link-countdown { background: rgba(5, 75, 45, .9); }
@media (max-width: 768px) {
	.site.grid-container, .site-content, .site-content .content-area { padding-left: 0 !important; padding-right: 0 !important; }
	.site-content .site-main { margin-left: 0 !important; margin-right: 0 !important; }
	.gp-image-link-countdown { bottom: 12px; padding: 9px 14px; font-size: 13px; }
	.secretpress-featured-center-wrap { gap: 8px; max-width: calc(100% - 20px); }
	.secretpress-featured-center-text { font-size: var(--secretpress-center-text-size-mobile, 18px); padding: 5px 12px; }
}
