/* =========================================================================
   AstroDeSign Servicios — frontend.css
   Estética lineal coherente con AstroDeSign Home. Reusa tokens --adh-* y
   clases .astro-btn / .astro-section / .astro-eyebrow del home cuando éste
   está activo. Si el home NO está activo, redeclara los tokens mínimos.
   ========================================================================= */

/* -------- Fallback de tokens (solo aplican si --adh-margin aún no existe).
   Si el home está activo, su :root ya los define y estos no sobreescriben
   nada porque usamos @supports + var fallback en cascade. -------- */
:root {
	--adh-margin:        64px;
	--adh-margin-tablet: 32px;
	--adh-margin-mobile: 16px;

	--adh-line-w:        3px;
	--adh-line:          rgba(255, 255, 255, 0.92);

	--adh-text:          #f4f1ea;
	--adh-text-muted:    rgba(244, 241, 234, 0.72);
	--adh-text-dim:      rgba(244, 241, 234, 0.50);

	--adh-accent:        #bc99ff;
	--adh-accent-2:      #a370f7;
	--adh-accent-soft:   rgba(188, 153, 255, 0.16);

	--adh-radius:        24px;
	--adh-radius-sm:     14px;

	--adh-ease:          cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   MARCO ENGLOBANTE — idéntico al .astro-home del home.
   ============================================================ */

.astro-srv,
.astro-srv * { box-sizing: border-box; }

.astro-srv {
	color: var(--adh-text);
	font-family: inherit;
	margin: 0 var(--adh-margin);
	border: var(--adh-line-w) solid var(--adh-line);
	border-radius: var(--adh-radius);
	overflow-x: hidden; /* v1.0.3 — evita scroll horizontal por items que crecen */
	position: relative;
	max-width: calc(100% - (var(--adh-margin) * 2));
}

/* v1.0.5 — Modifier "sin marco" (sección con framed=0). Mantiene los
   estilos internos pero quita borde, radius y margen lateral. */
.astro-srv.astro-srv--bare {
	border: 0;
	border-radius: 0;
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
	overflow: visible;
}

/* Si hay dos wrappers consecutivos (uno framed + uno bare) damos un
   pequeño respiro vertical para que no se peguen. */
.astro-srv + .astro-srv { margin-top: clamp(24px, 4vw, 56px); }

@media (max-width: 1100px) {
	.astro-srv { margin: 0 var(--adh-margin-tablet); }
}
@media (max-width: 640px) {
	.astro-srv { margin: 0 var(--adh-margin-mobile); border-radius: var(--adh-radius-sm); }
}

/* Secciones — sólo cargamos las reglas si el home no las ha cargado ya. */
.astro-srv .astro-section,
.astro-srv .astro-section-inner { background: transparent; }
.astro-srv .astro-section { position: relative; width: 100%; }

.astro-srv .astro-section.is-bounded .astro-section-inner {
	padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 56px);
}
.astro-srv .astro-section.is-bounded + .astro-section.is-bounded .astro-section-inner {
	border-top: var(--adh-line-w) solid var(--adh-line);
}
.astro-srv .astro-section.is-full .astro-section-inner {
	padding: 0;
}

/* Eyebrow — reusa el del home si existe; si no, lo definimos aquí. */
.astro-srv .astro-eyebrow {
	display: inline-block;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--adh-accent);
	margin-bottom: 18px;
	font-weight: 600;
}

/* ============================================================
   BOTONES — fallback por si el home no cargó .astro-btn.
   Si el home está activo, sus reglas tienen prioridad. Aquí van las
   mínimas para que el plugin se vea solo si se usa sin home.
   ============================================================ */

.astro-srv .astro-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: inherit;
	/* v1.0.7 — +4 pt (12 → 16 px). */
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.25s var(--adh-ease), border-color 0.25s var(--adh-ease), color 0.25s var(--adh-ease);
	color: #fff;
}
.astro-srv .astro-btn svg { width: 18px; height: 18px; }

