/* ============================================
   RS Directory - Styles
   ============================================ */

/* ── Full-width: override GeneratePress container ── */
.rs-full-width #page,
.rs-full-width .site-content,
.rs-full-width #primary,
.rs-full-width #content {
	max-width: 100%;
	width: 100%;
	padding: 0;
	margin: 0;
}
.rs-full-width .site-content {
	display: block;
}
.rs-full-width .inside-article {
	max-width: 100%;
	padding: 0;
	margin: 0;
}
.rs-full {
	width: 100%;
	max-width: 100%;
}
.rs-page-dummy,
.rs-site-content-dummy {
	display: contents;
}

:root {
	--rs-primary: #0c6e5f;
	--rs-primary-dark: #094e43;
	--rs-accent: #e8a317;
	--rs-text: #1e293b;
	--rs-text-light: #64748b;
	--rs-bg: #f8fafc;
	--rs-white: #ffffff;
	--rs-border: #e2e8f0;
	--rs-success: #16a34a;
	--rs-radius: 8px;
	--rs-radius-lg: 12px;
	--rs-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
	--rs-shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
	--rs-shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
	--rs-container: 1200px;
}

/* ── Container ── */
.rs-container {
	max-width: var(--rs-container);
	margin-inline: auto;
	padding-inline: 10px;
}

/* ── Hero ── */
.rs-hero {
	position: relative;
	min-height: 340px;
	display: flex;
	align-items: flex-end;
	background-color: var(--rs-primary-dark);
	background-size: cover;
	background-position: center;
	color: var(--rs-white);
	overflow: hidden;
}
.rs-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.2) 100%);
}
.rs-hero__content {
	position: relative;
	z-index: 1;
	padding: 20px 20px 40px 20px;
	width: 100%;
	max-width: var(--rs-container);
	margin-inline: auto;
}
/* ── Hero Breadcrumb ── */
.rs-hero__breadcrumb {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2;
	padding-top: 16px;
	font-size: .82rem;
	background: none;
}
.rs-hero__breadcrumb .rank-math-breadcrumb{
	background: none;
	padding: 0;
}
.rs-hero__breadcrumb,
.rs-hero__breadcrumb a {
	color: rgba(255,255,255,.75);
	text-decoration: none;
}
.rs-hero__breadcrumb a:hover {
	color: var(--rs-white);
	text-decoration: underline;
}
.rs-hero__breadcrumb .separator {
	margin: 0 6px;
	opacity: .5;
}

.rs-hero__logo {
	border-radius: var(--rs-radius);
	background: var(--rs-white);
	padding: 2px;
	margin-bottom: 12px;
	object-fit: contain;
}
.rs-hero__title {
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	font-weight: 700;
	margin: 0 0 12px;
	line-height: 1.2;
}
.rs-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* ── Badges ── */
.rs-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: var(--rs-radius);
	font-size: .8rem;
	font-weight: 600;
	line-height: 1.5;
	background: var(--rs-primary);
	color: var(--rs-white);
}
.rs-badge--light {
	background: rgba(255,255,255,.2);
	backdrop-filter: blur(4px);
	color: var(--rs-white);
}
.rs-badge--accent {
	background: var(--rs-accent);
	color: #1a1a1a;
}
.rs-badge--small {
	font-size: .7rem;
	padding: 2px 8px;
}
.rs-badge--outline {
	background: transparent;
	border: 1px solid currentColor;
}
.rs-badge--success {
	background: var(--rs-success);
	color: var(--rs-white);
}
.rs-badge--muted {
	background: var(--rs-border);
	color: var(--rs-text-light);
}
.rs-badge-group {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

/* ── Sticky Nav ── */
.rs-sticky-nav {
	position: relative;
	z-index: 100;
	background: var(--rs-white);
	border-bottom: 1px solid var(--rs-border);
}
.rs-sticky-nav.is-stuck {
	position: fixed;
	top: var(--rs-header-h, 0px);
	left: 0;
	right: 0;
	box-shadow: var(--rs-shadow);
	animation: rsSlideDown .25s ease;
}
@keyframes rsSlideDown {
	from { transform: translateY(-100%); opacity: 0; }
	to   { transform: translateY(0);     opacity: 1; }
}
.rs-sticky-nav-spacer {
	display: none;
}
.rs-sticky-nav-spacer.is-active {
	display: block;
}
.rs-sticky-nav ul {
	display: flex;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.rs-sticky-nav ul::-webkit-scrollbar { display: none; }
.rs-sticky-nav a {
	display: block;
	padding: 14px 18px;
	font-size: .85rem;
	font-weight: 500;
	color: var(--rs-text-light);
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s, box-shadow .2s;
}
.rs-sticky-nav a:hover,
.rs-sticky-nav a.is-active {
	color: var(--rs-primary);
	box-shadow: inset 0 -2px 0 var(--rs-primary);
}

/* ── Sections ── */
.rs-section {
	padding: 16px 0px 35px 0px;
	border-bottom: 1px solid var(--rs-border);
}
.rs-section:last-child {
	border-bottom: none;
}
.rs-section h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--rs-text);
	margin: 0 0 24px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.rs-section h2 svg {
	color: var(--rs-primary);
	flex-shrink: 0;
}
.rs-section h3 {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--rs-text);
	margin: 0 0 8px;
}

