/* EIndiaTech Magazine — Reader styles. Developed by EIndiaTech (www.eindiatech.in) */

.eimag-reader,
.eimag-reader * {
	box-sizing: border-box;
}
.eimag-reader-outer,
.eimag-reader-outer * {
	box-sizing: border-box;
}

:root {
	--eimag-accent: #e1306c;
	--eimag-bg: #0b0b0f;
	--eimag-fg: #f5f5f7;
	--eimag-muted: #b5b5be;
}

body.eimag-reader-body {
	margin: 0;
	background: var(--eimag-bg);
	color: var(--eimag-fg);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Outer wrapper: on mobile this simply hugs the reader; on wider screens
   (laptop, desktop, tablet landscape) it fills the surrounding space with
   a backdrop so the app doesn't look like a narrow phone mock stranded on
   a blank page. */
.eimag-reader-outer {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
	background: var(--eimag-bg);
}

.eimag-backdrop {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.15);
	filter: blur(38px) brightness(0.55);
	opacity: 0;
	transition: opacity 0.4s ease;
}

@media ( min-width: 700px ) {
	.eimag-reader-outer {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100vh;
		height: 100dvh;
		max-height: 900px;
	}
	.eimag-reader-outer[data-backdrop-mode="blurred-cover"] .eimag-backdrop {
		opacity: 1;
	}
	.eimag-reader-outer[data-backdrop-mode="solid"] .eimag-backdrop {
		opacity: 0;
	}
	.eimag-reader-outer[data-backdrop-mode="solid"] {
		background: var(--eimag-bg);
	}
}

.eimag-reader {
	position: relative;
	width: 100%;
	height: 100%;
	max-width: 420px;
	margin: 0 auto;
	background: var(--eimag-bg, #0b0b0f);
	overflow: hidden;
	z-index: 1;
}

@media ( min-width: 700px ) {
	.eimag-reader {
		max-width: 420px;
		height: min(92vh, 860px);
		border-radius: 20px;
		box-shadow: 0 30px 80px rgba( 0, 0, 0, 0.5 );
		border: 1px solid rgba( 255, 255, 255, 0.08 );
	}
}

/* Landscape tablets / small laptops: slightly roomier reader */
@media ( min-width: 1024px ) and ( orientation: landscape ) {
	.eimag-reader {
		max-width: 460px;
	}
}

.eimag-reader-track {
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;
	touch-action: pan-y;
	-webkit-overflow-scrolling: touch;
}

@media ( prefers-reduced-motion: reduce ) {
	.eimag-reader-track {
		scroll-behavior: auto;
	}
}

.eimag-slide {
	position: relative;
	width: 100%;
	height: 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
}

/* Cover slide — shows the cover image directly (most covers already have
   the title/headlines designed into them, like a real magazine front page).
   Optionally overlays title/description text for plain photos. */
.eimag-slide-cover {
	justify-content: flex-start;
	background: #0b0b0f;
	padding: 0;
}
.eimag-cover-media {
	position: relative;
	flex: 1;
	min-height: 0;
	background: #0b0b0f;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.eimag-cover-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.eimag-cover-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient( 160deg, #1a1a22, #0b0b0f );
	padding: 24px;
	text-align: center;
}
.eimag-cover-placeholder span {
	font-size: 1.4rem;
	font-weight: 800;
}
.eimag-cover-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient( to top, rgba( 0, 0, 0, 0.85 ), rgba( 0, 0, 0, 0 ) 55% );
}
.eimag-cover-overlay-content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding: 28px 24px;
	text-align: center;
}
.eimag-cover-title {
	font-size: 1.7rem;
	font-weight: 800;
	margin: 0 0 10px;
	line-height: 1.15;
}
.eimag-cover-desc {
	color: var(--eimag-muted);
	font-size: 0.95rem;
	margin: 0;
}
.eimag-swipe-hint {
	flex: 0 0 auto;
	text-align: center;
	color: var(--eimag-accent);
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.02em;
	padding: 10px;
	margin: 0;
	animation: eimag-bounce 1.6s infinite;
}
@media ( prefers-reduced-motion: reduce ) {
	.eimag-swipe-hint {
		animation: none;
	}
}
@keyframes eimag-bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(6px); }
}
.eimag-back-link {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 2;
	color: #fff;
	text-decoration: none;
	font-size: 0.9rem;
	background: rgba( 0, 0, 0, 0.4 );
	padding: 6px 12px;
	border-radius: 999px;
}