/* v1.0.9 — Neutralizamos TODOS los movimientos en hover de botones y
   pills, sin excepción. Selectores con !important para vencer reglas
   del home heredadas o de themes (translateX, scale, paddings, etc.).
   Solo se permite cambio de color (background-color / border-color /
   color) en hover. */
.astro-srv .astro-btn,
.astro-srv .astro-btn:hover,
.astro-srv .astro-btn:focus,
.astro-srv .astro-btn:active,
.astro-srv .astro-srv-pill,
.astro-srv .astro-srv-pill:hover,
.astro-srv .astro-srv-pill:focus,
.astro-srv .astro-srv-pill:active,
.astro-srv .astro-srv-pill.is-active {
	transform: none !important;
	outline: none !important;
	box-shadow: none !important;
}
.astro-srv .astro-btn:hover .astro-btn__icon,
.astro-srv .astro-btn:hover .astro-btn__sparkle,
.astro-srv .astro-btn:hover .astro-btn__eye,
.astro-srv .astro-btn:hover .astro-btn__eye .eye-open,
.astro-srv .astro-btn:hover .astro-btn__eye .eye-closed,
.astro-srv .astro-btn .astro-btn__icon,
.astro-srv .astro-btn .astro-btn__sparkle {
	transform: none !important;
	animation: none !important;
}
.astro-srv .astro-btn--primary {
	background: var(--adh-accent);
	border-color: var(--adh-accent);
	color: #fff;
}
.astro-srv .astro-btn--primary:hover { background: var(--adh-accent-2); border-color: var(--adh-accent-2); }
.astro-srv .astro-btn--ghost {
	background: transparent;
	border-color: var(--adh-line);
	color: #fff;
}
.astro-srv .astro-btn--ghost:hover { border-color: var(--adh-accent); color: var(--adh-accent); }
.astro-srv .astro-btn svg { flex-shrink: 0; }
.astro-srv .astro-btn__label { font-family: inherit; }

/* ============================================================
   ANIMACIONES DE ICONO — compartidas hero + categorías.
   Se aplican a .is-anim-<slug>. Respetan prefers-reduced-motion.
   ============================================================ */

