/*
Theme Name: Sikker Ansatt Portal
Theme URI: https://ansatt.skograpport.no/
Author: Raimonds Pragulbickis
Author URI: https://ansatt.skograpport.no/
Description: Commercial employee portal theme for Sikker Skogrydding AS with role-aware automatic module navigation, compact plugin UI, weather/FWI integration and responsive desktop, tablet and mobile layouts.
Version: 1.1.22
Requires at least: 6.7
Tested up to: 6.9.4
Requires PHP: 7.4
Text Domain: sikker-ansatt-portal
*/

:root {
  --hrp-mobile-vh: 100dvh;
  --hrp-bg: #f3f1ea;
  --hrp-bg-soft: #f7f5f0;
  --hrp-surface: #ffffff;
  --hrp-surface-alt: #f7f5ef;
  --hrp-border: rgba(17, 24, 39, 0.10);
  --hrp-border-strong: rgba(28, 71, 49, 0.28);
  --hrp-text: #12231a;
  --hrp-muted: #55655c;
  --hrp-green: #24563a;
  --hrp-green-dark: #1a432d;
  --hrp-green-deep: #133121;
  --hrp-yellow: #d8ba55;
  --hrp-yellow-soft: #e7cf81;
  --hrp-link: #1e5135;
  --hrp-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
  --hrp-shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.08);
  --hrp-radius: 24px;
  --hrp-radius-sm: 16px;
  --hrp-header-h: 92px;
  --hrp-footer-h: 72px;
  --hrp-max: 1320px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--hrp-text);
  background:
    radial-gradient(circle at top left, rgba(216, 186, 85, 0.10), transparent 32%),
    linear-gradient(180deg, #ede8dc 0%, var(--hrp-bg) 26%, #f8f7f4 100%);
  padding-top: var(--hrp-header-h);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body.hrp-authenticated {
  background:
    linear-gradient(180deg, rgba(36, 86, 58, 0.08) 0, rgba(36, 86, 58, 0.02) 240px, transparent 500px),
    linear-gradient(180deg, #f0ede4 0%, #f7f5ef 100%);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.hrp-site-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.hrp-container,
.hrp-header-shell,
.hrp-footer-shell,
.hrp-wrap {
  width: min(calc(100% - 32px), var(--hrp-max));
  margin: 0 auto;
}

.hrp-wrap {
  padding-bottom: 48px;
}

.hrp-wrap--internal {
  display: grid;
  gap: 24px;
  padding-top: 24px;
}

.hrp-wrap--page {
  padding-top: 20px;
}

/* Header */
.hrp-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 16px 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hrp-authenticated .hrp-site-header {
  background: rgba(243, 241, 234, 0.72);
  border-bottom: 1px solid rgba(17, 24, 39, 0.04);
}

html.hrp-nav-open,
html.hrp-nav-open body {
  overflow: hidden;
}

.hrp-guest .hrp-site-header {
  background: rgba(248, 247, 244, 0.72);
}

.hrp-header-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 370px) minmax(0, 1fr);
  min-height: 60px;
  border-radius: 24px;
  overflow: visible;
  box-shadow: var(--hrp-shadow-soft);
}

.hrp-header-brand-panel {
  position: relative;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 14px 40px 14px 22px;
  border-radius: 24px 0 0 24px;
  overflow: hidden;
  z-index: 1;
}

.hrp-header-brand-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: -42px;
  width: 84px;
  height: 100%;
  background: #ffffff;
  transform: skewX(-26deg);
  transform-origin: center;
}

.hrp-header-nav-panel {
  position: relative;
  z-index: 4;
  background: linear-gradient(135deg, var(--hrp-green-dark), var(--hrp-green));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 18px 8px 34px;
  border-radius: 0 24px 24px 0;
}

.hrp-container--guest {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0 4px;
}

.hrp-site-brand,
.hrp-site-brand-link,
.hrp-site-title {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.hrp-site-brand-link {
  position: relative;
  z-index: 2;
}

.hrp-site-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.hrp-custom-logo {
  display: block;
  width: auto;
  max-height: 42px;
}

.hrp-site-brand-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hrp-site-kicker,
.hrp-footer-overline,
.hrp-section-kicker,
.hrp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hrp-site-kicker,
.hrp-footer-overline,
.hrp-section-kicker {
  color: var(--hrp-yellow);
}

.hrp-site-title-text {
  font-size: 20px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--hrp-green-deep);
}

