/**
 * SlashPlus widget + shortcode front-end styles.
 *
 * Uses the theme's design tokens (--sp-*) with hard fallbacks so the widgets
 * still look right if used with another theme.
 */
.slashp-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
@media (max-width: 900px) { .slashp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .slashp-grid { grid-template-columns: 1fr; } }

.slashp-card {
	background: var(--sp-charcoal, #141419);
	border: 1px solid var(--sp-line, rgba(255,255,255,.1));
	border-radius: var(--sp-radius, 14px);
	overflow: hidden;
	color: var(--sp-fg, #f4f2ee);
}
.slashp-card__title { font-family: var(--sp-font-head, sans-serif); font-size: 1.2rem; margin: 0 0 .4rem; }
.slashp-card__title a { color: inherit; text-decoration: none; }
.slashp-card__role,
.slashp-card__cat { color: var(--sp-gold, #f3b21c); font-size: .85rem; }

.slashp-empty {
	padding: 40px; text-align: center; color: var(--sp-fg-dim, #999);
	border: 1px dashed var(--sp-line, rgba(255,255,255,.1)); border-radius: 14px;
}

/* Team */
.slashp-team__photo { aspect-ratio: 4 / 5; overflow: hidden; }
.slashp-team__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.slashp-team__card:hover .slashp-team__photo img { transform: scale(1.05); }
.slashp-team__body { padding: 18px; }
.slashp-team__social { list-style: none; display: flex; gap: 12px; padding: 0; margin: 10px 0 0; }
.slashp-team__social a { font-size: .8rem; color: var(--sp-fg-dim, #aaa); }
.slashp-team__social a:hover { color: var(--sp-gold, #f3b21c); }

/* Projects + filter */
.slashp-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.slashp-filter__btn {
	padding: 6px 16px; border-radius: 999px; cursor: pointer;
	background: transparent; color: var(--sp-fg, #eee);
	border: 1px solid var(--sp-line, rgba(255,255,255,.15));
	font: inherit; font-size: .85rem; transition: all .25s ease;
}
.slashp-filter__btn.is-active { background: var(--sp-gold, #f3b21c); color: #0a0a0b; border-color: var(--sp-gold, #f3b21c); }
.slashp-project { display: flex; flex-direction: column; }
.slashp-project__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.slashp-project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.slashp-project:hover .slashp-project__media img { transform: scale(1.04); }
.slashp-project__body { padding: 18px; }
.slashp-project__excerpt { color: var(--sp-fg-dim, #aaa); font-size: .9rem; }
.slashp-project[hidden] { display: none; }

/* Services */
.slashp-service { padding: 24px; text-align: left; }
.slashp-service__icon img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 14px; }
.slashp-service__desc { color: var(--sp-fg-dim, #aaa); font-size: .95rem; }

/* Subsidiaries */
.slashp-sub { padding: 24px; }
.slashp-sub__icon img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 12px; }
.slashp-sub__tagline { color: var(--sp-fg-dim, #aaa); font-size: .9rem; }
.slashp-sub__link { display: inline-block; margin-top: 10px; color: var(--sp-gold, #f3b21c); font-weight: 600; font-size: .9rem; }

/* Press */
.slashp-press__item { padding: 22px; }
.slashp-press__excerpt { color: var(--sp-fg-dim, #aaa); font-size: .9rem; }
.slashp-press__item[lang="ne"] { font-family: "Noto Sans Devanagari", var(--sp-font-body, sans-serif); }

/* Jobs */
.slashp-jobs { list-style: none; padding: 0; margin: 0; }
.slashp-job a {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 18px 20px; border: 1px solid var(--sp-line, rgba(255,255,255,.1));
	border-radius: 12px; margin-bottom: 10px; text-decoration: none; color: inherit;
	transition: border-color .2s ease, transform .2s ease;
}
.slashp-job a:hover { border-color: var(--sp-gold, #f3b21c); transform: translateX(3px); }
.slashp-job__title { font-family: var(--sp-font-head, sans-serif); font-weight: 600; }
.slashp-job__meta { color: var(--sp-fg-dim, #aaa); font-size: .85rem; }

/* Testimonials slider */
.slashp-testimonials { position: relative; overflow: hidden; }
.slashp-testimonials__track { display: flex; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.slashp-testimonial { flex: 0 0 100%; padding: 20px 40px; box-sizing: border-box; }
.slashp-testimonial__quote {
	font-size: 1.35rem; line-height: 1.5; margin: 0 0 20px; font-family: var(--sp-font-head, sans-serif);
	position: relative;
}
.slashp-testimonial__quote::before { content: "\201C"; color: var(--sp-gold, #f3b21c); font-size: 3rem; line-height: 0; vertical-align: -0.4em; margin-right: .1em; }
.slashp-testimonial__by { display: flex; align-items: center; gap: 14px; }
.slashp-testimonial__avatar { border-radius: 50%; }
.slashp-testimonial__role { display: block; color: var(--sp-fg-dim, #aaa); font-size: .85rem; }
.slashp-testimonial__stars { color: var(--sp-gold, #f3b21c); font-size: .9rem; }
.slashp-testimonials__nav { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.slashp-testimonials__nav button {
	width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
	background: transparent; color: var(--sp-fg, #eee); font-size: 1.4rem; line-height: 1;
	border: 1px solid var(--sp-line, rgba(255,255,255,.15));
}
.slashp-testimonials__nav button:hover { border-color: var(--sp-gold, #f3b21c); color: var(--sp-gold, #f3b21c); }

/* Clients marquee / logo wall */
.slashp-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.slashp-marquee__track { display: flex; gap: 56px; width: max-content; animation: slashp-scroll 40s linear infinite; align-items: center; }
.slashp-marquee:hover .slashp-marquee__track { animation-play-state: paused; }
.slashp-marquee__item img { max-height: 44px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .7; transition: all .3s ease; }
.slashp-marquee__item img:hover { filter: none; opacity: 1; }
.slashp-logowall__track { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center; }
.slashp-logowall__item img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .75; }
@keyframes slashp-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Stats counter */
.slashp-stats { text-align: center; }
.slashp-counter__num { display: block; font-family: var(--sp-font-head, sans-serif); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; color: var(--sp-gold, #f3b21c); line-height: 1; }
.slashp-counter__label { color: var(--sp-fg-dim, #aaa); font-size: .95rem; }

/* CTA banner */
.slashp-cta { position: relative; overflow: hidden; border-radius: var(--sp-radius, 14px); padding: 64px 24px; text-align: center; }
.slashp-cta--animated::before {
	content: ""; position: absolute; inset: -50%;
	background: conic-gradient(from 0deg, transparent, rgba(243,178,28,.25), transparent 40%);
	animation: slashp-spin 12s linear infinite;
}
.slashp-cta__inner { position: relative; max-width: 640px; margin: 0 auto; }
.slashp-cta__heading { font-size: clamp(1.6rem, 4vw, 2.6rem); }
.slashp-cta__text { color: var(--sp-fg-dim, #ccc); margin-bottom: 24px; }
@keyframes slashp-spin { to { transform: rotate(1turn); } }

/* Forms */
.slashp-form { max-width: 560px; }
.slashp-form__row { margin-bottom: 16px; }
.slashp-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.slashp-form input, .slashp-form textarea {
	width: 100%; padding: 12px 14px; box-sizing: border-box;
	background: var(--sp-surface, #1c1c22); color: var(--sp-fg, #eee);
	border: 1px solid var(--sp-line, rgba(255,255,255,.15)); border-radius: 8px; font: inherit;
}
.slashp-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; }
.slashp-form__status { margin-top: 12px; font-size: .9rem; }
.slashp-form__status.is-ok { color: #34d399; }
.slashp-form__status.is-error { color: #f87171; }

/* Motion off */
@media (prefers-reduced-motion: reduce) {
	.slashp-marquee__track, .slashp-cta--animated::before { animation: none; }
	.slashp-testimonials__track { transition: none; }
}