@keyframes srv-rotate { from { transform: rotate(0); }      to { transform: rotate(360deg); } }
@keyframes srv-pulse  { 0%,100% { transform: scale(1); }     50% { transform: scale(1.08); } }
@keyframes srv-float  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes srv-swing  { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

.astro-srv .is-anim-rotate { animation: srv-rotate 18s linear infinite; transform-origin: 50% 50%; will-change: transform; }
.astro-srv .is-anim-pulse  { animation: srv-pulse  3.6s var(--adh-ease) infinite; transform-origin: 50% 50%; will-change: transform; }
.astro-srv .is-anim-float  { animation: srv-float  4.2s var(--adh-ease) infinite; will-change: transform; }
.astro-srv .is-anim-swing  { animation: srv-swing  3.8s var(--adh-ease) infinite; transform-origin: 50% 0%; will-change: transform; }

/* Pausar animación cuando la tarjeta/hero sale del viewport (data-out gestionado por JS). */
.astro-srv .astro-srv-cat[data-out] .is-anim-rotate,
.astro-srv .astro-srv-cat[data-out] .is-anim-pulse,
.astro-srv .astro-srv-cat[data-out] .is-anim-float,
.astro-srv .astro-srv-cat[data-out] .is-anim-swing,
.astro-srv .astro-srv-hero[data-out] .is-anim-rotate,
.astro-srv .astro-srv-hero[data-out] .is-anim-pulse,
.astro-srv .astro-srv-hero[data-out] .is-anim-float,
.astro-srv .astro-srv-hero[data-out] .is-anim-swing { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
	.astro-srv .is-anim-rotate,
	.astro-srv .is-anim-pulse,
	.astro-srv .is-anim-float,
	.astro-srv .is-anim-swing { animation: none; }
}

/* ============================================================
   FADE-IN al entrar en viewport (gestionado por frontend.js).
   ============================================================ */

.astro-srv [data-fade] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--adh-ease), transform 0.7s var(--adh-ease);
	will-change: opacity, transform;
}
.astro-srv [data-fade].is-in {
	opacity: 1;
	transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
	.astro-srv [data-fade] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HERO
   ============================================================ */

.astro-srv-hero {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}

.astro-srv-hero__text { max-width: 560px; }

.astro-srv-hero__title {
	font-size: clamp(36px, 5.4vw, 64px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 24px;
	font-weight: 700;
	color: var(--adh-text);
}
.astro-srv-hero__subtitle {
	font-size: clamp(16px, 1.4vw, 19px);
	line-height: 1.55;
	color: var(--adh-text-muted);
	margin: 0 0 32px;
	max-width: 48ch;
}
.astro-srv-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Cuadrado lateral 1:1 con icono centrado. --srv-hero-icon-scale = 0.40..1.00. */
.astro-srv-hero__visual {
	position: relative;
	width: 100%;
}
.astro-srv-hero__square {
	/* v1.0.10 — Sin recuadro ni fondo. El cuadrado solo sirve de
	   contenedor 1:1 para el icono/placeholder. */
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border: 0;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
}
.astro-srv-hero__icon {
	width: calc(100% * var(--srv-hero-icon-scale, 0.60));
	height: calc(100% * var(--srv-hero-icon-scale, 0.60));
	display: flex;
	align-items: center;
	justify-content: center;
}
.astro-srv-hero__icon img,
.astro-srv-hero__icon svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: brightness(0) invert(1) drop-shadow(0 0 18px rgba(188,153,255,0.35));
}
/* El placeholder SVG ya tiene gradiente, no le aplicamos el filter blanco. */
.astro-srv-hero__icon svg.astro-srv-iconph { filter: none; }

/* v1.0.10 — Ondas radar del placeholder. Cada círculo `.srv-wave` parte
   de radio 18 y se expande hasta 46 mientras se desvanece. Cuando una
   onda termina, otra empieza (delays escalonados). */
@keyframes srv-wave-pulse {
	0%   { r: 12; opacity: 0; }
	15%  { opacity: 1; }
	100% { r: 46; opacity: 0; }
}
.astro-srv-iconph .srv-wave {
	transform-box: fill-box;
	transform-origin: center;
	animation: srv-wave-pulse 3.2s var(--adh-ease) infinite;
	will-change: r, opacity;
}
.astro-srv-iconph .srv-wave-1 { animation-delay: 0s; }
.astro-srv-iconph .srv-wave-2 { animation-delay: 1.05s; }
.astro-srv-iconph .srv-wave-3 { animation-delay: 2.1s; }
@media (prefers-reduced-motion: reduce) {
	.astro-srv-iconph .srv-wave { animation: none; }
}

@media (max-width: 900px) {
	.astro-srv-hero { grid-template-columns: 1fr; }
	.astro-srv-hero__visual { max-width: 360px; margin: 0 auto; }
}

/* ============================================================
   CATEGORIAS
   ============================================================ */

.astro-srv-cats__head {
	max-width: 720px;
	margin: 0 0 clamp(32px, 4vw, 56px);
}
.astro-srv-cats__title {
	font-size: clamp(28px, 3.6vw, 44px);
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0 0 16px;
	color: var(--adh-text);
}
.astro-srv-cats__intro {
	font-size: 17px;
	line-height: 1.55;
	color: var(--adh-text-muted);
	margin: 0;
	max-width: 60ch;
}

/* v1.0.6 — Grid simplificado. Cada tarjeta ocupa N columnas según el
   span inyectado inline por PHP en `style="grid-column: span N"`. Las
   tarjetas normales valen 1, la de Astrobranding 2, y la última se
   expande automáticamente (cálculo en PHP) si la fila queda incompleta.
   `grid-auto-flow: dense` permite que tarjetas pequeñas rellenen huecos
   que el span 2 de Astrobranding pueda dejar al saltar de fila. */
.astro-srv-cats__grid {
	display: grid;
	gap: clamp(20px, 2.4vw, 32px);
	grid-auto-flow: dense;
}
.astro-srv-cats__grid.is-cols-1 { grid-template-columns: 1fr; }
.astro-srv-cats__grid.is-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.astro-srv-cats__grid.is-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.astro-srv-cats__grid > .astro-srv-cat { min-width: 0; }

/* v1.0.14 — Anclas desde la home (#srv-…) — deja aire para el header sticky
   y resalta brevemente la tarjeta destino. */
.astro-srv-cat[id^="srv-"] { scroll-margin-top: 96px; }
@keyframes srv-anchor-flash {
	0%   { box-shadow: 0 0 0 0 rgba(124,107,255, 0.0); }
	30%  { box-shadow: 0 0 0 4px rgba(124,107,255, 0.55); }
	100% { box-shadow: 0 0 0 0 rgba(124,107,255, 0.0); }
}
.astro-srv-cat[id^="srv-"]:target { animation: srv-anchor-flash 1.6s ease-out 1; border-radius: 14px; }

/* v1.0.9 — Alineación icono + título por sección (left | center). */
.astro-srv-cats__grid.is-align-center .astro-srv-cat__icon  { margin-left: auto; margin-right: auto; }
.astro-srv-cats__grid.is-align-center .astro-srv-cat__title { text-align: center; }

@media (max-width: 900px) {
	/* tablet: cols=3 baja a 2 cols. Anulamos los spans inline calculados
	   para desktop con !important; Astrobranding sigue ocupando 2 (= full
	   en 2 cols), el resto cae a 1. */
	.astro-srv-cats__grid.is-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.astro-srv-cats__grid.is-cols-3 > .astro-srv-cat                     { grid-column: span 1 !important; }
	.astro-srv-cats__grid.is-cols-3 > .astro-srv-cat.is-astrobranding-card { grid-column: span 2 !important; }
	.astro-srv-cats__grid.is-cols-2 > .astro-srv-cat                     { grid-column: span 1 !important; }
	.astro-srv-cats__grid.is-cols-2 > .astro-srv-cat.is-astrobranding-card { grid-column: span 2 !important; }
}
@media (max-width: 768px) {
	/* v1.0.13 — móvil/tablet estrecho: SIEMPRE 1 columna. Subido de 640 a
	   768 px (los móviles grandes y en horizontal superaban 640 y mostraban
	   2 cols). Selectores con prefijo .astro-srv + is-cols-N + !important
	   para ganar a los spans inline y a cualquier regla del tema. */
	.astro-srv .astro-srv-cats__grid,
	.astro-srv .astro-srv-cats__grid.is-cols-2,
	.astro-srv .astro-srv-cats__grid.is-cols-3 { grid-template-columns: 1fr !important; }
	.astro-srv .astro-srv-cats__grid > .astro-srv-cat,
	.astro-srv .astro-srv-cats__grid > .astro-srv-cat.is-astrobranding-card { grid-column: 1 / -1 !important; }
}

/* Tarjeta individual.
   v1.0.3 — borde lineal blanco grueso, coherente con el marco englobante. */
.astro-srv-cat {
	border: var(--adh-line-w) solid var(--adh-line);
	border-radius: var(--adh-radius);
	padding: clamp(24px, 2.6vw, 36px);
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: transparent;
	transition: border-color 0.25s var(--adh-ease), transform 0.35s var(--adh-ease), box-shadow 0.35s var(--adh-ease);
	position: relative;
	min-width: 0;
}
.astro-srv-cat:hover {
	/* v1.0.8 — hover sin elevación. Solo cambia color del borde y un
	   ligero glow. La tarjeta NO se mueve. */
	border-color: var(--adh-accent);
	box-shadow: 0 0 32px rgba(188,153,255,0.18);
}

/* v1.0.6 — Tarjeta "Astrobranding" destacada:
   - Borde lila desde inicio.
   - Fondo con gradiente sutil lila.
   - Glow lila constante (más marcado en hover, sin elevación translateY
     para mantenerlo sutil — no compite visualmente con el resto). */
.astro-srv-cat.is-astrobranding-card {
	border-color: var(--adh-accent);
	background: linear-gradient(180deg, rgba(188,153,255,0.10), rgba(188,153,255,0.02) 60%, rgba(255,255,255,0));
	box-shadow: 0 0 0 1px rgba(188,153,255,0.18), 0 0 38px rgba(188,153,255,0.10);
	transition: box-shadow 0.4s var(--adh-ease), background 0.4s var(--adh-ease), transform 0.4s var(--adh-ease);
}
.astro-srv-cat.is-astrobranding-card:hover {
	transform: none;
	box-shadow: 0 0 0 1px rgba(188,153,255,0.32), 0 0 56px rgba(188,153,255,0.22);
	background: linear-gradient(180deg, rgba(188,153,255,0.18), rgba(188,153,255,0.04) 60%, rgba(255,255,255,0));
}
/* Etiqueta visual "destacado" en la esquina (opcional, sutil). */
.astro-srv-cat.is-astrobranding-card::before {
	content: "Destacado";
	position: absolute;
	top: 14px;
	right: 14px;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--adh-accent);
	border: 1px solid var(--adh-accent);
	border-radius: 999px;
	padding: 4px 10px;
	background: rgba(188,153,255,0.08);
}

