.inzerat-media {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.inzerat-media a {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #eee7df;
}

.inzerat-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.inzerat-thumb-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.inzerat-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #eee7df;
}

.inzerat-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

/* Verejné zobrazenie inzerátov na obsah.php */
.inzeraty-panel {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 30px) 0 44px;
}

.inzeraty-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(114, 36, 29, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 38px rgba(55, 38, 29, 0.14);
}

.inzeraty-head h1 {
  margin: 0;
  color: #2b201c;
  font-size: clamp(1.12rem, 1.55vw, 1.36rem);
  font-weight: 720;
  letter-spacing: 0;
}

.inzeraty-head p {
  margin: 0;
  color: #564c47;
  font-size: 0.9rem;
  line-height: 1.45;
}

.inzeraty-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #861d1d;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(80, 22, 18, 0.20);
}

.inzeraty-link:hover,
.inzeraty-link:focus-visible {
  background: #671616;
  outline: 3px solid rgba(134, 29, 29, 0.18);
}

.inzeraty-empty {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: #3d342f;
}

.inzeraty-list {
  display: grid;
  gap: 18px;
}

.verejny-inzerat {
  display: grid;
  gap: 12px;
  padding: clamp(16px, 2.8vw, 24px);
  border: 1px solid rgba(114, 36, 29, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(55, 38, 29, 0.15);
}

.verejny-inzerat h2 {
  margin: 0;
  color: #211b18;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
}

.inzerat-popis {
  border-radius: 14px;
  background: #f5f1ec;
  color: #3c3430;
}

.inzerat-popis summary {
  padding: 11px 14px;
  cursor: pointer;
  font-weight: 800;
}

.inzerat-popis p {
  margin: 0;
  padding: 0 14px 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.inzerat-thumb-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.inzerat-thumb {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #eee7df;
  box-shadow: inset 0 0 0 1px rgba(114, 36, 29, 0.12);
}

.inzerat-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.18s ease;
}

.inzerat-thumb:hover img,
.inzerat-thumb:focus-visible img {
  transform: scale(1.04);
}

.inzerat-bez-obrazkov {
  grid-column: 1 / -1;
  padding: 14px;
  border-radius: 12px;
  background: #f5f1ec;
  color: #6a605a;
  font-weight: 700;
}

.inzerat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.inzerat-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eee7df;
  color: #3f332e;
  font-size: 0.92rem;
  font-weight: 800;
}

.inzerat-spodok {
  padding-top: 6px;
  border-top: 1px solid rgba(114, 36, 29, 0.12);
}

.inzerat-kontakt {
  color: #352d29;
  line-height: 1.4;
}