.hrp-site-tagline {
  font-size: 12px;
  color: var(--hrp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.hrp-site-title {
  color: var(--hrp-green-deep);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hrp-site-nav {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 5;
}

.hrp-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hrp-nav-toggle-copy {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.hrp-nav-toggle-label {
  display: inline-flex;
  align-items: center;
}

.hrp-nav-toggle-hint {
  display: none;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.82;
}

.hrp-nav-toggle-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hrp-burger {
  width: 16px;
  height: 12px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.hrp-burger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hrp-nav-panel {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  justify-content: flex-end;
}

.hrp-site-nav-menu,
.hrp-site-nav-actions,
.hrp-lang-switcher {
  display: inline-flex;
  align-items: center;
}

.hrp-site-nav-actions {
  gap: 10px;
  flex-shrink: 0;
}

.hrp-lang-switcher {
  gap: 8px;
}

.hrp-site-nav-list,
.hrp-site-nav-list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hrp-site-nav-list {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hrp-site-nav-list > li {
  position: relative;
}

.hrp-site-nav-list > li.menu-item-has-children::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

.hrp-site-link,
.hrp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.hrp-site-link {
  min-height: 42px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
}

.hrp-site-link:hover,
.hrp-site-link:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.hrp-site-link--cta {
  background: var(--hrp-yellow);
  border-color: rgba(216, 186, 85, 0.55);
  color: var(--hrp-green-deep);
}

.hrp-site-link--cta:hover,
.hrp-site-link--cta:focus-visible {
  background: var(--hrp-yellow-soft);
  border-color: rgba(231, 207, 129, 0.7);
  color: var(--hrp-green-deep);
}

.hrp-site-link--footer {
  color: rgba(255, 255, 255, 0.88);
  min-height: auto;
  padding: 0;
}

.hrp-site-link--footer:hover,
.hrp-site-link--footer:focus-visible {
  border-color: transparent;
  background: transparent;
  color: #ffffff;
}

.hrp-site-nav-list > li.menu-item-has-children > a.hrp-site-link::after {
  content: "▾";
  font-size: 11px;
  opacity: .7;
}

.hrp-site-nav-list .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(18, 35, 26, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.20);
  z-index: 220;
  display: none;
}

.hrp-site-nav-list .sub-menu a.hrp-site-link {
  width: 100%;
  justify-content: space-between;
  padding: 10px 12px;
  min-height: auto;
  border-radius: 12px;
}

.hrp-site-nav-list > li:hover > .sub-menu,
.hrp-site-nav-list > li:focus-within > .sub-menu {
  display: block;
}

.hrp-site-nav-list .sub-menu {
  overflow: visible;
}

.hrp-site-nav-list .sub-menu > li {
  position: relative;
}

.hrp-site-nav-list .sub-menu > li.menu-item-has-children::after {
  content: "";
  position: absolute;
  top: 0;
  right: -10px;
  width: 10px;
  height: 100%;
}

.hrp-site-nav-list .sub-menu > li.menu-item-has-children > a.hrp-site-link::after {
  content: "▸";
  font-size: 11px;
  opacity: .7;
}

.hrp-site-nav-list .sub-menu > li > .sub-menu {
  top: -8px;
  left: calc(100% + 10px);
  right: auto;
  display: none;
}

.hrp-site-nav-list .sub-menu > li:hover > .sub-menu,
.hrp-site-nav-list .sub-menu > li:focus-within > .sub-menu {
  display: block;
}

.hrp-lang-link {
  min-height: 40px;
  padding: 0 10px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.hrp-lang-link.is-active {
  border-color: rgba(216, 186, 85, 0.45);
  background: rgba(216, 186, 85, 0.14);
}

.hrp-lang-code {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hrp-mobile-nav-head,
.hrp-nav-close,
.hrp-nav-group-title,
.hrp-lang-label {
  display: none;
}

.hrp-flag {
  width: 18px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-size: cover;
  background-position: center;
  flex: 0 0 auto;
}

.hrp-flag--lv {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Crect width='22' height='16' fill='%239E3039'/%3E%3Crect y='7' width='22' height='2' fill='%23FFFFFF'/%3E%3C/svg%3E");
}

.hrp-flag--no {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Crect width='22' height='16' fill='%23BA0C2F'/%3E%3Crect x='6' width='4' height='16' fill='%23FFFFFF'/%3E%3Crect y='6' width='22' height='4' fill='%23FFFFFF'/%3E%3Crect x='7' width='2' height='16' fill='%2300205B'/%3E%3Crect y='7' width='22' height='2' fill='%2300205B'/%3E%3C/svg%3E");
}

.hrp-flag--en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Crect width='22' height='16' fill='%23B22234'/%3E%3Cg fill='%23FFFFFF'%3E%3Crect y='2' width='22' height='2'/%3E%3Crect y='6' width='22' height='2'/%3E%3Crect y='10' width='22' height='2'/%3E%3Crect y='14' width='22' height='2'/%3E%3C/g%3E%3Crect width='9' height='7' fill='%233C3B6E'/%3E%3C/svg%3E");
}

/* Hero */
.hrp-hero {
  position: relative;
}

.hrp-hero-shell {
  display: grid;
  grid-template-columns: minmax(300px, 1.1fr) minmax(380px, 1fr);
  min-height: 460px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--hrp-shadow);
  background: var(--hrp-green-dark);
}

.hrp-hero--compact .hrp-hero-shell {
  min-height: 320px;
}

.hrp-hero-media {
  position: relative;
  background:
    linear-gradient(0deg, rgba(15, 24, 20, 0.38), rgba(15, 24, 20, 0.12)),
    radial-gradient(circle at top left, rgba(216, 186, 85, 0.14), transparent 34%),
    linear-gradient(135deg, #294f38 0%, #183525 100%);
}

.hrp-hero-media.has-image {
  background-position: center center;
  background-size: cover;
}

.hrp-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(36, 86, 58, 0.10), rgba(17, 31, 23, 0.56)),
    linear-gradient(90deg, rgba(19, 49, 33, 0.08), rgba(19, 49, 33, 0.28));
}

.hrp-hero-media-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hrp-hero-stats {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: min(520px, calc(100% - 36px));
}

.hrp-hero-stat-card {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(11, 26, 18, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 24px rgba(8, 15, 12, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hrp-hero-stat-year {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 8px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(216, 186, 85, 0.14);
  border: 1px solid rgba(216, 186, 85, 0.24);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.hrp-hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.hrp-hero-stat-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
  min-height: 0;
  padding: 6px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.hrp-hero-stat-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hrp-hero-stat-value {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: #ffffff;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: right;
}

.hrp-hero-stat-label {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: 10px;
  line-height: 1.35;
}

.hrp-hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 48px 54px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(216, 186, 85, 0.10), transparent 32%),
    linear-gradient(135deg, var(--hrp-green-dark), var(--hrp-green));
}

.hrp-hero-eyebrow {
  color: var(--hrp-yellow);
}

.hrp-hero-rule {
  width: 88px;
  height: 4px;
  border-radius: 999px;
  background: var(--hrp-yellow);
}

.hrp-hero-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 800;
  max-width: 12ch;
}

.hrp-hero-title--inner {
  font-size: clamp(28px, 3vw, 44px);
  max-width: 14ch;
}

.hrp-hero-lead {
  margin: 0;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

.hrp-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hrp-hero-meta-item,
.hrp-pill {
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
}

.hrp-hero-meta-item {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.92);
}

/* Surfaces */
.hrp-surface,
.hrp-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 247, 241, 0.98));
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--hrp-radius);
  box-shadow: var(--hrp-shadow-soft);
}

.hrp-surface {
  padding: 28px;
}

.hrp-surface--page,
.hrp-card--page {
  padding: 0;
  overflow: hidden;
}

.hrp-surface--article {
  max-width: 980px;
}

.hrp-homebar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 28px;
  border-bottom: 1px solid var(--hrp-border);
}