/* v1.0.8 — En la tarjeta Astrobranding las pills se muestran en grid
   2 columnas (desktop/tablet). La primera (modalidad principal, ej.
   "Sesión inicial") ocupa siempre la fila completa arriba. En móvil
   cae a 1 columna. */
@media (min-width: 641px) {
	.astro-srv-cat.is-astrobranding-card .astro-srv-cat__modalidades {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}
	.astro-srv-cat.is-astrobranding-card .astro-srv-cat__modalidades > .astro-srv-pill:first-child {
		grid-column: 1 / -1;
	}
}

/* v1.0.1 — Iconos SIN círculo. Tamaño configurable por tarjeta vía
   --srv-cat-icon-size (px), inyectada inline desde el render PHP. */
.astro-srv-cat__icon {
	width:  var(--srv-cat-icon-size, 80px);
	height: var(--srv-cat-icon-size, 80px);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 6px;
	flex-shrink: 0;
	position: relative;
}
.astro-srv-cat__icon img,
.astro-srv-cat__icon > svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: brightness(0) invert(1) drop-shadow(0 0 14px rgba(188,153,255,0.30));
}
/* El placeholder y el astrobranding inline NO llevan el filter blanco
   (ya tienen colores/strokes propios). */
.astro-srv-cat__icon > svg.astro-srv-iconph,
.astro-srv-cat__icon.is-astrobranding > svg { filter: none; }