.inzerat-kontakt-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.inzerat-kontakt-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(114, 36, 29, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #861d1d;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.inzerat-kontakt-action:hover,
.inzerat-kontakt-action:focus-visible {
  background: #f5f1ec;
  outline: 3px solid rgba(134, 29, 29, 0.12);
}

.inzerat-kontakt-action.is-disabled {
  color: #6a605a;
  cursor: default;
}

.inzerat-hlasy {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hlas-form {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-weight: 900;
}

.hlas-form button,
.hlas-readonly {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid rgba(114, 36, 29, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #2b201c;
  font: inherit;
  font-size: 1.1rem;
  cursor: pointer;
}

.hlas-readonly {
  cursor: default;
  font-weight: 900;
}

.hlas-form button:hover,
.hlas-form button:focus-visible {
  background: #f5f1ec;
  outline: 3px solid rgba(134, 29, 29, 0.12);
}

.inzeraty-strankovanie {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: #3d342f;
  font-weight: 800;
}

/* Kompaktnejšie zobrazenie inzerátov na obsah.php */
.inzeraty-head {
  align-items: center;
  margin-bottom: 10px;
  padding: 14px 16px;
}

.inzeraty-list {
  gap: 8px;
}

.verejny-inzerat {
  gap: 5px;
  padding: 10px 12px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(55, 38, 29, 0.10);
}

.verejny-inzerat h2 {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.inzerat-cely summary {
  cursor: pointer;
  color: #861d1d;
  font-size: 0.9rem;
  font-weight: 800;
}

.inzerat-detail {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.inzerat-popis-text {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f1ec;
  color: #3c3430;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* GV mini výpis inzerátov v novom obsahu */
.gv-mini-ads {
  display: grid;
  gap: 0;
}

.gv-mini-ad {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(16, 56, 35, .12);
}

.gv-mini-ad:first-child {
  padding-top: 0;
}

.gv-mini-ad:last-child {
  border-bottom: 0;
}

.gv-mini-ad-thumb {
  width: 86px;
  height: 86px;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2e8;
  display: grid;
  place-items: center;
  color: #176323;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.gv-mini-ad-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gv-mini-ad-body {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 4px;
}

.gv-mini-ad-body h3 {
  margin: 0;
  color: #176323;
  font-size: 1.02rem;
  line-height: 1.25;
}

.gv-mini-ad-body p {
  margin: 0;
  color: #4a504a;
  line-height: 1.35;
}

.gv-mini-ad-detail {
  margin-top: 5px;
}

.gv-mini-ad-detail summary {
  cursor: pointer;
  color: #176323;
  font-weight: 800;
  font-size: .92rem;
}

.gv-mini-ad-full {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(241, 247, 238, .72);
}

.gv-mini-ad-full p {
  overflow-wrap: anywhere;
}

.gv-mini-contact {
  display: grid;
  gap: 4px;
  font-size: .92rem;
}

.gv-mini-contact a {
  color: #176323;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

/* GV verejné sekcie inzerátov */
.gv-section-latest {
  display: flex;
  margin: 0 0 18px;
}

.gv-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}

.gv-section-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid rgba(239, 195, 140, 0.38);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
  color: #fff3df;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.02em;
  backdrop-filter: blur(5px);
}

.gv-section-tab-latest {
  width: 100%;
  min-height: 48px;
  border-color: rgba(216, 194, 122, 0.58);
  background: rgba(255, 255, 255, 0.26);
  color: #D8C27A;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-transform: uppercase;
}

.gv-section-tab-latest:hover,
.gv-section-tab-latest:focus-visible {
  background: rgba(245, 241, 236, 0.34);
  border-color: rgba(240, 216, 140, 0.78);
  color: #F0D88C;
  outline: 3px solid rgba(134, 29, 29, 0.10);
}

.gv-section-tab.is-active {
  background: #861d1d;
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 24px rgba(80, 22, 18, 0.22);
}

.gv-section-tab-latest.is-active {
  background: rgba(134, 29, 29, 0.72);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff8ec;
}

.gv-section-tab.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

/* Druha uroven navigacie tematickych sekcii. */
.gv-subsection-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -2px 0 18px;
  padding: 9px 12px;
  border: 1px solid rgba(198, 91, 76, 0.56);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 213, 183, 0.14) 0%, rgba(255, 213, 183, 0.02) 100%),
    rgba(134, 29, 29, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 7px 18px rgba(80, 22, 18, 0.15);
  backdrop-filter: blur(5px);
}

.gv-subsection-label {
  color: #fff2cf;
  font-size: 0.88rem;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(67, 39, 11, 0.28);
}

.gv-subsection-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff3df;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
}

.gv-subsection-tab:hover,
.gv-subsection-tab:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.68);
  outline: none;
}

.gv-subsection-tab.is-active {
  background: #861d1d;
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: 0 7px 16px rgba(80, 22, 18, 0.18);
}

/* GV Listing Typography v1.4 – jemnejšie texty kariet */
.verejny-inzerat {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #342d29;
}

.inzerat-title-row h2,
.verejny-inzerat h2 {
  color: #241f1c;
  font-size: clamp(0.94rem, 1.15vw, 1.08rem);
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: 0;
}

.inzerat-preview-body {
  gap: 5px;
}

.inzerat-preview-text {
  color: #4a433f;
  font-size: 0.9rem;
  line-height: 1.42;
}