.hrp-brand,
.hrp-actions {
  display: flex;
  gap: 12px;
}

.hrp-brand {
  flex-direction: column;
}

.hrp-brand strong,
.hrp-section-title {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hrp-brand span,
.hrp-section-note {
  font-size: 14px;
  color: var(--hrp-muted);
}

.hrp-section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.hrp-section-head--split {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}


.hrp-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.hrp-link-card {
  position: relative;
}

.hrp-link-tile {
  position: relative;
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  min-height: 150px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(36, 86, 58, 0.10);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 248, 241, 0.96)),
    linear-gradient(135deg, rgba(36, 86, 58, 0.04), rgba(216, 186, 85, 0.06));
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

button.hrp-link-tile {
  appearance: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.hrp-link-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hrp-tile-bg);
  background-position: center center;
  background-size: cover;
  opacity: 0;
  transition: opacity .18s ease;
}

.hrp-link-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 16, 12, 0.08), rgba(8, 16, 12, 0.52)),
    linear-gradient(135deg, rgba(16, 39, 27, 0.10), rgba(216, 186, 85, 0.10));
  opacity: 0;
  transition: opacity .18s ease;
}

.hrp-link-tile.has-image::before,
.hrp-link-tile.has-image::after {
  opacity: 1;
}

.hrp-link-tile:hover,
.hrp-link-tile:focus-visible,
.hrp-link-card.is-open > .hrp-link-tile {
  transform: translateY(-2px);
  border-color: rgba(36, 86, 58, 0.22);
}

.hrp-link-tile-inner,
.hrp-link-tile-arrow {
  position: relative;
  z-index: 1;
}

.hrp-link-tile-inner {
  display: grid;
  gap: 8px;
}

.hrp-link-tile-topline {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(17, 24, 39, 0.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hrp-link-tile.has-image .hrp-link-tile-topline {
  color: rgba(255, 255, 255, 0.92);
}

.hrp-link-tile-label {
  font-size: 24px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--hrp-green-deep);
}

.hrp-link-tile.has-image .hrp-link-tile-label {
  color: #ffffff;
}

.hrp-link-tile-note {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(17, 24, 39, 0.70);
}

.hrp-link-tile.has-image .hrp-link-tile-note {
  color: rgba(255, 255, 255, 0.84);
}

.hrp-link-tile-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 24px;
  color: var(--hrp-yellow);
  flex: 0 0 auto;
}

.hrp-link-card.has-panel .hrp-link-tile-arrow {
  font-size: 28px;
}

.hrp-quick-panel {
  position: absolute;
  top: auto;
  bottom: calc(100% + 12px);
  left: 0;
  width: min(420px, calc(100vw - 48px));
  max-height: min(70vh, 560px);
  overflow: auto;
  padding: 18px;
  border-radius: 22px;
  background: rgba(15, 29, 22, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.26);
  z-index: 70;
}

.hrp-quick-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.hrp-quick-panel-kicker {
  margin-bottom: 6px;
  color: rgba(216, 186, 85, 0.92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hrp-quick-panel-title {
  color: #ffffff;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hrp-quick-panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  line-height: 1;
}

.hrp-quick-panel-list,
.hrp-quick-panel-list--nested {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hrp-quick-panel-list {
  display: grid;
  gap: 10px;
}

.hrp-quick-panel-item {
  display: grid;
  gap: 10px;
}

.hrp-quick-panel-link,
.hrp-quick-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
}

.hrp-quick-panel-link {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.94);
}

.hrp-quick-panel-link:hover,
.hrp-quick-panel-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(216, 186, 85, 0.22);
}

.hrp-quick-panel-link-text,
.hrp-quick-panel-heading {
  font-size: 15px;
  font-weight: 700;
}

.hrp-quick-panel-heading {
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.10);
}

.hrp-quick-panel-link-arrow {
  color: var(--hrp-yellow);
  font-size: 18px;
}

