/* ==========================================================================
   Rrjeti Rajonal – main stylesheet (mobile first)
   Colours are tokens: change them here and the whole site follows.
   ========================================================================== */

:root {
	/* Same palette as the Elementor kit (Elementor → Site Settings → Variables) */
	--rr-navy: #0b3d5c;           /* rr-primary */
	--rr-navy-dark: #082d44;      /* rr-primary-hover */
	--rr-primary: #0e7c7b;        /* rr-secondary – teal: links, buttons */
	--rr-primary-dark: #0a5e5d;
	--rr-primary-soft: #e4f1f0;   /* rr-secondary-soft */
	--rr-accent: #e3a33b;         /* rr-accent */
	--rr-accent-hover: #edb75c;
	--rr-text: #1c2530;
	--rr-muted: #5b6776;
	--rr-border: #dde3e9;
	--rr-bg: #ffffff;
	--rr-bg-alt: #f5f7f9;
	--rr-bg-blue: #eef3f7;        /* rr-surface-blue */
	--rr-on-dark-muted: #c9d6e0;
	--rr-radius: 14px;            /* cards, panels */
	--rr-radius-control: 10px;    /* buttons, inputs */
	--rr-shadow: 0 1px 2px rgba(11, 61, 92, .06), 0 8px 24px rgba(11, 61, 92, .08);
	--rr-wrap: 1180px;
	--rr-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--rr-font-heading: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Base ------------------------------------------------------------------- */
body {
	margin: 0;
	background: var(--rr-bg);
	color: var(--rr-text);
	font-family: var(--rr-font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}
a { color: var(--rr-primary); }
a:hover { color: var(--rr-primary-dark); }
:focus-visible { outline: 3px solid var(--rr-accent); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; color: var(--rr-navy); font-weight: 800; font-family: var(--rr-font-heading); letter-spacing: -.015em; }
h1 { font-size: clamp(1.75rem, 4.5vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; margin: .3em 0 .4em; }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); margin: 0 0 .6em; }
h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .4em; }
img { max-width: 100%; height: auto; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	background: #fff; padding: 8px 14px; border-radius: 6px;
}

.rr-wrap { max-width: var(--rr-wrap); margin: 0 auto; padding: 0 16px; }
.rr-section { padding-top: 24px; padding-bottom: 48px; }