.inzeraty-eyebrow {
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.inzerat-badge,
.inzerat-meta-compact span,
.inzerat-cely summary {
  font-size: 0.8rem;
  font-weight: 720;
}

.inzerat-cely summary {
  color: #7a2a22;
}

.inzerat-popis-text {
  color: #453d38;
  font-size: 0.88rem;
  line-height: 1.48;
}

.gv-action,
.gv-feedback-btn,
.gv-feedback-readonly,
.gv-report-link,
.gv-report-state,
.inzerat-action-row .inzerat-kontakt-action {
  font-size: 0.82rem;
  font-weight: 720;
}

.inzeraty-eyebrow {
  margin: 0 0 6px !important;
  color: #861d1d !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inzerat-preview {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.inzerat-preview-thumb {
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: #eee7df;
  color: #861d1d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(114, 36, 29, 0.12);
}

.inzerat-preview-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.18s ease;
}

.inzerat-preview-thumb:hover img,
.inzerat-preview-thumb:focus-visible img {
  transform: scale(1.04);
}

.inzerat-preview-body {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.inzerat-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
}

.inzerat-title-row h2 {
  min-width: 0;
}

.inzerat-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eee7df;
  color: #3f332e;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.inzerat-badge-kupa {
  background: #e7efe2;
  color: #176323;
}

.inzerat-badge-predaj {
  background: #f3e3d0;
  color: #7d3d12;
}

.inzerat-preview-text {
  margin: 0;
  color: #3c3430;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.inzerat-meta-preview {
  margin-top: 1px;
}

.inzerat-cely {
  margin-left: 126px;
}

.inzerat-cely[open] {
  margin-top: 8px;
}

@media (max-width: 700px) {
  .gv-section-tabs {
    justify-content: center;
  }

  .gv-section-tab {
    flex: 1 1 130px;
  }

  .gv-subsection-tabs {
    justify-content: center;
  }

  .gv-subsection-label {
    flex: 1 0 100%;
    text-align: center;
  }

  .gv-subsection-tab {
    flex: 1 1 130px;
  }

  .inzerat-preview {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
  }

  .inzerat-preview-thumb {
    width: 82px;
    border-radius: 12px;
    font-size: 1.1rem;
  }

  .inzerat-cely {
    margin-left: 0;
  }
}

@media (max-width: 460px) {
  .inzerat-preview {
    grid-template-columns: 1fr;
  }

  .inzerat-preview-thumb {
    width: 100%;
    max-height: 220px;
  }
}

/* GV Feedback v1.0 – LIKE / DISLIKE / Oznámenie inzerátu */
.gv-feedback {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: 0;
  padding-top: 0;
}

.gv-feedback-form {
  margin: 0;
}

.gv-feedback-btn,
.gv-feedback-readonly,
.gv-report-link,
.gv-report-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(114, 36, 29, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #2b201c;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.gv-feedback-btn {
  cursor: pointer;
}

.gv-feedback-btn img,
.gv-feedback-readonly img {
  width: 18px;
  height: 18px;
  display: block;
}

.gv-feedback-btn:hover,
.gv-feedback-btn:focus-visible,
.gv-report-link:hover,
.gv-report-link:focus-visible {
  background: #f5f1ec;
  outline: 3px solid rgba(134, 29, 29, 0.12);
}

.gv-feedback-btn.is-active {
  background: #861d1d;
  border-color: #861d1d;
  color: #fff;
}

.gv-feedback-btn.is-active img {
  filter: brightness(0) invert(1);
}

.gv-report-link {
  color: #861d1d;
}

.gv-report-state {
  background: #e7efe2;
  color: #176323;
  cursor: default;
}

.form-help {
  color: #6a605a;
  font-size: 0.88em;
  font-weight: 700;
}

@media (max-width: 700px) {
  .gv-feedback {
    margin-left: 0;
    justify-content: flex-start;
  }
}


/* GV Feedback v1.1 – spätná väzba v detailnom riadku inzerátu */
.inzerat-detail-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(114, 36, 29, 0.14);
}

.inzerat-meta-detail {
  margin: 0;
}

.inzerat-detail-info-row .gv-feedback {
  margin-left: 0;
  padding-top: 0;
  justify-content: flex-end;
}

@media (max-width: 700px) {
  .inzerat-detail-info-row {
    align-items: flex-start;
  }

  .inzerat-detail-info-row .gv-feedback {
    justify-content: flex-start;
  }
}