/* ---- Astrobranding inline (sparkle + lápiz, sin círculo) ---- */
.astro-srv-cat__icon.is-astrobranding { color: var(--adh-text); }
.astro-srv-cat__icon .srv-ab-pencil {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
	transform-origin: 50% 50%;
	animation: srv-ab-writing 1.6s var(--adh-ease) infinite alternate;
	will-change: transform;
	filter: drop-shadow(0 0 14px rgba(188,153,255,0.30));
}
.astro-srv-cat__icon .srv-ab-sparkle {
	position: absolute;
	top: -6%;
	left: -6%;
	width: 38%;
	height: 38%;
	fill: var(--adh-accent);
	opacity: 0.85;
	transform-origin: 50% 50%;
	animation: srv-ab-twinkle 1.4s ease-in-out infinite alternate;
	will-change: transform, opacity;
	filter: drop-shadow(0 0 10px rgba(188,153,255,0.55));
}
.astro-srv-cat:hover .srv-ab-pencil { stroke: var(--adh-accent); }

@keyframes srv-ab-writing {
	0%   { transform: rotate(-10deg) translate(2px, 2px); }
	100% { transform: rotate(-20deg) translate(-3px, -2px); }
}
@keyframes srv-ab-twinkle {
	0%   { opacity: 0.45; transform: scale(0.8) rotate(0deg); }
	100% { opacity: 1;    transform: scale(1.25) rotate(45deg); }
}
@media (prefers-reduced-motion: reduce) {
	.astro-srv-cat__icon .srv-ab-pencil,
	.astro-srv-cat__icon .srv-ab-sparkle { animation: none; }
}