/* ── Prose ── */
.rs-prose {
	line-height: 1.75;
	color: var(--rs-text);
}
.rs-prose p { margin: 0 0 1em; }
.rs-prose ul, .rs-prose ol { padding-left: 1.5em; margin: 0 0 1em; }

/* ── Info Grid ── */
.rs-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
	margin: 20px;
}
.rs-info-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.rs-info-item--full {
	grid-column: 1 / -1;
}
.rs-info-item__label {
	font-size: .78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.rs-info-item__value {
	font-size: .9rem;
	color: var(--rs-text);
}

/* ── Visi Misi ── */
.rs-visi-misi {
	margin-bottom: 20px;
	padding: 20px;
	background: var(--rs-bg);
	border-radius: var(--rs-radius);
}
.rs-visi-misi h3 {
	margin-bottom: 8px;
	color: var(--rs-primary);
}
.rs-visi-misi p {
	margin: 0;
	line-height: 1.7;
}

/* ── Card Grid ── */
.rs-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}
.rs-card {
	background: var(--rs-white);
	border: 1px solid var(--rs-border);
	border-radius: var(--rs-radius-lg);
	padding: 24px;
	box-shadow: var(--rs-shadow-md);
	transition: box-shadow .2s;
}
.rs-card:hover {
	box-shadow: var(--rs-shadow-lg);
}
.rs-card__icon {
	margin-bottom: 12px;
}
.rs-card__icon img {
	border-radius: var(--rs-radius);
	object-fit: cover;
}
.rs-card__title {
	font-size: 1.05rem;
	font-weight: 600;
	margin: 0 0 8px;
}
.rs-card__desc {
	font-size: .9rem;
	color: var(--rs-text-light);
	margin: 8px 0 0;
	line-height: 1.6;
}
.rs-card__title {
	display: flex;
	align-items: center;
	gap: 8px;
}
.rs-card__title svg {
	color: var(--rs-primary);
	flex-shrink: 0;
}
.rs-card__detail {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: .9rem;
	color: var(--rs-text-light);
	margin: 10px 0 0;
	line-height: 1.5;
}
.rs-card__detail svg {
	color: #94a3b8;
	flex-shrink: 0;
	margin-top: 2px;
}
.rs-card__detail a {
	color: var(--rs-primary);
	text-decoration: none;
}
.rs-card__detail a:hover {
	text-decoration: underline;
}
.rs-card--link {
	text-decoration: none;
	color: var(--rs-text);
	transition: box-shadow .2s, transform .15s;
}
.rs-card--link:hover {
	box-shadow: var(--rs-shadow-md);
	transform: translateY(-2px);
}
.rs-card__thumb {
	margin: -24px -24px 16px;
	overflow: hidden;
}
.rs-card__thumb img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
	transition: transform .3s;
}
.rs-card--link:hover .rs-card__thumb img {
	transform: scale(1.05);
}
.rs-card--has-img {
	padding: 0;
	overflow: hidden;
}
.rs-card--has-img .rs-card__img img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}
.rs-card--has-img .rs-card__body {
	padding: 20px;
}
.rs-card--highlight {
	border-left: 4px solid var(--rs-accent);
}
.rs-card__tech {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--rs-border);
	font-size: .85rem;
	color: var(--rs-text-light);
}
.rs-card__tech strong {
	color: var(--rs-text);
}