/* GV Contact v0.1 – kompaktný kontaktný riadok v detaile inzerátu */
@media (max-width: 520px) {
  .inzerat-kontakt-row {
    align-items: stretch;
  }

  .inzerat-kontakt-action {
    width: 100%;
    justify-content: center;
  }
}

/* GV Listing Card v1.1 – kratší zoznam, metaúdaje až v rozbalenom detaile */
.inzerat-detail-location {
  margin-top: 2px;
}

.inzerat-detail-location span {
  background: #f5f1ec;
}

.inzerat-detail .inzerat-popis-text + .inzerat-thumb-grid {
  margin-top: 2px;
}

/* GV Listing Card v1.2 – kompaktnejší detail a akčný riadok */
.inzerat-meta-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.inzerat-meta-compact span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eee7df;
  color: #3f332e;
  font-size: 0.88rem;
  font-weight: 800;
}

.inzerat-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  margin-top: 0;
  padding-top: 0;
}

.inzerat-action-row .gv-feedback,
.inzerat-action-row .inzerat-kontakt-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.inzerat-action-row .inzerat-kontakt-action {
  min-height: 34px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.72);
}

.inzerat-action-row .inzerat-kontakt-action img {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.inzerat-action-row .inzerat-kontakt-action span {
  white-space: nowrap;
}

.inzerat-detail-info-row,
.inzerat-spodok {
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 720px) {
  .inzerat-action-row {
    align-items: flex-start;
    justify-content: flex-start;
  }
}


/* GV Listing Card v1.3 – finálne kompaktné usporiadanie detailu */
.inzerat-detail {
  gap: 8px;
}

.inzerat-popis-text {
  padding: 9px 11px;
}

.inzerat-meta-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
}

.inzerat-meta-compact span {
  min-height: 28px;
  padding: 4px 9px;
  font-size: 0.84rem;
}

.inzerat-meta-category {
  flex: 1 0 100%;
  max-width: max-content;
}

.inzerat-meta-location {
  margin-right: auto;
}

.inzerat-meta-created {
  margin-left: auto;
}

.inzerat-action-row {
  margin-top: 2px;
  gap: 8px 12px;
}

.inzerat-action-row .gv-feedback,
.inzerat-action-row .inzerat-kontakt-row {
  gap: 6px;
}

.gv-feedback-btn,
.gv-feedback-readonly,
.gv-report-link,
.gv-report-state,
.inzerat-action-row .inzerat-kontakt-action {
  min-height: 32px;
  padding: 5px 9px;
  font-size: 0.86rem;
}

.inzerat-action-row .inzerat-kontakt-action img {
  width: 16px;
  height: 16px;
}