/* Article slide — default "image on top, content below" layout: simple,
   readable, and never overlaps text on top of the photo. */
.eimag-slide-article {
	background: var(--eimag-bg, #0b0b0f);
	justify-content: flex-start;
}
.eimag-story-media {
	position: relative;
	flex: 0 0 44%;
	background: #17171d;
	overflow: hidden;
}
.eimag-story-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.eimag-story-media-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient( 135deg, #26262e, #17171d );
}
.eimag-story-content {
	flex: 1;
	min-height: 0;
	background: var(--eimag-bg, #0b0b0f);
	position: relative;
}
.eimag-story-content-scroll {
	height: 100%;
	overflow-y: auto;
	padding: 20px 22px 26px;
}
.eimag-story-section,
.eimag-story-category {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--eimag-accent);
	margin-right: 8px;
}
.eimag-story-title {
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.25;
	margin: 8px 0 10px;
	color: var(--eimag-fg, #f5f5f7);
}
.eimag-story-summary {
	color: #d9d9e0;
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0 0 14px;
}
.eimag-story-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 0.8rem;
	color: var(--eimag-muted);
	margin-bottom: 16px;
}

.eimag-btn {
	display: inline-block;
	text-decoration: none;
	font-weight: 700;
	padding: 12px 22px;
	border-radius: 999px;
	font-size: 0.95rem;
	border: none;
	cursor: pointer;
}
.eimag-btn-primary {
	background: var(--eimag-accent);
	color: #fff;
}
.eimag-btn-primary:hover,
.eimag-btn-primary:focus-visible {
	filter: brightness(1.08);
}

/* Brand/action toolbar — sits between the image and the headline, like a
   masthead badge (logo + magazine name) with simple round icon buttons for
   Save/Share, similar to how popular short-news apps present a card. */
.eimag-story-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 14px;
}
.eimag-story-toolbar-no-brand {
	justify-content: flex-end;
}
.eimag-story-brand {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}
.eimag-story-brand-logo {
	width: 20px;
	height: 20px;
	border-radius: 5px;
	object-fit: cover;
	flex: 0 0 auto;
	display: block;
}
.eimag-story-brand-name {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--eimag-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.eimag-story-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}
.eimag-icon-btn {
	background: rgba( 255, 255, 255, 0.08 );
	border: none;
	color: var(--eimag-muted);
	cursor: pointer;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	flex: 0 0 auto;
}
.eimag-icon-btn svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}
.eimag-icon-btn:hover,
.eimag-icon-btn:focus-visible {
	color: #fff;
	background: rgba( 255, 255, 255, 0.16 );
}
.eimag-bookmark-btn[aria-pressed="true"] {
	color: var(--eimag-accent);
	background: rgba( 255, 255, 255, 0.08 );
}
.eimag-bookmark-btn[aria-pressed="true"] svg {
	fill: currentColor;
}

/* Optional immersive layout: full-bleed image with text overlaid on a
   gradient, for magazines that prefer the moodier look. Enabled by
   choosing "Full-bleed image" as the Card Layout in Settings. */