/* ── Info Columns (BPJS / Payment) ── */
.rs-info-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}
.rs-info-block {
	background: var(--rs-bg);
	padding: 24px;
	border-radius: var(--rs-radius-lg);
}
.rs-info-block h3 {
	margin-bottom: 12px;
}
.rs-list {
	list-style: none;
	padding: 0;
	margin: 8px 0 0;
}
.rs-list li {
	padding: 6px 0;
	border-bottom: 1px solid var(--rs-border);
	font-size: .9rem;
}
.rs-list li:last-child {
	border-bottom: none;
}

/* ── Tabs (Prosedur) ── */
.rs-tabs__nav {
	display: flex;
	gap: 10px;
	border-bottom: 2px solid var(--rs-border);
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	white-space: nowrap;
	padding-right: 10px;
}
.rs-tabs__nav::-webkit-scrollbar { display: none; }
.rs-tabs__btn {
	padding: 12px 20px;
	background: none;
	cursor: pointer;
	font-size: .9rem;
	font-weight: 500;
	color: var(--rs-text-light);
	border-bottom: 2px solid transparent;
	white-space: nowrap;
	transition: color .2s, border-color .2s;
}
.rs-tabs__btn:hover,
.rs-tabs__btn.is-active {
	color: var(--rs-primary);
	border-bottom-color: 1px solid var(--rs-primary);
	box-shadow: var(--rs-shadow-lg);
	background: var(--rs-primary-dark);
	color: var(--rs-bg);
}
.rs-tabs__panel {
	padding: 24px 0;
}
.rs-tabs__panel[hidden] {
	display: none;
}

/* ── Lokasi Grid ── */
.rs-lokasi-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: start;
}
@media (max-width: 768px) {
	.rs-lokasi-grid {
		grid-template-columns: 1fr;
	}
}
.rs-lokasi-info {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 10px;
}
table.rs-schedule-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .9rem;
	border-radius: var(--rs-radius);
	margin-top: 10px;
}
.rs-schedule-table td {
	padding: 5px 10px !important;
	border-bottom: 1px solid var(--rs-border);
}
rs-schedule-table tr{
	padding: 10px 0;
}
.rs-schedule-table tr:last-child td {
	border-bottom: none;
}
.rs-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}
.rs-social-links a {
	display: inline-block;
	padding: 6px 14px;
	background: var(--rs-primary);
	color: var(--rs-white);
	border-radius: 20px;
	text-decoration: none;
	font-size: .82rem;
	font-weight: 500;
	transition: background .2s;
}
.rs-social-links a:hover {
	background: var(--rs-primary-dark);
}

/* ── Map Embed ── */
.rs-map-embed {
	border-radius: var(--rs-radius-lg);
	overflow: hidden;
	background: var(--rs-border);
}
.rs-map-embed iframe {
	width: 100%;
	height: 350px;
	border: 0;
	display: block;
}
.rs-map-embed--small iframe {
	height: 200px;
}