@media (max-width: 720px) {
  .inzerat-meta-category,
  .inzerat-meta-location,
  .inzerat-meta-created {
    flex: 1 1 auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .inzerat-action-row {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

/* GV Action Bar v1.0 – jednotný riadok akcií pre kartu inzerátu */
.gv-action-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}

.gv-action-form {
  display: inline-flex;
  margin: 0;
}

.gv-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(114, 36, 29, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #2b201c;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.gv-action:hover,
.gv-action:focus-visible {
  background: #f5f1ec;
  outline: 3px solid rgba(134, 29, 29, 0.12);
}

.gv-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  line-height: 1;
}

.gv-action-icon img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.gv-action-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2em;
  line-height: 1;
}

/* Stav po zahlasovaní nesmie vyplniť celé tlačidlo farbou.
   Ikona musí zostať vždy viditeľná. */
.gv-action.is-voted,
.gv-action.is-active {
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: inset 0 0 0 2px rgba(134, 29, 29, 0.34);
}

.gv-action-like.is-voted,
.gv-action-like.is-active {
  border-color: rgba(33, 107, 69, 0.65);
  color: #216B45;
}

.gv-action-dislike.is-voted,
.gv-action-dislike.is-active {
  border-color: rgba(160, 31, 31, 0.65);
  color: #861d1d;
}

.gv-action.is-voted .gv-action-icon img,
.gv-action.is-active .gv-action-icon img {
  filter: none !important;
}

.gv-action.is-readonly {
  cursor: default;
}

.gv-action.is-state {
  background: #e7efe2;
  color: #176323;
  cursor: default;
}

.gv-action.is-disabled {
  color: #6a605a;
  cursor: default;
  opacity: 0.75;
}

.gv-action-contact {
  color: #861d1d;
}

.gv-action-spacer {
  flex: 1 1 auto;
  min-width: 12px;
}

/* Staršie obaly sa v novej karte nepoužívajú, ale ponechávame ich bez vplyvu. */
.inzerat-action-row {
  display: block;
}

@media (max-width: 720px) {
  .gv-action-bar {
    justify-content: flex-start;
  }

  .gv-action-spacer {
    display: none;
  }
}

@media (max-width: 460px) {
  .gv-action {
    min-height: 36px;
    padding: 7px 10px;
  }
}

/* GV Services / Profile ponuka služieb v0.1 */
.sluzby-panel .inzeraty-head {
  border-color: rgba(31, 95, 168, 0.18);
}

.sluzby-panel .inzeraty-head h1 {
  color: #173f70;
}

.verejna-sluzba {
  border-left: 4px solid var(--gv-service-accent, #1f5fa8);
}

.sluzba-preview-thumb {
  background: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 13%, #fff);
  border-color: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 28%, #d8c7b3);
}

.sluzba-preview-thumb img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.sluzba-badge {
  background: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 12%, #fff);
  border-color: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 32%, #d8c7b3);
  color: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 76%, #211712);
}

.sluzba-cely summary:hover,
.sluzba-cely summary:focus-visible {
  color: #1f5fa8;
}

.sluzba-meta-compact span {
  border-color: rgba(31, 95, 168, 0.16);
}

.sluzba-profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.sluzba-profile-facts span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(31, 95, 168, 0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  font-size: 0.86rem;
  font-weight: 800;
  color: #3b332e;
}

.sluzba-reputation-placeholder {
  border-color: rgba(31, 95, 168, 0.26);
  color: #1f5fa8;
}

@media (max-width: 640px) {
  .sluzba-profile-facts span {
    flex: 1 1 auto;
  }
}

/* GV Service Profile v1.0 RC – referenčná karta služby */
.gv-service-card {
  position: relative;
  border-left: 5px solid var(--gv-service-accent, #1f5fa8);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 7%, transparent), transparent 40%),
    rgba(255, 255, 255, 0.9);
}

.gv-service-preview {
  grid-template-columns: 116px minmax(0, 1fr);
}

.gv-service-preview .sluzba-preview-thumb {
  background:
    radial-gradient(circle at 35% 25%, color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 25%, #fff), transparent 46%),
    color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 9%, #fff);
  color: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 80%, #10253d);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 25%, transparent),
    0 10px 20px rgba(31, 95, 168, 0.10);
}

.gv-service-preview .sluzba-preview-thumb img {
  width: 48px;
  height: 48px;
}

.gv-service-preview-body {
  gap: 6px;
}

.gv-service-profession {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 11%, #fff);
  color: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 84%, #11263f);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.gv-service-profession img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.gv-service-title-block {
  display: grid;
  gap: 3px;
}

.gv-service-title-block h2 {
  color: #173f70;
}

.gv-service-reputation {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4f5c66;
  font-size: 0.86rem;
  font-weight: 800;
}

.gv-service-stars {
  color: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 82%, #d59b2b);
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}

.gv-service-preview-text {
  max-width: 74ch;
}

.gv-service-details summary {
  color: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 84%, #10253d);
}

.gv-service-details summary:hover,
.gv-service-details summary:focus-visible {
  color: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 92%, #0d2238);
  outline-color: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 22%, transparent);
}

.gv-service-detail {
  gap: 9px;
}

.gv-service-fulltext {
  background: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 7%, #f7f2ec);
}

.gv-service-facts,
.gv-service-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.gv-service-facts span,
.gv-service-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 850;
}

.gv-service-facts span {
  border: 1px solid color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 18%, transparent);
  background: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 8%, #fff);
  color: #2e343a;
}

.gv-service-meta span {
  background: rgba(255, 255, 255, 0.72);
  color: #68707a;
  font-size: 0.8rem;
}

.gv-service-action-bar {
  padding-top: 2px;
}

.gv-service-card .gv-action-contact,
.gv-service-contact {
  color: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 82%, #10253d);
  border-color: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 20%, transparent);
}