.astro-srv-cat__title {
	/* v1.0.7 — +2 pt más (24 → 26 px). */
	font-size: 26px;
	line-height: 1.2;
	margin: 0;
	color: var(--adh-text);
	font-weight: 700;
}
.astro-srv-cat__desc {
	color: var(--adh-text-muted);
	line-height: 1.55;
	margin: 0;
	flex: 1;
	/* v1.0.9 — +1 pt (14 → 15 px). */
	font-size: 15px;
}
.astro-srv-cat__meta {
	display: flex;
	gap: 16px;
	align-items: baseline;
	margin-top: 4px;
	flex-wrap: wrap; /* si no caben en una línea, duración salta de fila pero ningún span se parte */
}
.astro-srv-cat__price {
	color: var(--adh-accent);
	font-weight: 700;
	/* v1.0.6 — +2 pt (18 → 20 px). */
	font-size: 20px;
	white-space: nowrap; /* v1.0.5 — el precio nunca se parte (ej. "desde 480 €" en una línea). */
}
.astro-srv-cat__dur {
	color: var(--adh-text-dim);
	font-size: 14px;
	letter-spacing: 0.04em;
	white-space: nowrap;
}
.astro-srv-cat__cta {
	margin-top: auto;
	padding-top: 10px;
	/* v1.0.7 — botón alineado a la derecha, sin ocupar todo el ancho. */
	display: flex;
	justify-content: flex-end;
}
.astro-srv-cat__cta .astro-btn { width: auto; }

/* ---- v1.0.3 — Pills de modalidades ----
   Apiladas en vertical, cada una su propio borde. Sin caja envolvente
   (eso era el "rectángulo inútil" que veía el usuario entre las pills).
   La activa se rellena de lila marca. */
.astro-srv-cat__modalidades {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 4px 0 6px;
}
.astro-srv-pill {
	/* v1.0.10 — Sin height fijo (la altura se ajusta al font + padding).
	   Ancho configurable: max-width controlado por --srv-pill-max-w (50..100 %).
	   Font-size con !important para vencer reglas universales del theme. */
	width: 100%;
	max-width: var(--srv-pill-max-w, 100%);
	min-width: 0;
	border: 2px solid rgba(255,255,255,0.30);
	background: transparent;
	color: var(--adh-text);
	font-family: inherit;
	font-size: var(--srv-pill-size, 16px) !important;
	font-weight: 600;
	letter-spacing: 0.01em;
	padding: 10px 22px;
	border-radius: 999px;
	cursor: pointer;
	text-align: center;
	transition: background-color 0.25s var(--adh-ease), color 0.25s var(--adh-ease), border-color 0.25s var(--adh-ease);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.2;
	margin-left: auto;
	margin-right: auto;
}
.astro-srv-pill:hover {
	border-color: var(--adh-accent);
	color: var(--adh-accent);
}
.astro-srv-pill.is-active {
	background: var(--adh-accent);
	border-color: var(--adh-accent);
	color: #fff;
}
.astro-srv-pill.is-active:hover { color: #fff; }
.astro-srv-pill:focus-visible {
	outline: 2px solid var(--adh-accent);
	outline-offset: 2px;
}