/* ── Gallery ── */
.rs-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
}
.rs-gallery__item {
	display: block;
	border-radius: var(--rs-radius);
	overflow: hidden;
	aspect-ratio: 4/3;
}
.rs-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s;
}
.rs-gallery__item:hover img {
	transform: scale(1.05);
}
.rs-video-embed {
	margin-top: 24px;
	border-radius: var(--rs-radius-lg);
	overflow: hidden;
}
.rs-video-embed iframe {
	width: 100%;
	aspect-ratio: 16/9;
	border: 0;
	display: block;
}

.rs-job-meta {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

/* ── Archive ── */
.rs-archive {
	padding: 10px 0;
}
.rs-archive__header {
	margin-bottom: 24px;
}
.rs-archive__header h1 {
	font-weight: 700;
	color: var(--rs-text);
	margin: 0;
}
.rs-filter {
	margin-bottom: 32px;
}
.rs-filter__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}
.rs-filter__input,
.rs-filter__select {
	padding: 10px 14px;
	border: 1px solid var(--rs-border);
	border-radius: var(--rs-radius);
	font-size: .9rem;
	background: var(--rs-white);
	color: var(--rs-text);
	min-width: 160px;
}
.rs-filter__input {
	flex: 1;
	min-width: 200px;
}
.rs-filter__input:focus,
.rs-filter__select:focus {
	outline: none;
	border-color: var(--rs-primary);
	box-shadow: 0 0 0 3px rgba(12,110,95,.1);
}
.rs-filter__btn {
	padding: 10px 24px;
	background: var(--rs-primary);
	color: var(--rs-white);
	border: none;
	border-radius: var(--rs-radius);
	font-size: .9rem;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s;
}
.rs-filter__btn:hover {
	background: var(--rs-primary-dark);
}
.rs-card-grid--archive {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ── Archive Card (Hermina-style) ── */
.rs-acard {
	background: var(--rs-white);
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0,0,0,.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .25s, transform .2s;
}
.rs-acard:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	transform: translateY(-3px);
}
.rs-acard__link {
	display: block;
	text-decoration: none;
}
.rs-acard__img {
	aspect-ratio: 4/3;
	overflow: hidden;
	background: var(--rs-bg);
}
.rs-acard__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s;
}
.rs-acard:hover .rs-acard__img img {
	transform: scale(1.05);
}
.rs-acard__img-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--rs-bg) 0%, var(--rs-border) 100%);
}
.rs-acard__cta {
	padding: 16px 20px 0;
}
.rs-acard__call {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 18px;
	border: 2px solid var(--rs-primary);
	border-radius: 24px;
	color: var(--rs-primary);
	font-size: .85rem;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s, color .2s;
}
.rs-acard__call svg {
	flex-shrink: 0;
}
.rs-acard__call:hover {
	background: var(--rs-primary);
	color: var(--rs-white);
}
.rs-acard__body {
	padding: 14px 20px 22px;
}
.rs-acard__title {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 6px;
	line-height: 1.35;
}
.rs-acard__title a {
	color: var(--rs-text);
	text-decoration: none;
}
.rs-acard__title a:hover {
	color: var(--rs-primary);
}
.rs-acard__address {
	font-size: .88rem;
	color: var(--rs-text-light);
	margin: 0;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
/* ── Job Card (jcard) ── */
.rs-card-grid--archive:has(.jcard) {
	grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) {
	.rs-card-grid--archive:has(.jcard) {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) {
	.rs-card-grid--archive:has(.jcard) {
		grid-template-columns: 1fr;
	}
}
.jcard {
	display: flex;
	flex-direction: column;
	background: var(--rs-white);
	border-radius: 16px;
	box-shadow: 0 1px 8px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
	padding: 28px 26px 22px;
	text-decoration: none;
	color: var(--rs-text);
	transition: box-shadow .25s, transform .2s;
}
.jcard:hover {
	box-shadow: 0 6px 28px rgba(0,0,0,.1);
	transform: translateY(-2px);
}
.jcard__header {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--rs-border);
	margin-bottom: 20px;
}
.jcard__logo {
	width: 52px;
	height: 52px;
	border-radius: 10px;
	object-fit: contain;
	background: var(--rs-bg);
	padding: 4px;
	flex-shrink: 0;
	border: 1px solid var(--rs-border);
}
.jcard__title {
	font-size: 1rem;
	font-weight: 800;
	margin: 0 0 4px;
	line-height: 1.3;
	color: var(--rs-text);
	text-transform: uppercase;
	letter-spacing: .01em;
}
.jcard__company {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: .84rem;
	color: var(--rs-text-light);
}
.jcard__company::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	background: var(--rs-primary);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") center / contain no-repeat;
	flex-shrink: 0;
}
.jcard__details {
	list-style: none;
	padding: 0;
	margin: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.jcard__details li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: .92rem;
	color: var(--rs-text);
	line-height: 1.3;
}
.jcard__details svg {
	color: #94a3b8;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}
.jcard__footer {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--rs-border);
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px;
	font-size: .8rem;
	color: #94a3b8;
}