.gv-service-card .gv-action:hover,
.gv-service-card .gv-action:focus-visible {
  background: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 7%, #fff);
  outline-color: color-mix(in srgb, var(--gv-service-accent, #1f5fa8) 20%, transparent);
}

@media (max-width: 700px) {
  .gv-service-preview {
    grid-template-columns: 86px minmax(0, 1fr);
  }
}

@media (max-width: 460px) {
  .gv-service-preview {
    grid-template-columns: 1fr;
  }

  .gv-service-preview .sluzba-preview-thumb {
    width: 100%;
    max-height: 180px;
  }

  .gv-service-facts span,
  .gv-service-meta span {
    flex: 1 1 auto;
  }
}


/* GV Theme System v1.0 – Podujatia Gold
   Pravidlo: tematická farba modulu sa zobrazí až po aktivácii sekcie.
   Neaktívne tlačidlo Podujatia preberá štandardný vzhľad .gv-section-tab. */
.podujatia-panel .inzeraty-head {
  border-color: rgba(216, 176, 106, 0.34);
}

.podujatia-panel .inzeraty-head h1 {
  position: relative;
  display: inline-block;
  color: #8a6417;
}

.podujatia-panel .inzeraty-head h1::after {
  content: "";
  display: block;
  height: 3px;
  width: min(260px, 100%);
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(180, 138, 44, 0.36) 14%, #d8b06a 50%, rgba(180, 138, 44, 0.36) 86%, transparent 100%);
}

.podujatie-card {
  border-color: rgba(216, 176, 106, 0.24);
}

.podujatie-card.is-today {
  border-color: rgba(46, 107, 70, 0.42);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 12px 26px rgba(46, 107, 70, 0.10);
}

.podujatie-preview {
  display: grid;
  grid-template-columns: minmax(122px, 158px) minmax(0, 1fr);
  gap: 15px;
  align-items: stretch;
}

.podujatie-date {
  position: relative;
  display: grid;
  gap: 4px;
  justify-items: center;
  align-content: center;
  min-height: 96px;
  padding: 13px 12px;
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(248, 245, 238, 0.96), rgba(241, 232, 217, 0.90));
  color: #73520d;
  text-align: center;
  box-shadow:
    inset 0 0 0 1px rgba(216, 176, 106, 0.42),
    0 8px 18px rgba(116, 83, 18, 0.08);
}

.podujatie-card.is-today .podujatie-date {
  color: #73520d;
  background: linear-gradient(180deg, rgba(255, 249, 230, 0.98), rgba(242, 226, 175, 0.92));
  box-shadow:
    inset 0 0 0 1px rgba(216, 176, 106, 0.52),
    0 8px 18px rgba(116, 83, 18, 0.10);
}

.podujatie-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 999px;
  background: #2e6b46;
  color: #fffdf7;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 12px rgba(46, 107, 70, 0.16);
}

.podujatie-day {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
}

.podujatie-date strong {
  display: block;
  font-size: 1.03rem;
  line-height: 1.18;
}

.podujatie-time {
  font-size: 0.92rem;
  font-weight: 800;
  color: #3f332e;
}

.podujatie-main {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 6px;
}

.podujatie-main h2 {
  margin: 0;
  color: #2f2a26;
  font-size: clamp(1.08rem, 2.2vw, 1.34rem);
  line-height: 1.18;
}

.podujatie-place,
.podujatie-short {
  margin: 0;
  line-height: 1.42;
}

.podujatie-place {
  color: #4f453d;
  font-weight: 650;
}

.podujatie-place strong {
  color: #8a6417;
}

.podujatie-card.is-today .podujatie-place strong {
  color: #8a6417;
}

.podujatie-short {
  color: #625850;
  font-size: 0.95rem;
}

.podujatie-cely summary {
  margin-top: 10px;
}

.podujatie-detail {
  display: grid;
  gap: 14px;
}

.podujatie-detail-block h3 {
  margin: 0 0 6px;
  color: #8a6417;
  font-size: 1rem;
}