.hrp-quick-panel-list--nested {
  display: grid;
  gap: 8px;
  padding-left: 14px;
}

.hrp-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hrp-pill {
  border: 1px solid rgba(36, 86, 58, 0.14);
  background: rgba(250, 248, 241, 0.92);
  color: var(--hrp-green-deep);
}

.hrp-pill:hover,
.hrp-pill:focus-visible {
  border-color: rgba(36, 86, 58, 0.28);
  background: rgba(36, 86, 58, 0.06);
}

.hrp-pill--ghost {
  background: transparent;
}

.hrp-pill--primary {
  background: var(--hrp-yellow);
  border-color: rgba(216, 186, 85, 0.5);
  color: var(--hrp-green-deep);
}

.hrp-pill--primary:hover,
.hrp-pill--primary:focus-visible {
  background: var(--hrp-yellow-soft);
}

.hrp-cat-pill {
  gap: 10px;
}

.hrp-cat-pill.is-active {
  background: var(--hrp-green);
  border-color: var(--hrp-green);
  color: #ffffff;
}

.hrp-cat-pill.is-important {
  border-color: rgba(216, 186, 85, 0.65);
}

.hrp-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(18, 35, 26, 0.08);
  font-size: 11px;
  font-weight: 800;
}

.hrp-cat-pill.is-active .hrp-cat-count {
  background: rgba(255, 255, 255, 0.16);
}

/* Posts */
.hrp-posts {
  display: grid;
  gap: 14px;
}

.hrp-post {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #ffffff;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
  isolation: isolate;
}

.hrp-post:hover,
.hrp-post:focus-visible {
  border-color: rgba(36, 86, 58, 0.22);
}

.hrp-post--teaser {
  min-height: 82px;
  padding: 10px 14px;
}

.hrp-post-body {
  display: grid;
  gap: 12px;
  padding: 20px 22px;
}

.hrp-post-body--teaser {
  position: relative;
  z-index: 2;
  min-height: 60px;
  align-content: center;
  padding: 0;
}

.hrp-post.has-corner-media .hrp-post-body--teaser {
  padding-right: clamp(190px, 34%, 360px);
}

.hrp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--hrp-muted);
}

.hrp-meta--inline {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 13px;
}

.hrp-post-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hrp-post-title--compact {
  font-size: 17px;
  line-height: 1.2;
}

.hrp-post-title-link {
  text-decoration: none;
}

.hrp-post-title-link:hover,
.hrp-post-title-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hrp-post-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.hrp-post-mainline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
}

.hrp-post-mainline .hrp-post-title {
  min-width: 0;
}

.hrp-post-title--compact {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hrp-post-open {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  margin-right: 8px;
}

.hrp-post-corner-media {
  position: absolute;
  top: 8px;
  right: 8px;
  bottom: 8px;
  width: clamp(180px, 31%, 300px);
  border-radius: 18px 18px 18px 52px;
  overflow: hidden;
  pointer-events: none;
  opacity: .92;
}

.hrp-post-corner-media::before,
.hrp-post-corner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hrp-post-corner-media::before {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.44) 28%, rgba(255,255,255,.88) 100%);
}

.hrp-post-corner-media::after {
  background: linear-gradient(135deg, rgba(36, 86, 58, 0.10), rgba(216, 186, 85, 0.16));
}

.hrp-post-corner-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: saturate(.72) contrast(1.02) blur(.4px);
  opacity: .28;
  transform: scale(1.18);
}

.hrp-post-actions {
  display: flex;
  justify-content: flex-end;
}

.hrp-empty {
  padding: 6px 2px;
  color: var(--hrp-muted);
}

/* Content */
.hrp-content {
  padding: 28px;
  font-size: 15px;
  line-height: 1.75;
}

.hrp-content > *:first-child {
  margin-top: 0;
}

.hrp-content > *:last-child {
  margin-bottom: 0;
}

.hrp-post-content {
  padding: 0;
}

.hrp-content h1,
.hrp-content h2,
.hrp-content h3,
.hrp-content h4 {
  margin: 0 0 14px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hrp-content h1 {
  font-size: 34px;
}

.hrp-content h2 {
  font-size: 28px;
}

.hrp-content h3 {
  font-size: 22px;
}

.hrp-content h4 {
  font-size: 18px;
}

.hrp-content p,
.hrp-content ul,
.hrp-content ol,
.hrp-content table,
.hrp-content blockquote,
.hrp-content hr {
  margin: 0 0 18px;
}

.hrp-content ul,
.hrp-content ol {
  padding-left: 24px;
}

.hrp-content li {
  margin: 6px 0;
}

.hrp-content a {
  color: var(--hrp-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.hrp-content img,
.hrp-content video,
.hrp-content iframe {
  max-width: 100%;
  height: auto;
}

.hrp-content iframe {
  width: 100%;
}

.hrp-content blockquote {
  padding: 16px 18px;
  border-left: 4px solid var(--hrp-yellow);
  border-radius: 16px;
  background: rgba(36, 86, 58, 0.04);
  color: var(--hrp-muted);
}

.hrp-content hr {
  border: 0;
  border-top: 1px solid var(--hrp-border);
}

.hrp-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(18, 35, 26, 0.05);
}

.hrp-content :is(
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  input[type="url"],
  input[type="search"],
  textarea,
  select
) {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #ffffff;
  color: var(--hrp-text);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hrp-content textarea {
  min-height: 120px;
  resize: vertical;
}

.hrp-content :is(
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  input[type="url"],
  input[type="search"],
  textarea,
  select
):focus {
  border-color: rgba(36, 86, 58, 0.42);
  box-shadow: 0 0 0 4px rgba(36, 86, 58, 0.10);
}

.hrp-content :is(button, input[type="submit"], input[type="button"], .button) {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #ffffff;
  color: var(--hrp-green-deep);
  font-weight: 700;
  cursor: pointer;
}

.hrp-content :is(button:hover, input[type="submit"]:hover, input[type="button"]:hover, .button:hover) {
  border-color: rgba(36, 86, 58, 0.28);
  background: rgba(36, 86, 58, 0.05);
}

.hrp-content :is(.button.button-primary, .button-primary, button.button-primary, button.is-primary) {
  border-color: rgba(216, 186, 85, 0.56);
  background: var(--hrp-yellow);
  color: var(--hrp-green-deep);
}

.hrp-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--hrp-border);
}

.hrp-content th,
.hrp-content td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--hrp-border);
  vertical-align: top;
}