/* Buttons ---------------------------------------------------------------- */
.rr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--rr-radius-control);
	background: var(--rr-primary); color: #fff !important; font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s;
}
.rr-btn:hover { background: var(--rr-primary-dark); }
.rr-btn--small { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.rr-btn--ghost { background: transparent; color: var(--rr-primary) !important; box-shadow: inset 0 0 0 1.5px var(--rr-primary); }
.rr-btn--ghost:hover { background: var(--rr-primary-soft); }

/* Header ----------------------------------------------------------------- */
.rr-header { background: #fff; border-bottom: 1px solid var(--rr-border); position: relative; z-index: 50; }
.rr-header__top { background: var(--rr-bg-alt); border-bottom: 1px solid var(--rr-border); }
.rr-header__top-inner { display: flex; justify-content: flex-end; padding-top: 8px; padding-bottom: 8px; }
.rr-header__main { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }

.rr-brand { display: flex; flex-direction: column; text-decoration: none; color: var(--rr-text); padding: 8px 0; }
.rr-brand__name { font-size: 1.25rem; font-weight: 800; color: var(--rr-navy); font-family: var(--rr-font-heading); letter-spacing: -.01em; line-height: 1.1; }
.rr-brand__tag { font-size: .82rem; color: var(--rr-muted); line-height: 1.3; }
.rr-brand__logo { max-height: 52px; width: auto; }
/* Logo + wordmark side by side: the vertical lettering in the mark is too small to read on its own */
.rr-brand:has(.rr-brand__logo) { flex-direction: row; align-items: center; gap: 12px; }
.rr-brand__text { display: flex; flex-direction: column; }
.rr-brand__text .rr-brand__name { font-size: 1.05rem; }
.rr-brand__text .rr-brand__tag { font-size: .75rem; }
@media (min-width: 1024px) {
	.rr-brand__text .rr-brand__name { font-size: 1.2rem; }
	.rr-brand__text .rr-brand__tag { font-size: .8rem; white-space: nowrap; }
}
@media (max-width: 479px) { .rr-brand__text .rr-brand__tag { display: none; } }

/* Partner logos (header + footer) */
.rr-partners { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.rr-partner { display: flex; align-items: center; gap: 8px; }
.rr-partner__role { font-size: .8rem; color: var(--rr-muted); }
.rr-partners--header .rr-logo-img { height: 38px; width: auto; max-width: none; }
@media (min-width: 1024px) { .rr-partners--header .rr-logo-img { height: 48px; } }
.rr-partners--footer .rr-logo-img { height: 60px; width: auto; max-width: none; }
@media (min-width: 1024px) { .rr-partners--footer .rr-logo-img { height: 80px; } }
.rr-logo-placeholder {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 84px; height: 30px; padding: 0 10px; border: 1px dashed var(--rr-muted);
	border-radius: 4px; font-size: .75rem; color: var(--rr-muted);
}
.rr-partners--footer .rr-logo-placeholder { height: 60px; min-width: 120px; }

/* Navigation: mobile drawer, desktop inline */
.rr-menu-toggle {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
	background: #fff; color: var(--rr-navy); border: 1px solid var(--rr-border); border-radius: var(--rr-radius-control);
	font: inherit; font-weight: 600; cursor: pointer;
}
.rr-menu-toggle__bars, .rr-menu-toggle__bars::before, .rr-menu-toggle__bars::after {
	display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: "";
}
.rr-menu-toggle__bars::before { position: absolute; top: -6px; }
.rr-menu-toggle__bars::after { position: absolute; top: 6px; }

.rr-nav { display: none; width: 100%; padding: 4px 0 18px; }
.rr-nav.is-open { display: block; }
.rr-nav__list { list-style: none; margin: 0; padding: 0; }
.rr-nav__list a {
	display: block; padding: 12px 4px; border-bottom: 1px solid var(--rr-border);
	color: var(--rr-text); text-decoration: none; font-weight: 600;
}
.rr-nav__list .current-menu-item > a,
.rr-nav__list .current-menu-ancestor > a,
.rr-nav__list a:hover { color: var(--rr-primary); }
.rr-nav__list .sub-menu { list-style: none; padding-left: 16px; margin: 0; }
.rr-nav__search { margin-top: 14px; }

/* Inline menu only from 1200px: below that the logo, seven links and search do not fit on one line */
@media (min-width: 1200px) {
	.rr-menu-toggle { display: none; }
	.rr-header__main { flex-wrap: nowrap; }
	.rr-brand { flex-shrink: 0; }
	.rr-brand__text { white-space: nowrap; }
	.rr-brand__text .rr-brand__tag { font-size: .76rem; }
	.rr-nav { display: flex !important; align-items: center; gap: 14px; width: auto; padding: 0; }
	.rr-nav__list { display: flex; gap: 2px; }
	.rr-nav__list > li { position: relative; }
	.rr-nav__list a { border: 0; padding: 10px 8px; border-radius: 6px; font-size: .96rem; white-space: nowrap; }
	.rr-nav__list .sub-menu {
		display: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 6px;
		background: #fff; border: 1px solid var(--rr-border); border-radius: 8px; box-shadow: var(--rr-shadow);
	}
	.rr-nav__list li:hover > .sub-menu, .rr-nav__list li:focus-within > .sub-menu { display: block; }
	.rr-nav__search { margin: 0; }
	.rr-nav__search .rr-search input { width: 170px; }
}

/* Search form ------------------------------------------------------------ */
.rr-search { display: flex; gap: 8px; }
.rr-search input, .rr-filters input, .rr-filters select {
	flex: 1; min-height: 48px; padding: 0 14px; border: 1px solid #c9d2db; border-radius: var(--rr-radius-control);
	background: #fff; font: inherit; font-size: 16px; color: var(--rr-text); width: 100%; box-sizing: border-box;
}
.rr-search input:focus, .rr-filters input:focus, .rr-filters select:focus { border-color: var(--rr-primary); outline: none; box-shadow: 0 0 0 3px var(--rr-primary-soft); }

/* Page heads ------------------------------------------------------------- */
.rr-page-head { background: var(--rr-bg-blue); padding: 36px 0 32px; border-bottom: 1px solid var(--rr-border); }
@media (min-width: 960px) { .rr-page-head { padding: 56px 0 44px; } }
.rr-lead { font-size: 1.08rem; line-height: 1.65; color: var(--rr-muted); max-width: 680px; margin: 0; }
.rr-back { display: inline-block; margin-bottom: 10px; font-size: .92rem; font-weight: 500; text-decoration: none; }
.rr-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.rr-page-head .rr-btn { margin-top: 8px; }
.rr-page-head .rr-search { max-width: 640px; margin: 8px 0; }

/* Filters ---------------------------------------------------------------- */
.rr-filters {
	display: grid; gap: 10px; padding: 14px; background: var(--rr-bg-alt);
	border: 1px solid var(--rr-border); border-radius: var(--rr-radius);
}
.rr-filter { display: block; }
.rr-filters__actions { display: flex; align-items: center; gap: 14px; }
.rr-filters__actions .rr-btn { flex: 1; }
.rr-link-reset { font-size: .92rem; }
@media (min-width: 720px) {
	.rr-filters { grid-template-columns: 2fr 1fr 1fr; }
	.rr-filters:has(.rr-filter:nth-of-type(4)) { grid-template-columns: 2fr 1fr 1fr 1fr; }
	.rr-filters__actions { grid-column: 1 / -1; justify-content: flex-start; }
	.rr-filters__actions .rr-btn { flex: 0 0 auto; }
}

.rr-results-count { color: var(--rr-muted); font-size: .95rem; margin: 14px 0 6px; min-height: 1em; }
.rr-note {
	font-size: .9rem; color: var(--rr-muted); background: #fff; border-left: 3px solid var(--rr-primary);
	padding: 8px 12px; margin: 14px 0;
}

/* Cards ------------------------------------------------------------------ */
.rr-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 12px 0 24px; }
@media (min-width: 640px) { .rr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rr-grid { grid-template-columns: repeat(3, 1fr); } }

.rr-card {
	position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; background: #fff;
	border: 1px solid var(--rr-border); border-radius: var(--rr-radius);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.rr-card:hover { border-color: var(--rr-primary); box-shadow: var(--rr-shadow); }
@media (prefers-reduced-motion: no-preference) { .rr-card:hover { transform: translateY(-2px); } }
.rr-card__title { font-size: 1.12rem; font-weight: 700; line-height: 1.3; margin: 0; letter-spacing: -.01em; }
.rr-card__title a, .elementor .rr-card__title a { color: var(--rr-navy); text-decoration: none; }
/* The whole card is clickable through the title link (chips inside cards are plain text, not links) */
.rr-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.rr-card__title a:focus-visible { outline: none; }
.rr-card:has(.rr-card__title a:focus-visible) { outline: 3px solid var(--rr-accent); outline-offset: 2px; }
.rr-card__actions .rr-btn, .rr-card__actions .rr-card__more { position: relative; z-index: 1; }
.rr-card__text { color: var(--rr-muted); margin: 0; font-size: .96rem; line-height: 1.55; }
.rr-card__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.rr-card__place { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9rem; }
.rr-card__label { color: var(--rr-muted); }
.rr-card__more, .elementor .rr-card__more { margin-top: auto; padding-top: 8px; font-weight: 600; text-decoration: none; font-size: .95rem; color: var(--rr-primary); }
.rr-card:hover .rr-card__more { text-decoration: underline; text-underline-offset: 3px; }
/* In cards the sector reads as a quiet label, not a pill */
.rr-card__meta .rr-chip--sektori, .rr-card__meta .rr-chip--lloji_burimit {
	padding: 0; background: none; border-radius: 0; color: var(--rr-primary-dark); font-size: .84rem;
}
.rr-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.rr-card__date { font-size: .85rem; color: var(--rr-muted); }
.rr-card__image { display: block; margin: -18px -18px 4px; border-radius: var(--rr-radius) var(--rr-radius) 0 0; overflow: hidden; }
.rr-card__image img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.rr-card__head { display: flex; gap: 12px; align-items: center; }
.rr-card__logo {
	flex: 0 0 56px; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--rr-primary-soft);
	display: flex; align-items: center; justify-content: center; color: var(--rr-primary); font-weight: 800; font-size: 1.4rem;
}
.rr-card__logo img { width: 100%; height: 100%; object-fit: contain; }

/* Chips & status */
.rr-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.rr-chip {
	display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600;
	background: var(--rr-primary-soft); color: var(--rr-primary-dark); text-decoration: none; line-height: 1.6;
}
a.rr-chip:hover { background: #d3e9e9; }
.rr-chip--komuna { background: var(--rr-bg-alt); box-shadow: inset 0 0 0 1px var(--rr-border); color: var(--rr-text); }
.rr-chip--fqinje { background: #fff; box-shadow: none; border: 1px dashed #8a96a3; color: var(--rr-muted); font-weight: 500; }
/* Status: a coloured dot plus text, so it never competes with the title */
.rr-status { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 500; color: var(--rr-muted); }
.rr-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rr-accent); flex: 0 0 8px; }
.rr-status--zbatim::before { background: var(--rr-primary); }
.rr-status--realizuar::before { background: var(--rr-navy); }

.rr-empty { padding: 28px; text-align: center; background: var(--rr-bg-alt); border-radius: var(--rr-radius); color: var(--rr-muted); }

/* Pagination */
.rr-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; justify-content: center; }
.rr-pagination a, .rr-pagination span {
	display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center;
	padding: 0 12px; border: 1px solid var(--rr-border); border-radius: 8px; text-decoration: none;
}
.rr-pagination .current { background: var(--rr-primary); color: #fff; border-color: var(--rr-primary); }

/* CTA box */
.rr-cta-box {
	margin-top: 32px; padding: 28px; border-radius: var(--rr-radius);
	background: var(--rr-navy); color: var(--rr-on-dark-muted);
}
@media (min-width: 720px) { .rr-cta-box { padding: 36px 40px; } }
.rr-cta-box h2 { color: #fff; }
.rr-cta-box .rr-btn { background: var(--rr-accent); color: var(--rr-text) !important; }
.rr-cta-box .rr-btn:hover { background: var(--rr-accent-hover); }

/* Single pages ----------------------------------------------------------- */
.rr-single__layout { display: grid; gap: 24px; padding-top: 24px; padding-bottom: 48px; }
@media (min-width: 960px) { .rr-single__layout { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); align-items: start; } }
.rr-block { margin-bottom: 28px; }
.rr-content > :first-child { margin-top: 0; }
.rr-single__side { display: grid; gap: 16px; }
@media (min-width: 960px) { .rr-single__side { position: sticky; top: 16px; } }
/* On phones the key facts come before the long description and the interest form */
@media (max-width: 959px) { .rr-single__side { order: -1; } }

.rr-facts { margin: 0; padding: 20px; background: #fff; border: 1px solid var(--rr-border); border-radius: var(--rr-radius); }
.rr-facts dt { font-size: .84rem; font-weight: 500; color: var(--rr-muted); }
.rr-facts dd { margin: 4px 0 14px; }
.rr-facts dd:last-child { margin-bottom: 0; }

.rr-contact { padding: 16px; border: 1px solid var(--rr-border); border-radius: var(--rr-radius); }
.rr-contact h2 { font-size: 1.05rem; }
.rr-contact ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.rr-contact a { word-break: break-word; }

.rr-actor-head__row { display: flex; gap: 16px; align-items: center; }
.rr-actor-head__logo { flex: 0 0 auto; width: 88px; height: 88px; background: #fff; border-radius: 10px; border: 1px solid var(--rr-border); padding: 6px; box-sizing: border-box; }
.rr-actor-head__logo img { width: 100%; height: 100%; object-fit: contain; }

.rr-interest { padding: 22px; border-radius: var(--rr-radius); background: var(--rr-bg-alt); border: 1px solid var(--rr-border); scroll-margin-top: 16px; }
.rr-cover img { border-radius: var(--rr-radius); border: 1px solid var(--rr-border); }

/* Search results */
.rr-search-results { list-style: none; padding: 0; margin: 0; }
.rr-search-result { padding: 16px 0; border-bottom: 1px solid var(--rr-border); }
.rr-search-result h2 { font-size: 1.12rem; margin: 6px 0 4px; }
.rr-search-result h2 a { text-decoration: none; }
.rr-search-result p { margin: 0; color: var(--rr-muted); }

/* Footer ----------------------------------------------------------------- */
.rr-footer { background: var(--rr-navy); color: var(--rr-on-dark-muted); margin-top: 0; font-size: .95rem; }
.rr-footer a { color: #fff; }
.rr-footer__grid { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 28px; }
@media (min-width: 900px) { .rr-footer__grid { grid-template-columns: 1.6fr 1fr; } }
.rr-footer__title { color: #fff; font-weight: 700; font-size: 1.05rem; margin-top: 0; }
.rr-footer__list, .rr-footer .rr-nav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rr-footer .rr-nav__list a, .rr-footer__list a { display: inline-block; padding: 6px 0; border: 0; color: #fff; font-weight: 500; text-decoration: none; }
.rr-footer .rr-nav__list a:hover, .rr-footer__list a:hover { text-decoration: underline; }
.rr-footer__legal { background: var(--rr-navy-dark); border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0 22px; font-size: .86rem; }
.rr-disclaimer { margin: 0 0 6px; color: #e3eef0; max-width: 860px; }
.rr-copy { margin: 0; color: var(--rr-on-dark-muted); }

/* Elementor pages: let Elementor control width, but keep our gutters */
.elementor-page .rr-main { overflow-x: clip; }

/* Forms (Phase 2) -------------------------------------------------------- */
.rr-form { display: grid; gap: 16px; max-width: 760px; cursor: auto; text-align: left; font-family: var(--rr-font); color: var(--rr-text); line-height: 1.5; }
.rr-form__heading { margin: 12px 0 0; font-size: 1.1rem; padding-top: 12px; border-top: 1px solid var(--rr-border); }
.rr-form__heading:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.rr-field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.rr-field > label, .rr-field > legend { font-weight: 600; font-size: .98rem; padding: 0; }
.rr-field__help { font-size: .88rem; color: var(--rr-muted); }
.rr-req { color: #b42318; }
.rr-form input[type="text"], .rr-form input[type="email"], .rr-form input[type="tel"], .rr-form input[type="url"],
.rr-form select, .rr-form textarea {
	width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 1px solid #c3ccd5;
	border-radius: var(--rr-radius-control); background: #fff; font: inherit; font-size: 16px; color: var(--rr-text); cursor: text;
}
.rr-form select { cursor: pointer; }
.rr-form textarea { min-height: 130px; resize: vertical; }
.rr-form input:focus, .rr-form select:focus, .rr-form textarea:focus { outline: none; border-color: var(--rr-primary); box-shadow: 0 0 0 3px var(--rr-primary-soft); }
.rr-field.has-error input, .rr-field.has-error select, .rr-field.has-error textarea { border-color: #b42318; }
.rr-checks { display: grid; gap: 6px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .rr-checks { grid-template-columns: 1fr 1fr; } }
.rr-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.rr-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 20px; accent-color: var(--rr-primary); cursor: pointer; }
.rr-check--consent { font-size: .93rem; }
.rr-field--checkbox.has-error .rr-check { color: #b42318; }
.rr-form__required-note { margin: 0; font-size: .85rem; color: var(--rr-muted); }
.rr-form .rr-btn { justify-self: start; min-width: 200px; }
@media (max-width: 599px) { .rr-form .rr-btn { justify-self: stretch; } }
.rr-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rr-form-errors { padding: 14px 16px; border-radius: 8px; background: #fdf0ee; border: 1px solid #f1c4bd; color: #7a1d14; }
.rr-form-errors p, .rr-form-errors ul { margin: 0; }
.rr-form-errors ul { padding-left: 20px; margin-top: 6px; }
.rr-form-success { padding: 18px 20px; border-radius: 10px; background: #e8f4ee; border: 1px solid #b9dcc8; color: #154d31; font-weight: 600; cursor: auto; }
.rr-form-success p { margin: 0; }

/* News ------------------------------------------------------------------- */
.rr-article { max-width: 760px; }
.rr-article__meta { color: var(--rr-muted); font-size: .92rem; }
.rr-article__image img { width: 100%; border-radius: var(--rr-radius); margin-bottom: 20px; }

/* Map (loads only after a click) ---------------------------------------- */
.rr-map { position: relative; border-radius: var(--rr-radius); overflow: hidden; border: 1px solid var(--rr-border); background: var(--rr-bg-alt); aspect-ratio: 16 / 10; cursor: auto; display: block; }
.rr-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rr-map__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; font-size: .92rem; color: var(--rr-muted); }
.rr-map__consent > span { max-width: 420px; }

/* Shortcode output placed inside Elementor text widgets */
.rr-grid { cursor: auto; }

/* Inline links typed in Elementor text (emails, page links) */
.elementor .e-paragraph-base > a,
.elementor .e-paragraph-base > ul a { color: var(--rr-primary); text-decoration: underline; text-underline-offset: 2px; }
.elementor .e-paragraph-base > a:hover,
.elementor .e-paragraph-base > ul a:hover { color: var(--rr-primary-dark); }
.elementor .e-paragraph-base > ul { margin: .4em 0; padding-left: 1.3em; }

/* Partner logos band at the top of the footer (light, so official logo colours stay readable) */
.rr-footer__partners { background: #fff; color: var(--rr-text); border-top: 1px solid var(--rr-border); padding: 22px 0; }
.rr-footer__partners .rr-partners { justify-content: center; gap: 24px 96px; }
.rr-footer__partners .rr-partner { flex-direction: row; align-items: center; gap: 14px; }
@media (max-width: 599px) { .rr-footer__partners .rr-partners { flex-direction: column; align-items: center; } }
.rr-footer__partners .rr-partner__role { color: var(--rr-muted); font-weight: 600; white-space: nowrap; }

/* Project area panel [rr_zona] ------------------------------------------- */
.rr-zona {
	--z-panel: #0f4a6e; --z-line: #2c6084; --z-off: #5f7f96; --z-dim: #8fa9bc;
	box-sizing: border-box; width: 100%; padding: 26px; border-radius: 16px;
	background: var(--z-panel); border: 1px solid var(--z-line); color: var(--rr-on-dark-muted);
	font-family: var(--rr-font); line-height: 1.55; cursor: auto; text-align: left;
}
@media (max-width: 767px) { .rr-zona { padding: 20px; } }
.rr-zona__title { margin: 0 0 4px; font: 700 18px/1.3 var(--rr-font-heading); color: #fff; }
.rr-zona__lead { margin: 0; font-size: 15px; }
.rr-zona__map { display: block; width: 100%; height: auto; margin: 10px 0 6px; overflow: visible; }

.rr-zona__link { fill: none; stroke: var(--z-off); stroke-width: 1.5; stroke-dasharray: 2 5; opacity: .6; }
.rr-zona__link--zgjerim { stroke: var(--rr-accent); stroke-dasharray: 4 5; opacity: .8; }
.rr-zona__corridor { fill: none; stroke: var(--rr-accent); stroke-width: 4; stroke-linecap: round; }

.rr-zona__hub { cursor: pointer; outline: none; }
.rr-zona__hub circle { fill: var(--rr-navy); stroke: var(--z-off); stroke-width: 3; transition: stroke .2s; transform-box: fill-box; transform-origin: center; }
.rr-zona__hub text { font: 600 13px var(--rr-font); fill: var(--z-dim); transition: fill .2s; }
.rr-zona__hub--aktiv circle { stroke: var(--rr-accent); stroke-width: 5; }
.rr-zona__hub--aktiv text { font: 700 15px var(--rr-font-heading); fill: #fff; }
.rr-zona__hub--zgjerim circle { stroke: var(--rr-accent); stroke-dasharray: 3 3; }
.rr-zona__hub--zgjerim text { fill: var(--rr-on-dark-muted); }
.rr-zona__hub:hover text, .rr-zona__hub[aria-pressed="true"] text { fill: #fff; }
.rr-zona__hub:hover circle, .rr-zona__hub[aria-pressed="true"] circle { stroke: #fff; }
.rr-zona__hub:focus-visible circle { stroke: #fff; stroke-width: 6; }
.rr-zona__sat circle { fill: var(--z-panel); stroke: var(--rr-accent); stroke-width: 1.5; stroke-dasharray: 2 2; }
.rr-zona__sat text { font: 500 12px var(--rr-font); fill: var(--rr-on-dark-muted); }
/* The map scales down on phones: make its labels larger in map units so they stay readable */
@media (max-width: 599px) {
	.rr-zona__hub text { font-size: 16px; }
	.rr-zona__hub--aktiv text { font-size: 18px; }
	.rr-zona__sat text { font-size: 15px; }
}

.rr-zona__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 12.5px; }
.rr-zona__legend li { display: inline-flex; align-items: center; gap: 6px; }
.rr-zona__key { width: 18px; height: 0; border-top: 3px solid var(--rr-accent); }
.rr-zona__key--zgjerim { border-top: 2px dashed var(--rr-accent); }
.rr-zona__key--ardhshem { border-top: 2px dotted var(--z-off); }

.rr-zona__detail { padding-top: 14px; box-shadow: inset 0 1px 0 var(--z-line); }
.rr-zona__name { margin: 0; font: 700 16px/1.3 var(--rr-font-heading); color: #fff; letter-spacing: 0; }
.rr-zona__status { margin: 2px 0 10px; font-size: 13.5px; }
.rr-zona__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rr-zona__chip { font-size: 13px; font-weight: 500; line-height: 1.6; padding: 2px 11px; border-radius: 999px; color: var(--z-dim); border: 1px solid transparent; background: rgba(255, 255, 255, .05); }
.rr-zona__chip--zyrtare { color: var(--rr-navy); background: var(--rr-accent); font-weight: 600; }
.rr-zona__chip--zgjerim { color: #dce6ee; border: 1px dashed #7f9db3; background: none; }
.rr-zona__chip a, .elementor .rr-zona__chip a { color: inherit; text-decoration: none; }
.rr-zona__chip a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Motion: corridors draw themselves, then the network grows around them. Runs once, when scrolled into view. */
@media (prefers-reduced-motion: no-preference) {
	.rr-zona.is-ready .rr-zona__corridor { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); }
	.rr-zona.is-ready .rr-zona__grow, .rr-zona.is-ready .rr-zona__hub--pop { opacity: 0; }
	.rr-zona.is-ready .rr-zona__hub--pop circle { transform: scale(0); }
	.rr-zona.is-playing .rr-zona__corridor { animation: rr-zona-draw 1.2s cubic-bezier(.6, 0, .3, 1) forwards; animation-delay: calc(.3s + var(--n, 0) * 1.2s); }
	.rr-zona.is-playing .rr-zona__hub--pop { animation: rr-zona-fade .3s ease forwards; animation-delay: var(--d, 1.5s); }
	.rr-zona.is-playing .rr-zona__hub--pop circle { animation: rr-zona-pop .45s cubic-bezier(.3, 1.6, .5, 1) forwards; animation-delay: var(--d, 1.5s); }
	.rr-zona.is-playing .rr-zona__grow { animation: rr-zona-fade .5s ease forwards; animation-delay: var(--d, 2s); }
	.rr-zona.is-playing .rr-zona__hub--origin circle { animation: rr-zona-pulse 2.4s ease-out 1.6s 2; }
}
@keyframes rr-zona-draw { to { stroke-dashoffset: 0; } }
@keyframes rr-zona-fade { to { opacity: 1; } }
@keyframes rr-zona-pop { to { transform: scale(1); } }
@keyframes rr-zona-pulse { 0% { stroke-width: 5; } 30% { stroke-width: 9; } 100% { stroke-width: 5; } }

/* "What happens next" under the interest form */
.rr-interest__next { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rr-border); }
.rr-interest__next h3 { margin: 0 0 10px; font-size: 1.05rem; }
.rr-interest__next ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; font-size: .96rem; }
.rr-interest__next li::marker { color: var(--rr-primary); font-weight: 700; }
.rr-interest__privacy { margin: 14px 0 0; font-size: .88rem; color: var(--rr-muted); }

/* Opportunity page: lists from "one item per line" fields, and the source line */
.rr-list { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
ol.rr-list li::marker { color: var(--rr-primary); font-weight: 700; }
.rr-source { border-left-color: var(--rr-navy); margin-top: 4px; }

/* Partner logos link to the partners' websites */
a.rr-partner { text-decoration: none; color: inherit; border-radius: 8px; transition: opacity .2s; }
a.rr-partner:hover { opacity: .8; }
a.rr-partner:hover .rr-partner__role { color: var(--rr-primary); }

/* Actor profile: what they offer / what they look for */
.rr-match { display: grid; gap: 16px; }
@media (min-width: 720px) { .rr-match:has(.rr-match__box + .rr-match__box) { grid-template-columns: 1fr 1fr; } }
.rr-match__box { padding: 20px; border-radius: var(--rr-radius); background: var(--rr-primary-soft); }
.rr-match__box--seek { background: #fdf4e3; }
.rr-match__box h2 { font-size: 1.1rem; margin-bottom: .5em; }
.rr-match__box p, .rr-match__box .rr-list { margin: 0; }
.rr-card__seek { margin: 0; font-size: .9rem; color: var(--rr-text); }
.rr-card__seek strong { color: var(--rr-muted); font-weight: 600; }