.rs-pagination {
	margin-top: 40px;
	text-align: center;
}
.rs-pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	margin: 0 2px;
	border-radius: var(--rs-radius);
	text-decoration: none;
	font-size: .9rem;
	color: var(--rs-text);
	border: 1px solid var(--rs-border);
	transition: background .2s;
}
.rs-pagination .page-numbers.current,
.rs-pagination .page-numbers:hover {
	background: var(--rs-primary);
	color: var(--rs-white);
	border-color: var(--rs-primary);
}
.rs-no-results {
	text-align: center;
	padding: 60px 20px;
	color: var(--rs-text-light);
	font-size: 1.1rem;
}

/* ── Single Job ── */
.rs-job-header {
	padding: 20px 0;
	border-bottom: 1px solid var(--rs-border);
	background: #ffff;
	border-radius: var(--rs-radius);
}
.rs-job-header h1 {
	margin: 0 0 12px;
}
.rs-job-header__meta {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}
.rs-job-header__rs {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}
.rs-job-header__rs-logo {
	border-radius: var(--rs-radius);
	object-fit: contain;
}
.rs-job-header__rs a {
	font-weight: 600;
	color: var(--rs-primary);
	text-decoration: none;
}
.rs-job-header__dates {
	display: flex;
	gap: 20px;
	font-size: .85rem;
	color: var(--rs-text-light);
}
.rs-job-body .rs-section {
	padding: 24px 0;
}
.rs-job-rs-info {
	display: flex;
	gap: 20px;
	align-items: start;
}
.rs-job-rs-info__img {
	width: 120px;
	height: 80px;
	object-fit: cover;
	border-radius: var(--rs-radius);
	flex-shrink: 0;
}
.rs-job-rs-info h3 a {
	color: var(--rs-primary);
	text-decoration: none;
}
@media (max-width: 600px) {
	.rs-job-rs-info {
		flex-direction: column;
	}
}

/* ── Responsive ── */
@media (max-width: 768px) {
	.rs-hero { min-height: 260px; }
	.rs-hero__content { padding: 24px 16px; }
	.rs-card-grid { grid-template-columns: 1fr; }
	.rs-gallery { grid-template-columns: repeat(2, 1fr); }
	.rs-info-columns { grid-template-columns: 1fr; }
	.rs-filter__fields { flex-direction: column; }
	.rs-filter__input,
	.rs-filter__select { width: 100%; min-width: 0; }
}
.rs-filter__input[type="text"]{
	border-color: var(--rs-border);
}
@media (max-width: 768px) {
	.rs-archive {
		padding: 0px 5px !important;
	}
	.rs-filter{
		background: #ffff;
		padding: 10px 5px;
		border-radius: var(--rs-radius);
		margin-bottom: 10px;
	}
}

/* ============================================
   Frontpage Styles
   ============================================ */