.eimag-layout-image-full .eimag-slide-article {
	display: block;
}
.eimag-layout-image-full .eimag-story-media {
	position: absolute;
	inset: 0;
	flex-basis: auto;
}
.eimag-layout-image-full .eimag-story-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient( to top, rgba( 0, 0, 0, 0.92 ) 15%, rgba( 0, 0, 0, 0.15 ) 60%, rgba( 0, 0, 0, 0.35 ) 100% );
}
.eimag-layout-image-full .eimag-story-content {
	position: absolute;
	inset: 0;
	background: transparent;
	display: flex;
	align-items: flex-end;
}
.eimag-layout-image-full .eimag-story-content-scroll {
	max-height: 80%;
	padding: 24px 24px 32px;
}
.eimag-layout-image-full .eimag-story-summary {
	color: #e8e8ee;
}

/* Reader nav controls (desktop-friendly, always available — never touch-only) */
.eimag-reader-nav {
	position: absolute;
	right: 14px;
	bottom: 50%;
	transform: translateY(50%);
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 3;
}
.eimag-nav-btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: none;
	background: rgba( 255, 255, 255, 0.12 );
	color: #fff;
	font-size: 1.1rem;
	cursor: pointer;
	backdrop-filter: blur(6px);
}
.eimag-nav-btn:hover,
.eimag-nav-btn:focus-visible {
	background: var(--eimag-accent);
}

.eimag-reader-progress {
	position: absolute;
	left: 8px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 5px;
	z-index: 3;
}
.eimag-progress-dot {
	width: 4px;
	height: 14px;
	border-radius: 2px;
	background: rgba( 255, 255, 255, 0.25 );
}
.eimag-progress-dot.is-active {
	background: var(--eimag-accent);
}

/* Carousel slide inside the vertical reader */
.eimag-slide-carousel {
	justify-content: center;
	background: #101014;
	padding: 24px 0;
}

/* Contents (auto-generated Table of Contents) page */
.eimag-slide-contents {
	background: #101014;
	justify-content: flex-start;
	overflow-y: auto;
	padding: 60px 24px 40px;
}
.eimag-contents-inner {
	width: 100%;
}
.eimag-contents-title {
	font-size: 1.6rem;
	font-weight: 800;
	margin: 0 0 20px;
}
.eimag-contents-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.eimag-contents-list li {
	border-bottom: 1px solid rgba( 255, 255, 255, 0.08 );
}
.eimag-toc-link {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	color: #fff;
	padding: 14px 4px;
	cursor: pointer;
	font: inherit;
}
.eimag-toc-link:hover,
.eimag-toc-link:focus-visible {
	color: var(--eimag-accent);
}
.eimag-toc-sublabel {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	color: var(--eimag-accent);
}
.eimag-toc-label {
	font-size: 1rem;
	font-weight: 600;
}
.eimag-contents-empty {
	color: var(--eimag-muted);
}

/* Editorial / custom content page */
.eimag-slide-page {
	background: linear-gradient( 160deg, #1a1a22, #0b0b0f );
	justify-content: flex-start;
}
.eimag-page-media {
	display: block;
	flex: 0 0 38%;
	overflow: hidden;
	background: #17171d;
}
.eimag-page-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
a.eimag-page-image-link {
	cursor: pointer;
}
.eimag-page-content-wrap {
	flex: 1;
	min-height: 0;
}
.eimag-page-content-scroll {
	height: 100%;
	overflow-y: auto;
	padding: 32px 24px 40px;
}
.eimag-slide-page:not(:has(.eimag-page-media)) .eimag-page-content-scroll {
	padding-top: 60px;
}
.eimag-page-kicker {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--eimag-accent);
	margin-bottom: 8px;
}
.eimag-page-title {
	font-size: 1.5rem;
	font-weight: 800;
	margin: 0 0 16px;
}
.eimag-page-content {
	color: #d8d8de;
	line-height: 1.7;
	font-size: 0.98rem;
}
.eimag-page-content p {
	margin: 0 0 14px;
}

