/* Preporu brand theme: preserve Bootstrap components while switching the site to green. */
:root {
  --bs-primary: #18845b;
  --bs-primary-rgb: 24, 132, 91;
  --bs-link-color: #146c43;
  --bs-link-hover-color: #0f5132;
}

body { color: #20342a; background: #f7faf8; }
.navbar.bg-light { background-color: #fff !important; border-bottom: 1px solid #e6eee8; }
.navbar { --bs-navbar-color: #53665c; --bs-navbar-hover-color: #146c43; }
.navbar .navbar-brand img { width: 174px; max-width: 48vw; height: auto; }
.navbar .nav-link { font-size: .88rem; font-weight: 650; letter-spacing: .025em; }
.bg-primary { --bs-bg-opacity: 1; background-color: #18845b !important; }
.text-bg-primary { color: #fff !important; background-color: #18845b !important; }
.btn-primary {
  --bs-btn-bg: #18845b;
  --bs-btn-border-color: #18845b;
  --bs-btn-hover-bg: #146c43;
  --bs-btn-hover-border-color: #146c43;
  --bs-btn-active-bg: #0f5132;
  --bs-btn-active-border-color: #0f5132;
  --bs-btn-disabled-bg: #18845b;
  --bs-btn-disabled-border-color: #18845b;
}
.btn-outline-primary {
  --bs-btn-color: #146c43;
  --bs-btn-border-color: #18845b;
  --bs-btn-hover-bg: #18845b;
  --bs-btn-hover-border-color: #18845b;
}
.table-primary { --bs-table-bg: #e1f1e8; --bs-table-color: #20342a; }
.pagination { --bs-pagination-active-bg: #18845b; --bs-pagination-active-border-color: #18845b; --bs-pagination-color: #146c43; }
footer.bg-primary { background: #155d42 !important; }

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.25rem, 7vw, 6.25rem) 0 4.25rem;
  color: #fff;
  background: radial-gradient(ellipse at 84% 8%, rgba(126, 215, 167, .28), transparent 34%), linear-gradient(125deg, #123f31 0%, #176447 52%, #19865b 100%);
}
.home-hero::after { position: absolute; right: -90px; bottom: -220px; width: 490px; height: 490px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.035), 0 0 0 88px rgba(255,255,255,.025); content: ""; pointer-events: none; }
.home-hero-inner { position: relative; z-index: 1; max-width: 1040px; }
.home-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; color: #e0f2e8; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: .82rem; font-weight: 600; }
.home-kicker-dot { width: 8px; height: 8px; background: #9ce2b9; border-radius: 50%; box-shadow: 0 0 0 4px rgba(156,226,185,.15); }
.home-hero h1 { max-width: 820px; margin: 1.35rem 0 .8rem; font-size: clamp(2.4rem, 5.5vw, 4.35rem); font-weight: 750; line-height: 1.06; letter-spacing: -.055em; }
.home-lead { margin: 0; color: #d7e9df; font-size: clamp(1rem, 2vw, 1.2rem); }
.home-search { display: flex; align-items: center; gap: 12px; max-width: 710px; margin-top: 2rem; padding: 8px; background: #fff; border: 1px solid rgba(255,255,255,.65); border-radius: 14px; box-shadow: 0 16px 45px rgba(8, 35, 25, .22); }
.home-search-icon { padding-left: 12px; color: #688176; font-size: 1.1rem; }
.home-search input { flex: 1; min-width: 0; padding: 12px 2px; color: #20342a; background: transparent; border: 0; outline: 0; font: inherit; }
.home-search input::placeholder { color: #829188; opacity: 1; }
.home-search button { display: flex; align-items: center; gap: 9px; padding: 12px 20px; color: #fff; background: #18845b; border: 0; border-radius: 9px; font-weight: 650; white-space: nowrap; transition: background .15s ease, transform .15s ease; }
.home-search button:hover { background: #116846; transform: translateY(-1px); }
.home-search-hint { margin: 10px 0 0 4px; color: #d4e6db; font-size: .8rem; }
.home-search-hint i { margin-right: 4px; }
.home-browse-link { display: inline-flex; align-items: center; gap: 7px; margin: 1.25rem 0 0 4px; color: #fff; font-size: .9rem; font-weight: 650; text-decoration: none; }
.home-browse-link:hover { color: #c9f1d8; }
.home-content { max-width: 1120px; padding-top: 2rem; padding-bottom: 3.5rem; }
.home-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: -3rem; position: relative; z-index: 2; }
.home-stat-card { display: flex; align-items: center; gap: 14px; min-height: 116px; padding: 19px 17px; background: #fff; border: 1px solid #e5eee8; border-radius: 15px; box-shadow: 0 9px 25px rgba(29, 72, 49, .07); }
.home-stat-icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; color: #18845b; background: #e9f6ee; border-radius: 12px; font-size: 1.12rem; }
.home-stat-card div { display: flex; min-width: 0; flex-direction: column; }
.home-stat-label { color: #6a7b70; font-size: .78rem; }
.home-stat-card strong { margin: 1px 0; color: #1c382b; font-size: 1.7rem; font-weight: 750; line-height: 1.18; letter-spacing: -.04em; }
.home-stat-card small { color: #88968e; font-size: .69rem; }
.home-stat-rating .home-stat-icon { color: #a87917; background: #fff6dc; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 3.25rem 0 1.15rem; }
.home-section-kicker { color: #18845b; font-size: .72rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.home-section-heading h2 { margin: 3px 0 0; color: #1d362a; font-size: clamp(1.45rem, 2.8vw, 1.9rem); font-weight: 730; letter-spacing: -.035em; }
.home-section-heading > a, .home-panel-link { display: inline-flex; align-items: center; gap: 7px; color: #18704e; font-size: .85rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.home-charts { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.home-panel { padding: 21px 22px; background: #fff; border: 1px solid #e5eee8; border-radius: 15px; box-shadow: 0 6px 18px rgba(29,72,49,.035); }
.home-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.home-panel-heading h3 { margin: 0; color: #20392d; font-size: 1.05rem; font-weight: 720; letter-spacing: -.02em; }
.home-panel-heading p { margin: 4px 0 0; color: #829087; font-size: .78rem; }
.home-panel-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; color: #317957; background: #edf7f0; border-radius: 999px; font-size: .68rem; font-weight: 650; white-space: nowrap; }
.home-month-chart { margin-top: 14px; padding: 0 4px; }
.home-month-line { display: block; width: 100%; height: auto; aspect-ratio: 600 / 165; overflow: visible; }
.home-chart-grid line { stroke: #e8efea; stroke-width: 1; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.home-month-line-path { fill: none; stroke: #18845b; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.home-month-point { fill: #fff; stroke: #18845b; stroke-width: 3; vector-effect: non-scaling-stroke; }
.home-month-axis { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px; margin-top: 3px; }
.home-month-column { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; }
.home-month-value { color: #3f594b; font-size: .72rem; font-weight: 700; }
.home-month-label { color: #829087; font-size: .68rem; text-align: center; white-space: nowrap; }
.home-panel-icon { display: grid; width: 34px; height: 34px; place-items: center; color: #18845b; background: #e9f6ee; border-radius: 10px; }
.home-rating-chart { display: grid; gap: 15px; margin-top: 24px; }
.home-rating-row { display: grid; grid-template-columns: 40px minmax(0,1fr) 30px; align-items: center; gap: 9px; }
.home-rating-label { color: #6d7d73; font-size: .75rem; font-weight: 650; }
.home-rating-label i { color: #e9b847; font-size: .64rem; }
.home-rating-track { overflow: hidden; height: 9px; background: #edf2ee; border-radius: 99px; }
.home-rating-bar { height: 100%; background: linear-gradient(90deg, #73c28f, #18845b); border-radius: inherit; }
.home-rating-count { color: #51655a; font-size: .75rem; font-weight: 650; text-align: right; }
.home-latest-panel { margin-top: 16px; }
.home-latest-panel > .home-panel-heading { align-items: center; margin-bottom: 17px; }
.home-latest-panel .home-panel-heading h3 { margin-top: 3px; font-size: 1.2rem; }
.home-latest-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.home-review-card { display: flex; min-width: 0; flex-direction: column; padding: 15px; color: inherit; background: #f9fbf9; border: 1px solid #e9efeb; border-radius: 12px; text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.home-review-card:hover { color: inherit; border-color: #a9d6b9; box-shadow: 0 8px 18px rgba(29,72,49,.07); transform: translateY(-2px); }
.home-review-location { color: #75857a; font-size: .72rem; }
.home-review-card strong { margin-top: 10px; color: #263f31; font-size: .96rem; }
.home-review-rating { margin-top: 8px; color: #e6ac32; font-size: .9rem; letter-spacing: .03em; }
.home-review-rating b { margin-left: 3px; color: #53675b; font-size: .74rem; letter-spacing: 0; }
.home-star-empty { color: #dce4de; }
.home-review-date { margin-top: 7px; color: #87948b; font-size: .7rem; }
.home-review-open { display: flex; justify-content: space-between; margin-top: 13px; padding-top: 11px; color: #18704e; border-top: 1px solid #e7eee9; font-size: .73rem; font-weight: 650; }
.home-empty-state { padding: 26px 12px; color: #718177; text-align: center; }
.home-empty-state > i { color: #66a982; font-size: 1.8rem; }
.home-empty-state p { margin: 8px 0; }
.home-share-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; padding: 25px 27px; background: #edf7f0; border: 1px solid #d9eddf; border-radius: 15px; }
.home-share-cta h2 { margin: 4px 0; color: #1e3b2d; font-size: 1.3rem; font-weight: 730; letter-spacing: -.025em; }
.home-share-cta p { margin: 0; color: #65796c; font-size: .84rem; }
.home-cta-button { display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; color: #fff; background: #18845b; border-radius: 9px; font-size: .85rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.home-cta-button:hover { color: #fff; background: #146c43; }

@media (max-width: 991.98px) {
  .home-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-charts { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .home-hero { padding: 3rem 0 4rem; }
  .home-hero h1 { font-size: clamp(2.25rem, 11vw, 3.2rem); }
  .home-search { gap: 6px; padding: 6px; }
  .home-search-icon { padding-left: 7px; }
  .home-search input { padding: 10px 0; font-size: .88rem; }
  .home-search button { gap: 6px; padding: 10px 12px; font-size: .83rem; }
  .home-content { padding-right: 16px; padding-left: 16px; }
  .home-stats { gap: 9px; margin-top: -2.65rem; }
  .home-stat-card { min-height: 96px; gap: 9px; padding: 12px 10px; border-radius: 12px; }
  .home-stat-icon { flex-basis: 34px; width: 34px; height: 34px; font-size: .95rem; }
  .home-stat-label { font-size: .68rem; }
  .home-stat-card strong { font-size: 1.35rem; }
  .home-stat-card small { font-size: .61rem; }
  .home-section-heading { align-items: flex-start; margin-top: 2.6rem; }
  .home-section-heading > a { margin-top: 4px; font-size: .73rem; }
  .home-panel { padding: 17px 14px; }
  .home-panel-badge { font-size: .61rem; }
  .home-month-axis { gap: 3px; }
  .home-month-value { font-size: .66rem; }
  .home-month-label { font-size: .61rem; }
  .home-latest-grid { grid-template-columns: 1fr; }
  .home-latest-panel > .home-panel-heading { align-items: flex-start; }
  .home-panel-link { font-size: .74rem; }
  .home-share-cta { align-items: flex-start; flex-direction: column; gap: 15px; padding: 20px 17px; }
}

/* Manager profile rating summary */
.manager-ratings-panel { min-width: 0; }
.manager-rating-overview { margin-top: .35rem; }
.manager-rating-scoreline { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .5rem; }
.manager-rating-average { color: #155d42; font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; }
.manager-rating-outof { color: #718177; font-size: 1rem; }
.manager-rating-stars { display: inline-flex; align-items: center; gap: 2px; margin-left: .45rem; font-size: 1.18rem; line-height: 1; }
.manager-rating-star { color: #e0e8e2; }
.manager-rating-star--full { color: #e8b43e; }
.manager-rating-star--half { color: transparent; background: linear-gradient(90deg, #e8b43e 50%, #e0e8e2 50%); background-clip: text; -webkit-background-clip: text; }
.manager-rating-meta { margin: .4rem 0 0; color: #718177; font-size: .82rem; }
.manager-rating-distribution { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid #e8efea; }
.manager-rating-distribution h3 { margin-bottom: .65rem; color: #334b3d; font-size: .88rem; font-weight: 700; }
.manager-rating-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; margin: 0; padding: 0; list-style: none; }
.manager-rating-chip { display: flex; min-width: 0; min-height: 68px; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; padding: .5rem .25rem; background: #D8E3D8; border: 1px solid #d9ebe0; border-radius: 10px; text-align: center; }
.manager-rating-level { color: #5e7165; font-size: .73rem; font-weight: 650; white-space: nowrap; }
.manager-rating-level > span { color: #e8b43e; }
.manager-rating-count { color: #203c2e; font-size: 1.2rem; font-weight: 750; line-height: 1; }
.manager-rating-action { margin: .85rem 0 0; font-size: .84rem; }
.manager-rating-action a, .manager-rating-empty a { color: #146c43; font-weight: 650; text-decoration: none; }
.manager-rating-action a:hover, .manager-rating-empty a:hover { text-decoration: underline; }
.manager-rating-empty { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; margin-top: .65rem; padding: 1rem; color: #66786d; background: #f5faf6; border: 1px solid #e1eee5; border-radius: 12px; }
.manager-rating-empty-icon { color: #71a889; font-size: 1.35rem; line-height: 1; }
.manager-rating-empty p { margin: 0; font-size: .9rem; }
.manager-rating-empty a { font-size: .84rem; }
@media (max-width: 575.98px) {
  .manager-rating-grid { gap: .35rem; }
  .manager-rating-chip { min-height: 62px; border-radius: 8px; }
  .manager-rating-level { font-size: .68rem; }
  .manager-rating-count { font-size: 1.08rem; }
  .manager-rating-stars { font-size: 1.05rem; }
}

/* Shared, compact advertisement carousel at the bottom of public pages */
.site-advertisements { padding: 0 0 1.5rem; }
.site-advertisements .container { max-width: 1120px; }
.site-ad-marquee { width: 100%; min-width: 0; }
.site-ad-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0 2px .5rem;
}
.site-advertisement-label {
  margin: 0;
  color: #61776a;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-ad-button {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .22rem .52rem;
  color: #286b4c;
  background: #f4faf6;
  border: 1px solid #dcebe1;
  border-radius: 8px;
  font: inherit;
  font-size: .72rem;
  font-weight: 650;
  cursor: pointer;
}
.site-ad-button:hover, .site-ad-button:focus-visible {
  color: #155d42;
  background: #e9f6ee;
  border-color: #a9d6b9;
}
.site-ad-button:focus-visible { outline: 3px solid rgba(24, 132, 91, .22); outline-offset: 2px; }
.site-ad-viewport {
  width: 100%;
  height: 150px;
  overflow: hidden;
  padding: 7px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #dce9e0;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(29, 72, 49, .06);
}
.site-ad-viewport:focus-visible { outline: 3px solid rgba(24, 132, 91, .22); outline-offset: 3px; }
.site-ad-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: stretch;
}
.site-ad-track.is-running {
  animation: site-ad-marquee-right var(--site-ad-duration, 28s) linear infinite;
  will-change: transform;
}
.site-ad-group {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  height: 100%;
  gap: 12px;
}
.site-ad-track.is-paused,
.site-ad-track.is-page-hidden { animation-play-state: paused !important; }
.site-ad-card {
  display: flex;
  flex: 0 0 clamp(230px, 30vw, 360px);
  width: clamp(230px, 30vw, 360px);
  height: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  background: #f8fbf9;
  border: 1px solid #e0ebe4;
  border-radius: 11px;
}
.site-ad-frame {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-sizing: border-box;
}
.site-advertisement-link {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.site-ad-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.site-ad-marquee[data-ad-count="1"] .site-ad-viewport {
  width: min(100%, 360px);
  margin-inline: auto;
}
.site-ad-marquee[data-ad-count="1"] .site-ad-track { width: 100%; }
.site-ad-marquee[data-ad-count="1"] .site-ad-card { flex: 0 0 100%; width: 100%; }
[data-site-ad-marquee]:hover .site-ad-track.is-running,
[data-site-ad-marquee]:focus-within .site-ad-track.is-running { animation-play-state: paused; }
@keyframes site-ad-marquee-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}
@media (max-width: 991.98px) {
  .site-ad-viewport { height: 132px; }
  .site-ad-group { gap: 10px; }
}
@media (max-width: 575.98px) {
  .site-advertisements { padding-bottom: 1rem; }
  .site-ad-viewport { height: clamp(100px, 31vw, 112px); padding: 5px; border-radius: 12px; }
  .site-ad-group { gap: 8px; }
  .site-ad-card { flex-basis: 100%; width: 100%; border-radius: 9px; }
  .site-ad-frame { padding: 4px; }
  .site-ad-heading { margin-bottom: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .site-ad-button { transition: none !important; }
}