/* ── FP Hero ── */
.fp-hero {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--rs-primary-dark) 0%, var(--rs-primary) 50%, #0a9b8a 100%);
	color: var(--rs-white);
	overflow: hidden;
	text-align: center;
}
.fp-hero__overlay {
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.fp-hero__content {
	position: relative;
	z-index: 1;
	padding: 60px 20px;
}
.fp-hero__title {
	font-size: clamp(1.8rem, 5vw, 2.8rem);
	font-weight: 800;
	margin: 0 0 16px;
	line-height: 1.15;
}
.fp-hero__tagline {
	font-size: clamp(.95rem, 2vw, 1.15rem);
	opacity: .85;
	max-width: 600px;
	margin: 0 auto 36px;
	line-height: 1.6;
}

/* ── FP Quick Links ── */
.fp-quick-links {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 14px;
	max-width: 700px;
	margin: 0 auto;
}
.fp-quick-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 18px 8px;
	background: rgba(255,255,255,.12);
	backdrop-filter: blur(8px);
	border-radius: var(--rs-radius-lg);
	color: var(--rs-white);
	text-decoration: none;
	font-size: .78rem;
	font-weight: 600;
	transition: background .2s, transform .15s;
}
.fp-quick-link:hover {
	background: rgba(255,255,255,.25);
	transform: translateY(-3px);
}
.fp-quick-link__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	background: rgba(255,255,255,.15);
	border-radius: 50%;
}
@media (max-width: 640px) {
	.fp-quick-links {
		grid-template-columns: repeat(3, 1fr);
	}
	.fp-hero { min-height: 360px; }
}

/* ── FP Sections ── */
.fp-sections {
	background: var(--rs-bg);
}
.fp-section {
	padding: 48px 0;
}
.fp-section + .fp-section {
	border-top: 1px solid var(--rs-border);
}
.fp-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 28px;
	flex-wrap: wrap;
	gap: 12px;
}
.fp-section__header h2 {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--rs-text);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}
.fp-section__header h2 svg {
	color: var(--rs-primary);
	flex-shrink: 0;
}
.fp-section__more {
	font-size: .88rem;
	font-weight: 600;
	color: var(--rs-primary);
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s;
}
.fp-section__more:hover {
	color: var(--rs-primary-dark);
}

/* ── FP Post Grid ── */
.fp-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}
.fp-post-card {
	display: flex;
	background: var(--rs-white);
	border-radius: var(--rs-radius-lg);
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
	text-decoration: none;
	color: var(--rs-text);
	transition: box-shadow .2s, transform .15s;
}
.fp-post-card:hover {
	box-shadow: 0 6px 20px rgba(0,0,0,.1);
	transform: translateY(-2px);
}
.fp-post-card__img {
	flex-shrink: 0;
	width: 140px;
}
.fp-post-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.fp-post-card__body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.fp-post-card__title {
	font-size: .95rem;
	font-weight: 700;
	margin: 0 0 8px;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.fp-post-card__excerpt {
	font-size: .82rem;
	color: var(--rs-text-light);
	margin: 0;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}
.fp-post-card__date {
	font-size: .75rem;
	color: #94a3b8;
	margin-top: 8px;
}
@media (max-width: 600px) {
	.fp-post-card {
		flex-direction: column;
	}
	.fp-post-card__img {
		width: 100%;
		height: 160px;
	}
	.fp-post-grid {
		grid-template-columns: 1fr;
	}
	.fp-section{
		padding:48px 5px
	}
}

/* ============================================
   Watermark Overlay
   ============================================ */
.wm-wrap {
	position: relative !important;
	overflow: hidden;
}
.wm-wrap > img,
.wm-wrap > a {
	display: block;
}
.wm-wrap > a img {
	display: block;
	width: 100%;
}
.wm-wrap::before {
	content: var(--wm-site-name, "");
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3;
	padding: 6px 8px;
	background: var(--rs-primary);
	color: var(--rs-white);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .03em;
	line-height: 1;
	white-space: nowrap;
	text-align: left;
	pointer-events: none;
}