/* Full-page image-only page (no title/text — prints the image edge-to-edge) */
.eimag-slide-page-imageonly {
	background: #0b0b0f;
	justify-content: center;
	align-items: center;
	padding: 0;
}
.eimag-page-imageonly-media {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.eimag-page-imageonly-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* End page */
.eimag-slide-end {
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 32px;
	background: linear-gradient( 160deg, #16161d, #0b0b0f );
}
.eimag-end-title {
	font-size: 1.5rem;
	font-weight: 800;
	margin: 0 0 10px;
}
.eimag-end-desc {
	color: var(--eimag-muted);
	margin: 0 0 24px;
}
.eimag-end-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}
.eimag-end-actions .eimag-btn:not(.eimag-btn-primary) {
	background: rgba( 255, 255, 255, 0.1 );
	color: #fff;
}

/* "Explore other editions" style menu on the End page, built from the
   admin-configured list of custom links. */
.eimag-end-menu-title {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--eimag-muted);
	margin: 6px 0 12px;
}
.eimag-end-menu {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	max-width: 360px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.eimag-end-menu-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	text-decoration: none;
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 14px 18px;
	border-radius: 12px;
	background: rgba( 255, 255, 255, 0.08 );
	transition: background 0.15s ease;
}
.eimag-end-menu-link:hover,
.eimag-end-menu-link:focus-visible {
	background: rgba( 255, 255, 255, 0.16 );
}
.eimag-end-menu-arrow {
	color: var(--eimag-accent);
	font-weight: 700;
}

/* Advertisement slide (Phase 3) */
.eimag-slide-ad {
	position: relative;
	background: var(--eimag-bg, #0b0b0f);
	justify-content: flex-start;
	padding: 0;
}
.eimag-ad-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	background: rgba( 0, 0, 0, 0.55 );
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}
/* Full image / full video: fills the entire slide, tap anywhere to open link */
.eimag-ad-fill {
	position: absolute;
	inset: 0;
	display: block;
}
.eimag-ad-fill img,
.eimag-ad-fill video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* Image + text: same card shape as a magazine story slide */
.eimag-slide-ad-image_caption {
	display: flex;
	flex-direction: column;
}
.eimag-ad-media {
	flex: 0 0 44%;
	background: #17171d;
	overflow: hidden;
}
.eimag-ad-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.eimag-ad-content {
	flex: 1;
	min-height: 0;
	padding: 20px 22px 26px;
	overflow-y: auto;
}
.eimag-ad-title {
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 10px;
	color: var(--eimag-fg, #f5f5f7);
}
.eimag-ad-text {
	color: #d9d9e0;
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0 0 16px;
}
/* Embed (YouTube / Instagram / Facebook / oEmbed) */
.eimag-ad-embed-wrap {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow-y: auto;
	padding: 20px;
}
.eimag-ad-embed-wrap iframe,
.eimag-ad-embed-wrap embed,
.eimag-ad-embed-wrap blockquote {
	max-width: 100%;
}
.eimag-slide-ad-embed .eimag-ad-link {
	position: absolute;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	z-index: 2;
}

/* Reusable carousel block (also used standalone via shortcode) */
.eimag-carousel-block {
	width: 100%;
}
.eimag-section-title {
	font-size: 1.1rem;
	font-weight: 800;
	margin: 0 0 14px;
	padding: 0 20px;
	color: var(--eimag-fg, #1a1a1a);
}
.eimag-carousel {
	position: relative;
}
.eimag-carousel-track {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 0 20px 8px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.eimag-carousel-track::-webkit-scrollbar {
	display: none;
}
.eimag-carousel-item {
	flex: 0 0 90%;
	max-width: 420px;
	scroll-snap-align: start;
}
@media ( max-width: 380px ) {
	.eimag-carousel-item {
		flex-basis: 96%;
	}
}
@media ( min-width: 640px ) {
	.eimag-carousel-item {
		flex-basis: 42%;
	}
}
@media ( min-width: 1000px ) {
	.eimag-carousel-item {
		flex-basis: 30%;
	}
}
.eimag-carousel-arrow {
	display: none;
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: none;
	background: rgba( 0, 0, 0, 0.55 );
	color: #fff;
	font-size: 1.2rem;
	cursor: pointer;
	z-index: 2;
}
@media ( hover: hover ) and ( pointer: fine ) {
	.eimag-carousel-arrow {
		display: block;
	}
}
.eimag-carousel-arrow-prev { left: 4px; }
.eimag-carousel-arrow-next { right: 4px; }
.eimag-carousel-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 8px;
}
.eimag-carousel-dots span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba( 128, 128, 128, 0.4 );
}
.eimag-carousel-dots span.is-active {
	background: var(--eimag-accent, #e1306c);
}

/* Standalone article card (used in carousels, [magazine_card], [magazine_section]) */
.eimag-card {
	background: #17171d;
	color: #f2f2f5;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: 0 6px 18px rgba( 0, 0, 0, 0.18 );
}
.eimag-card-media {
	display: block;
	aspect-ratio: 16 / 10;
	background: #26262e;
}
.eimag-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.eimag-card-body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}
.eimag-card-category {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	color: var(--eimag-accent, #e1306c);
}
.eimag-card-title {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.3;
}
.eimag-card-title a {
	color: inherit;
	text-decoration: none;
}
.eimag-card-summary {
	font-size: 0.88rem;
	color: #c7c7d1;
	line-height: 1.5;
	margin: 0;
}
.eimag-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 0.72rem;
	color: #8b8b95;
}
.eimag-card-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	padding-top: 8px;
}
.eimag-card-actions .eimag-btn-primary {
	padding: 8px 16px;
	font-size: 0.82rem;
}