.podujatie-detail-block {
  border-top: 1px solid rgba(216, 176, 106, 0.24);
  padding-top: 12px;
}

.podujatie-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.podujatie-facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f5f1ec;
  color: #3f332e;
  font-size: 0.92rem;
  font-weight: 750;
}

.podujatie-facts img {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.podujatie-facts span {
  border: 1px solid rgba(216, 176, 106, 0.24);
}

.podujatie-facts span:first-child {
  background: rgba(255, 249, 230, 0.86);
  color: #73520d;
}

.podujatie-action-bar {
  border-top: 1px solid rgba(216, 176, 106, 0.24);
  padding-top: 12px;
}

.podujatie-action-bar {
  margin-top: 2px;
}

.gv-action-share {
  cursor: pointer;
}

.podujatie-action-bar .gv-action-share {
  border-color: rgba(180, 138, 44, 0.48);
  background: linear-gradient(180deg, rgba(255, 249, 230, 0.92), rgba(242, 226, 175, 0.72));
  color: #73520d;
}

.podujatie-action-bar .gv-action-share:hover,
.podujatie-action-bar .gv-action-share:focus-visible {
  border-color: rgba(180, 138, 44, 0.78);
  background: linear-gradient(180deg, rgba(255, 252, 240, 0.98), rgba(240, 217, 140, 0.88));
}

.gv-action-share.is-copied {
  border-color: rgba(46, 107, 70, 0.38);
  background: rgba(46, 107, 70, 0.10);
  color: #235238;
}


/* GV Event v1.1 – titulný obrázok podujatia */
.podujatie-image {
  margin: 0 0 14px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(216, 176, 106, 0.28);
  background: rgba(248, 245, 238, 0.75);
  box-shadow: 0 10px 22px rgba(116, 83, 18, 0.08);
}

.podujatie-image img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

/* GV Soft Typography final override */
.verejny-inzerat,
.gv-service-card,
.podujatie-card {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.inzerat-title-row h2,
.verejny-inzerat h2,
.gv-service-title-block h2,
.podujatie-main h2 {
  font-size: clamp(0.94rem, 1.12vw, 1.08rem);
  font-weight: 720;
  line-height: 1.26;
  letter-spacing: 0;
}

.inzerat-preview-text,
.gv-service-preview-text,
.podujatie-main p,
.podujatie-detail-block p,
.inzerat-popis-text,
.gv-service-fulltext {
  font-size: 0.88rem;
  line-height: 1.48;
}

.inzeraty-eyebrow,
.gv-service-profession,
.podujatie-date-label {
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.06em;
}

.inzerat-badge,
.inzerat-meta-compact span,
.gv-service-facts span,
.gv-service-meta span,
.podujatie-facts span,
.gv-action,
.gv-feedback-btn,
.gv-feedback-readonly,
.gv-report-link,
.gv-report-state {
  font-size: 0.8rem;
  font-weight: 720;
}

.inzeraty-head h1 {
  font-size: clamp(1.12rem, 1.55vw, 1.36rem);
  font-weight: 720;
}

.inzeraty-head p {
  font-size: 0.9rem;
  color: #000;
}

.inzeraty-head h1,
.sluzby-panel .inzeraty-head h1,
.podujatia-panel .inzeraty-head h1 {
  color: #000;
}

.podujatia-panel .inzeraty-head h1::after {
  display: none;
}
/* GV Detail Typography v1.0
   Názov údaja je zvýraznený, jeho hodnota zostáva typograficky pokojná. */
.inzerat-meta-compact > span,
.gv-service-facts > span,
.gv-service-meta > span,
.podujatie-facts > span {
  font-weight: 400;
}

.gv-meta-label {
  font-weight: 800;
  margin-inline-end: 0.3em;
}

/* =========================================================
   GV Theme System v2.0 – jednotné karty tematických sekcií

   Neutrálne telo karty vyjadruje rovnakú dôležitosť obsahu.
   Tému označuje iba jemný ľavý akcent a jej malé komponenty.
   Plné tónovanie pozadia je vyhradené pre skutočný stav položky.
   ========================================================= */
.verejny-inzerat {
  --gv-card-accent: #b8892f;
  border-left: 4px solid var(--gv-card-accent);
  background: rgba(255, 255, 255, 0.9);
}

.gv-service-card {
  --gv-card-accent: #7550ad;
  border-left-color: var(--gv-card-accent);
  background: rgba(255, 255, 255, 0.9);
}

.podujatie-card {
  --gv-card-accent: #3f78b5;
  border-left-color: var(--gv-card-accent);
}

.gv-auto-card {
  --gv-card-accent: #b94a48;
}

.gv-farmari-card {
  --gv-card-accent: #3c7a4b;
}

.gv-zvierata-card {
  --gv-card-accent: #c87532;
}

.gv-knihy-card {
  --gv-card-accent: #8a4f49;
}

/* Profil remeselníka už nemá farebne tónované celé plochy. */
.gv-service-title-block h2 {
  color: #2f2a26;
}

.gv-service-fulltext {
  background: rgba(247, 242, 236, 0.82);
}

/* GV Theme System v2.1
   Nepriehľadné neutrálne telo zabráni presvitaniu tematických farieb
   aj farebného pozadia portálu cez jednotlivé karty. */
.inzeraty-list .verejny-inzerat {
  background: #fff !important;
  opacity: 1;
}

.inzeraty-list .verejny-inzerat.gv-service-card {
  background: #fff !important;
}

.gv-service-card .gv-service-preview,
.gv-service-card .gv-service-detail {
  background-color: transparent;
  background-image: none;
}

.gv-service-card .gv-service-fulltext {
  background: #f7f2ec;
}

/* GV Services Theme v2.0
   Farba profesie z databázy už neurčuje vzhľad verejnej karty.
   Všetky remeslá používajú jeden sekčný akcent a neutrálne plochy. */
.gv-service-card {
  --gv-service-accent: #7550ad;
}

.gv-service-preview .sluzba-preview-thumb {
  background: #f5f1ec;
  color: #3d342f;
  box-shadow:
    inset 0 0 0 1px rgba(114, 36, 29, 0.12),
    0 10px 20px rgba(55, 38, 29, 0.08);
}

.gv-service-profession {
  background: #f5f1ec;
  color: #3d342f;
}

.gv-service-facts span {
  border-color: rgba(114, 36, 29, 0.12);
  background: #fff;
}

/* GV Detail Toggle v2.0
   Ovládanie rozbalenia má vo všetkých sekciách rovnakú neutrálnu farbu. */
.inzeraty-list .inzerat-cely > summary,
.inzeraty-list .gv-service-details > summary,
.inzeraty-list .podujatie-cely > summary {
  color: #493b35;
}

.inzeraty-list .inzerat-cely > summary:hover,
.inzeraty-list .inzerat-cely > summary:focus-visible,
.inzeraty-list .gv-service-details > summary:hover,
.inzeraty-list .gv-service-details > summary:focus-visible,
.inzeraty-list .podujatie-cely > summary:hover,
.inzeraty-list .podujatie-cely > summary:focus-visible {
  color: #211b18;
  outline-color: rgba(73, 59, 53, 0.2);
}

/* GV Metadata Typography v2.0
   Názvy údajov majú jednotnú neutrálnu farbu bez ohľadu na sekciu. */
.inzeraty-list .gv-meta-label,
.inzeraty-list .podujatie-place strong,
.inzeraty-list .podujatie-card.is-today .podujatie-place strong {
  color: #493b35;
}

.inzeraty-list .gv-service-meta span,
.inzeraty-list .gv-service-facts span {
  color: #3d342f;
}

/* GV Service Logo v1.1
   Profesijná ikonka zostáva kompaktná, skutočné logo využije plochu náhľadu. */
.gv-service-preview .sluzba-preview-thumb.is-logo img {
  width: 100%;
  height: 100%;
  padding: 0;
  box-sizing: border-box;
  object-fit: cover;
}

.gv-service-preview .sluzba-preview-thumb.is-profession-icon img {
  width: 48px;
  height: 48px;
  padding: 0;
  object-fit: contain;
}

/* Stavové zvýraznenie má prednosť pred neutrálnym tematickým telom. */
.inzeraty-list .podujatie-card.is-today {
  background: rgba(255, 253, 247, 0.98) !important;
}