.hrp-content th {
  text-align: left;
  background: rgba(36, 86, 58, 0.05);
}

.hrp-pagination {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

.hrp-pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hrp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #ffffff;
  text-decoration: none;
}

.hrp-pagination .page-numbers.current {
  background: var(--hrp-green);
  border-color: var(--hrp-green);
  color: #ffffff;
}

/* Footer */
.hrp-site-footer {
  margin-top: auto;
  padding: 0 0 24px;
}

.hrp-footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--hrp-footer-h);
  padding: 22px 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--hrp-green-dark), var(--hrp-green));
  color: #ffffff;
  box-shadow: var(--hrp-shadow-soft);
}

.hrp-site-foot-left,
.hrp-site-foot-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hrp-site-foot-left {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.hrp-footer-title {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.hrp-site-host {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.hrp-footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hrp-footer-social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  text-decoration: none;
  vertical-align: middle;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.hrp-footer-social-link:hover,
.hrp-footer-social-link:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-1px);
}

.hrp-footer-social-link svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  pointer-events: none;
}

/* Login view */
.hrp-wrap--login {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - var(--hrp-header-h) - var(--hrp-footer-h));
  padding: 24px;
}

.hrp-login-stack {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.hrp-login-shell {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(320px, 0.95fr);
  min-height: min(78vh, 820px);
}

.hrp-login-panel {
  min-width: 0;
}

.hrp-login-panel--brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4vw, 52px);
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(150deg, #16384a 0%, #1d475c 54%, #245b78 100%);
}

.hrp-login-panel--brand::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.hrp-login-brand-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: min(100%, 420px);
}

.hrp-login-logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
  max-height: 180px;
  object-fit: contain;
}

.hrp-login-logo--standalone {
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.08));
}

.hrp-login-brand-name {
  color: #ffffff;
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hrp-login-panel--form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.98);
}

.hrp-login-form-shell {
  width: min(100%, 440px);
}