/* Card layout: image-full (full-bleed image with overlaid text, like the main story slides) */
.eimag-card-image-full {
	position: relative;
	min-height: 260px;
}
.eimag-card-image-full .eimag-card-media {
	position: absolute;
	inset: 0;
	aspect-ratio: auto;
}
.eimag-card-image-full .eimag-card-media img {
	width: 100%;
	height: 100%;
}
.eimag-card-image-full .eimag-card-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient( to top, rgba( 0, 0, 0, 0.92 ) 10%, rgba( 0, 0, 0, 0.1 ) 65% );
}
.eimag-card-image-full .eimag-card-body {
	position: relative;
	z-index: 1;
	margin-top: auto;
	background: transparent;
}
.eimag-card-image-full .eimag-card-summary {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Issue archive grid */
.eimag-archive-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 220px, 1fr ) );
	gap: 22px;
}
.eimag-archive-item {
	text-decoration: none;
	color: inherit;
	display: block;
	border-radius: 14px;
	overflow: hidden;
	background: #17171d;
	color: #f2f2f5;
}
.eimag-archive-cover {
	position: relative;
	aspect-ratio: 3 / 4;
	background: #26262e;
}
.eimag-archive-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.eimag-archive-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--eimag-accent, #e1306c);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
}
.eimag-archive-info {
	padding: 14px 16px 18px;
}
.eimag-archive-title {
	margin: 0 0 6px;
	font-size: 1.05rem;
}
.eimag-archive-desc {
	font-size: 0.85rem;
	color: #b5b5be;
	margin: 0 0 10px;
}
.eimag-archive-link {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--eimag-accent, #e1306c);
}

.eimag-notice {
	padding: 16px;
	border-radius: 10px;
	background: rgba( 0, 0, 0, 0.05 );
}

/* Toast used for "Link copied!" feedback */
.eimag-toast {
	position: fixed;
	left: 50%;
	bottom: 30px;
	transform: translate(-50%, 0);
	background: #1a1a1a;
	color: #fff;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 0.85rem;
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}
.eimag-toast.is-visible {
	opacity: 1;
}

/* Visible focus states for accessibility */
.eimag-reader-track:focus-visible,
.eimag-carousel-track:focus-visible,
.eimag-nav-btn:focus-visible,
.eimag-icon-btn:focus-visible,
.eimag-btn:focus-visible,
.eimag-carousel-arrow:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}