.hrp-wrap--login .hrotp-wrap,
.hrp-card--login-fallback {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.hrp-card--login-fallback,
.hrp-wrap--login .hrotp-wrap .hrotp-card {
  width: 100% !important;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hrp-title,
.hrp-wrap--login .hrotp-wrap .hrotp-card h2 {
  margin: 0;
  font-size: clamp(34px, 3.5vw, 54px) !important;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hrp-sub,
.hrp-wrap--login .hrotp-wrap .hrotp-sub,
.hrp-wrap--login .hrotp-wrap .hrotp-note {
  margin: 0 !important;
  color: var(--hrp-muted) !important;
  line-height: 1.65 !important;
}

.hrp-alert {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(36, 86, 58, 0.04);
}

.hrp-wrap--login .hrotp-wrap .hrotp-form {
  display: flex !important;
  flex-direction: column;
  gap: 12px !important;
  margin-top: 20px;
}

.hrp-wrap--login .hrotp-wrap .hrotp-form .hrotp-lang-wrap {
  order: -1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 12px;
}

.hrp-wrap--login .hrotp-wrap .hrotp-form label {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--hrp-text) !important;
}

.hrp-wrap--login .hrotp-wrap .hrotp-form input {
  width: 100% !important;
  min-height: 48px;
  padding: 0 14px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(17, 24, 39, 0.12) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.hrp-wrap--login .hrotp-wrap .hrotp-form input:focus {
  border-color: rgba(36, 86, 58, 0.42) !important;
  box-shadow: 0 0 0 4px rgba(36, 86, 58, 0.10) !important;
  outline: none !important;
}

.hrp-wrap--login .hrotp-wrap .hrotp-form button {
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 16px !important;
  border-radius: 4px !important;
  border: 1px solid #245b78 !important;
  background: #357887 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
}

@media (max-width: 1100px) {
  .hrp-login-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hrp-login-panel--brand {
    min-height: 280px;
    align-items: flex-start;
    justify-content: flex-end;
  }
}

@media (max-width: 782px) {
  .hrp-wrap--login {
    width: 100%;
    padding: 0;
  }

  .hrp-login-shell {
    min-height: 0;
  }

  .hrp-login-panel--brand,
  .hrp-login-panel--form {
    padding: 28px 20px 32px;
  }

  .hrp-login-brand-name {
    font-size: 34px;
  }

  .hrp-login-logo {
    width: min(100%, 280px);
  }

  .hrp-login-form-shell {
    width: 100%;
  }
}

/* Root login fallback when the optional SGDS library is inactive. */
body.hrp-guest.hrp-root-login:not(.sgds-login) { padding: 0; min-height: 100vh; background: var(--hrp-bg); }
body.hrp-root-login:not(.sgds-login) .hrp-site-header { display: none; }
body.hrp-root-login:not(.sgds-login) .hrp-wrap--login,
body.hrp-root-login:not(.sgds-login) .hrp-login-stack { width: 100%; max-width: none; margin: 0; padding: 0; }
body.hrp-root-login:not(.sgds-login) .hrp-login-shell { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: 100vh; min-height: 100dvh; }
body.hrp-root-login:not(.sgds-login) .hrp-login-panel--brand { min-height: 0; display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; background: var(--hrp-green-deep); padding: 32px; gap: 16px; }
body.hrp-root-login:not(.sgds-login) .hrp-login-panel--brand::before { content: none; }
body.hrp-root-login:not(.sgds-login) .hrp-login-brand-stage { align-items: center; text-align: center; width: 100%; }
body.hrp-root-login:not(.sgds-login) .hrp-login-logo { width: min(100%, 240px); max-height: none; filter: none; }
body.hrp-root-login:not(.sgds-login) .hrp-login-brand-name { font-size: 18px; letter-spacing: 0; }
body.hrp-root-login:not(.sgds-login) .hrp-login-panel--form { padding: 32px; background: var(--hrp-bg); }
body.hrp-root-login:not(.sgds-login) .hrp-login-form-shell { width: min(100%,420px); }
body.hrp-root-login:not(.sgds-login) .hrotp-login-title { font-size: 30px; margin: 0 0 12px; }
body.hrp-root-login:not(.sgds-login) .hrotp-lang-wrap { margin: 0 0 24px; }
body.hrp-root-login:not(.sgds-login) .hrotp-lang-link { min-height: 44px; border-radius: 2px; }
body.hrp-root-login:not(.sgds-login) .hrotp-form button { background: var(--hrp-green) !important; border-color: var(--hrp-green) !important; }
body.hrp-root-login:not(.sgds-login) .hrp-login-links { width: 100%; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
body.hrp-root-login:not(.sgds-login) .hrp-login-links .hrp-footer-social-link { border-radius: 2px; width: 44px; height: 44px; }
body.hrp-root-login:not(.sgds-login) .hrp-login-links .hrp-site-link--footer { color: white; text-decoration: underline; }
@media (max-width: 782px) {
  body.hrp-root-login:not(.sgds-login) .hrp-login-shell { grid-template-columns: minmax(0,1fr); grid-template-rows: auto 1fr; }
  body.hrp-root-login:not(.sgds-login) .hrp-login-panel--brand { padding: 20px 24px; }
  body.hrp-root-login:not(.sgds-login) .hrp-login-brand-stage { flex-direction: row; gap: 12px; }
  body.hrp-root-login:not(.sgds-login) .hrp-login-logo { width: 76px; flex: 0 0 76px; }
  body.hrp-root-login:not(.sgds-login) .hrp-login-panel--form { padding: 28px 24px; }
}

/* Utility */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 1320px) {
  .hrp-link-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .hrp-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hrp-hero-shell {
    grid-template-columns: 1fr;
  }

  .hrp-hero-media {
    min-height: 320px;
  }

  .hrp-hero-stats {
    max-width: min(560px, calc(100% - 36px));
  }

  .hrp-hero-title {
    max-width: none;
  }
}

@media (max-width: 920px) {
  :root {
    --hrp-header-h: 84px;
  }

  .hrp-header-shell {
    grid-template-columns: 1fr;
    overflow: visible;
    border-radius: 20px;
  }

  .hrp-header-brand-panel {
    padding-right: 22px;
    border-radius: 20px 20px 0 0;
  }

  .hrp-header-brand-panel::after {
    display: none;
  }

  .hrp-header-nav-panel {
    justify-content: flex-start;
    align-items: stretch;
    padding: 6px 4px 4px;
    border-radius: 0 0 20px 20px;
  }

  .hrp-site-nav {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    text-align: left;
  }

  .hrp-nav-toggle {
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 10px 10px;
  }

  .hrp-nav-panel {
    display: none;
  }

  .hrp-nav-panel.is-open {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: var(--hrp-mobile-vh, 100dvh);
    min-height: var(--hrp-mobile-vh, 100dvh);
    max-height: var(--hrp-mobile-vh, 100dvh);
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: calc(env(safe-area-inset-top) + 12px) 12px calc(env(safe-area-inset-bottom) + 12px);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(17, 44, 30, 0.995) 0%, rgba(19, 49, 33, 0.995) 100%);
    border: 0;
    box-shadow: none;
    overflow: hidden;
    overscroll-behavior: contain;
  }

  .hrp-nav-panel.is-open .hrp-site-nav-actions,
  .hrp-nav-panel.is-open .hrp-site-nav-menu,
  .hrp-nav-panel.is-open .hrp-site-nav-languages,
  .hrp-nav-panel.is-open .hrp-site-nav-utility,
  .hrp-nav-panel.is-open .hrp-lang-switcher,
  .hrp-nav-panel.is-open .hrp-site-nav-list,
  .hrp-nav-panel.is-open .hrp-site-nav-list > li,
  .hrp-nav-panel.is-open .hrp-site-nav-list .sub-menu,
  .hrp-nav-panel.is-open .hrp-site-nav-list .sub-menu > li {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hrp-site-nav-actions {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    gap: 14px;
    order: 1;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-right: 2px;
  }

  .hrp-site-nav-languages {
    order: 1;
    width: 100%;
  }

  .hrp-site-nav-menu {
    order: 2;
    width: 100%;
    text-align: left;
  }

  .hrp-site-nav-utility {
    order: 3;
    width: 100%;
    position: sticky;
    bottom: -16px;
    padding-top: 10px;
    padding-bottom: 4px;
    background: linear-gradient(180deg, rgba(19, 49, 33, 0) 0%, rgba(19, 49, 33, 0.99) 24%);
  }

  .hrp-lang-switcher {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .hrp-mobile-nav-head {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }

  .hrp-mobile-nav-head-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

  .hrp-mobile-nav-brand {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
  }

  .hrp-mobile-nav-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
  }

  .hrp-mobile-nav-brand-logo .hrp-custom-logo {
    max-height: 28px;
  }

  .hrp-mobile-nav-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }

  .hrp-mobile-nav-subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    line-height: 1.45;
  }

  .hrp-mobile-nav-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
  }

  .hrp-mobile-nav-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font: inherit;
    cursor: pointer;
  }

  .hrp-mobile-nav-shortcut-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
  }

  .hrp-mobile-nav-shortcut-value {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
  }

  .hrp-mobile-nav-head-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }

  .hrp-mobile-nav-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
  }

  .hrp-mobile-nav-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
  }

  .hrp-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
  }

  .hrp-nav-group-title {
    display: block;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .hrp-nav-panel.is-open ul,
  .hrp-nav-panel.is-open ol,
  .hrp-nav-panel.is-open .menu,
  .hrp-nav-panel.is-open .hrp-site-nav-list,
  .hrp-nav-panel.is-open .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-inline-start: 0;
    width: 100%;
  }

  .hrp-nav-panel.is-open li,
  .hrp-nav-panel.is-open .menu-item {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .hrp-site-nav-list > li > a.hrp-site-link,
  .hrp-site-nav-list .sub-menu a.hrp-site-link,
  .hrp-site-nav-utility > a.hrp-site-link,
  .hrp-lang-link {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 12px 14px;
    text-align: left;
    justify-content: flex-start;
    align-items: center;
    text-indent: 0;
    transform: none;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
  }

  .hrp-site-nav-list > li > a.hrp-site-link {
    min-height: 48px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.96);
  }

  .hrp-site-nav-list > li + li {
    margin-top: 6px;
  }

  .hrp-site-nav-list > li.menu-item-has-children > a.hrp-site-link::after,
  .hrp-site-nav-list .sub-menu > li.menu-item-has-children > a.hrp-site-link::after {
    margin-left: auto;
  }

  .hrp-site-nav-list .sub-menu {
    position: static;
    display: block;
    margin-top: 8px;
    padding: 4px 0 0 14px;
    min-width: 0;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    box-shadow: none;
  }

  .hrp-site-nav-list .sub-menu .sub-menu {
    margin-top: 4px;
    padding-left: 12px;
    border-left-color: rgba(255, 255, 255, 0.08);
  }

  .hrp-site-nav-list .sub-menu a.hrp-site-link {
    min-height: auto;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.03);
  }

  .hrp-site-nav-list .sub-menu > li + li {
    margin-top: 2px;
  }

  .hrp-site-link,
  .hrp-site-link--cta {
    width: 100%;
    justify-content: flex-start;
  }

  .hrp-site-nav-utility > a.hrp-site-link,
  .hrp-site-nav-utility > a.hrp-site-link--cta {
    justify-content: center;
    text-align: center;
    padding: 13px 16px;
  }

  .hrp-lang-link {
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 14px;
  }

  .hrp-lang-label {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
  }

  .hrp-site-nav-menu,
  .hrp-site-nav-list,
  .hrp-site-nav-list > li,
  .hrp-site-nav-list .sub-menu,
  .hrp-site-nav-actions,
  .hrp-site-nav-languages,
  .hrp-site-nav-utility {
    margin-left: 0;
    padding-left: 0;
  }

  .hrp-footer-shell,
  .hrp-section-head--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .hrp-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 640px) {
  body {
    padding-top: 90px;
  }

  .hrp-container,
  .hrp-header-shell,
  .hrp-footer-shell,
  .hrp-wrap {
    width: min(calc(100% - 20px), var(--hrp-max));
  }

  .hrp-header-shell {
    position: relative;
    min-height: 72px;
    border-radius: 22px;
  }

  .hrp-header-brand-panel {
    min-height: 72px;
    padding: 12px 88px 12px 16px;
    border-radius: 22px;
  }

  .hrp-header-nav-panel {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 8;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .hrp-site-nav {
    width: auto;
  }

  .hrp-site-brand-link {
    gap: 10px;
    width: 100%;
  }

  .hrp-site-logo {
    max-width: 112px;
  }

  .hrp-custom-logo {
    max-height: 34px;
  }

  .hrp-site-brand-meta {
    gap: 3px;
  }

  .hrp-site-kicker {
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .hrp-site-title-text {
    font-size: 18px;
    line-height: 1.05;
  }

  .hrp-site-tagline {
    display: none;
  }

  .hrp-nav-toggle {
    width: auto;
    min-width: 0;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--hrp-green-dark), var(--hrp-green));
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
  }

  .hrp-nav-toggle-hint,
  .hrp-nav-toggle-badge {
    display: inline-flex;
  }

  .hrp-nav-toggle-label {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .hrp-burger {
    width: 15px;
    height: 11px;
  }

  .hrp-nav-panel.is-open {
    inset: 0;
    width: 100vw;
    height: var(--hrp-mobile-vh, 100dvh);
    min-height: var(--hrp-mobile-vh, 100dvh);
    max-height: var(--hrp-mobile-vh, 100dvh);
    padding: calc(env(safe-area-inset-top) + 12px) 12px calc(env(safe-area-inset-bottom) + 12px);
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  .hrp-mobile-nav-head {
    position: sticky;
    top: calc(env(safe-area-inset-top) * -1);
    z-index: 3;
    margin: calc((env(safe-area-inset-top) + 12px) * -1) -12px 0;
    padding: calc(env(safe-area-inset-top) + 12px) 12px 12px;
    background: linear-gradient(180deg, rgba(17, 44, 30, 1) 0%, rgba(19, 49, 33, 0.98) 82%, rgba(19, 49, 33, 0.92) 100%);
    backdrop-filter: blur(14px);
  }

  .hrp-mobile-nav-brand {
    gap: 10px;
  }

  .hrp-mobile-nav-brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .hrp-mobile-nav-title {
    font-size: 18px;
  }

  .hrp-mobile-nav-subtitle {
    font-size: 11px;
  }

  .hrp-mobile-nav-shortcuts {
    padding-top: 8px;
  }

  .hrp-mobile-nav-shortcut {
    width: 100%;
    justify-content: space-between;
    border-radius: 16px;
  }

  .hrp-site-nav-actions {
    gap: 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .hrp-site-nav-menu,
  .hrp-site-nav-languages,
  .hrp-site-nav-utility {
    border-radius: 18px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hrp-site-nav-list > li + li {
    margin-top: 8px;
  }

  .hrp-site-nav-list > li > a.hrp-site-link,
  .hrp-lang-link,
  .hrp-site-nav-utility > a.hrp-site-link,
  .hrp-site-nav-utility > a.hrp-site-link--cta {
    min-height: 52px;
    padding: 13px 14px;
    border-radius: 15px;
  }

  .hrp-site-nav-list .sub-menu {
    margin-top: 10px;
    padding-left: 12px;
  }

  .hrp-site-nav-utility {
    position: static;
    padding-top: 14px;
    padding-bottom: 14px;
    background: rgba(255, 255, 255, 0.05);
  }

  .hrp-wrap--internal {
    gap: 18px;
    padding-top: 16px;
  }

  .hrp-surface,
  .hrp-homebar,
  .hrp-content,
  .hrp-post-body,
  .hrp-hero-content,
  .hrp-footer-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hrp-surface,
  .hrp-homebar,
  .hrp-content,
  .hrp-footer-shell {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .hrp-hero-content {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .hrp-hero-media {
    min-height: 420px;
  }

  .hrp-hero-stats {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hrp-hero-stat-card {
    padding: 9px 10px;
  }

  .hrp-hero-stat-item {
    gap: 6px;
    padding: 5px 0;
  }

  .hrp-hero-stat-value {
    font-size: 13px;
  }

  .hrp-hero-stat-label {
    font-size: 9px;
  }

  .hrp-link-grid {
    grid-template-columns: 1fr;
  }

  .hrp-link-tile {
    min-height: 124px;
  }

  .hrp-quick-panel {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .hrp-post-title {
    font-size: 24px;
  }

  .hrp-content h1 {
    font-size: 28px;
  }

  .hrp-content h2 {
    font-size: 24px;
  }
}



@media (max-width: 380px) {
  body {
    padding-top: 86px;
  }

  .hrp-header-brand-panel {
    padding-right: 82px;
    padding-left: 14px;
  }

  .hrp-site-title-text {
    font-size: 16px;
  }

  .hrp-nav-toggle {
    padding: 9px 10px;
    gap: 8px;
  }

  .hrp-nav-toggle-badge {
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
  }

  .hrp-nav-panel.is-open {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hrp-mobile-nav-head {
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .hrp-mobile-nav-brand-logo {
    width: 36px;
    height: 36px;
  }

  .hrp-nav-close {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 900px){
  .hrp-post.has-corner-media .hrp-post-body--teaser {
    padding-right: 170px;
  }

  .hrp-post-corner-media {
    width: 160px;
    border-radius: 16px 16px 16px 44px;
  }

  .hrp-post-mainline {
    gap: 12px;
  }
}

@media (max-width: 640px){
  .hrp-post--teaser {
    padding: 10px 12px;
    min-height: 92px;
  }

  .hrp-post-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hrp-post-mainline {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .hrp-post.has-corner-media .hrp-post-body--teaser {
    padding-right: 108px;
  }

  .hrp-post-corner-media {
    top: 10px;
    right: 10px;
    bottom: 10px;
    width: 86px;
    border-radius: 14px 14px 14px 32px;
  }

  .hrp-post-title--compact {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}


.hrp-page-plugin-shell--support {
  margin-top: 0;
}

.hrp-content--support-portal {
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

.hrp-content--support-portal .hrpst-wrap {
  margin-top: 0;
}

@media (max-width: 720px) {
  .hrp-site-foot-right {
    width: 100%;
    justify-content: flex-start;
  }

  .hrp-footer-social {
    order: 2;
    width: 100%;
  }
}

