:root {
  --main-color: #815a23;
}

df-messenger {
  --df-messenger-button-titlebar-color: #815a23;
  --df-messenger-button-titlebar-font-color: white;
  --df-messenger-chat-background-color: #F5F5F5;
  --df-messenger-font-color: black;
  --df-messenger-bot-message: rgb(242, 237, 230);
  --df-messenger-user-message: rgb(225, 214, 200);
  ;
  --df-messenger-input-box-color: white;
  --df-messenger-input-font-color: black;
  --df-messenger-input-placeholder-font-color: gray;
  --df-messenger-minimized-chat-close-icon-color: white;
  --df-messenger-send-icon: #815a23;
}

a {
  outline: none; /* zruší rámik pri kliknutí */
}

.icon-phone {
  color: var(--main-color);
  width: 22px;
}

.grecaptcha-badge {
  visibility: hidden;
}

.form-select {
  background-color: #f7f7f7 !important;
}

#novinky a {
  color: var(--main-color) !important;
}

#filt {
  margin-top: 20px;
  width: 100%
}

#hore {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999 !important
}

.up {
  cursor: pointer
}

.scroll-adjust {
  padding-top: 75px;
  margin-top: -75px !important;
}

nav {
  border-bottom: 1px solid var(--main-color);
}

.nav-item img:hover {
  opacity: .9;
  cursor: pointer;
}

.nav-item img {
  opacity: .5;
  transition: opacity .5s linear 0s;
  cursor: pointer;
}

.ads {
  color: var(--main-color) !important
}

.subtitle {
  text-align: center;
}

.copyright {
  display: block;
  text-align: center;
}

header.leadtext {
  background: url(../img/leadspace3.webp) left bottom no-repeat;
  position: relative;
  overflow: hidden;
  max-height: 464px;
  height: 464px;
  margin-top: 72px;
  background-size: cover;
}

header.leadtextx {
  background: url(../img/sublead.webp) center top no-repeat #000;
  position: relative;
  overflow: hidden;
  max-height: 250px;
  height: 250px;
  margin-top: 72px;
  background-size: cover
}

.maintitle {
  width: 100%;
  padding: 0 20px;
  position: absolute;
  margin: 0 auto;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: center
}

.maintitle .lead-h2 {
  font-size: 1.5em;
  font-weight: 400;
  color: #adadad;
  padding: 0;
  text-decoration: none;
  margin: 10px auto;
  font-style: italic
}

.maintitle h1 {
  color: #c8c8c8;
  font-size: 2.3em;
  text-align: center !important
}

.leadright h1 {
  color: #212529;
  font-size: 2.3em;
}

.maintitle h2 {
  color: #c8c8c8;
  font-size: 1.6em;
  text-align: center !important
}

h3 {
  font-size: 1.6em
}

h4 {
  font-size: 1.25em
}

.lead-h1 {
  color: #c8c8c8;
  font-size: 2.2em;
  font-weight: normal;
  text-align: center !important;
  max-width: 600px;
  /* Obmedzí šírku H1 pre správne zalomenie */
  margin: 0 auto;
  /* Vycentrované */
  line-height: 1.2;
  /* Vhodná výška riadkov */
  word-wrap: break-word;
  /* Umožní zalomenie textu */
}

.part {
  display: block;
  /* Prvá časť bude na samostatnom riadku */
}

.logo {
  width: 221px !important;
  ;
  height: 54px !important;
  opacity: 0.75;
}

.ico {
  width: 14px !important;
  ;
  height: 20px !important;
}

.wrapo input,
.wrapo .ex {
  display: inline-block;
}

.wrapo {
  position: relative;
  width: 220px;
  margin: 15px auto;
  height: 30px;
}

.ex {
  position: absolute;
  right: 0;
  top: -3px;
  cursor: pointer;
  height: 30px;
  width: 30px;
  opacity: 0;
  font-size: 30px;
  line-height: 30px;
  transition: all 0.8s;
  border: 1px solid transparent;
  text-align: center;
}

#c_psource {
  font-size: 0.75em;
  color: #6c757d;
  text-align: center;
}

.wrapo input:focus~.ex {
  opacity: 1;
}

.hrline {
  margin: 10px auto;
  width: 80%
}

@media only screen and (max-width: 576px) {
  header .leadright {
    max-height: none !important;
    height: auto !important;
    background-color: #f2f2f2;
    border-bottom: 2px solid #bd8d4c;
  }

  header.leadtext {
    background: url(../img/leadspace_small.webp) center bottom no-repeat;
    position: relative;
    overflow: hidden;
    max-height: 464px;
    height: 419px;
    margin-top: 72px;
    background-size: cover
  }
}

@media only screen and (max-width: 992px) {

  #zoznam td:nth-child(2),
  #zoznam th:nth-child(2) {
    display: none !important
  }

  .nomobile {
    display: none !important
  }

  .mobile {
    display: block !important
  }

  .mleft {
    margin-left: 0 !important;
  }

  .subpristup,
  .subtitle {
    text-align: center !important;
  }
}

@media only screen and (max-width: 768px) {
  #stats {
    font-size: 0.8em
  }
}

@media only screen and (min-width: 350px) {

  .maintitle h1,
  .lead-h1 {
    font-size: 1.8em;
  }

  .leadright h1 {
    color: #212529;
    font-size: 1.8em;
  }

  .maintitle h2 {
    font-size: 1.3em;
  }

  h3 {
    font-size: 1.4em;
  }

  h4 {
    font-size: 1.2em;
  }

  .maintitle p,
  .lead-h2 {
    font-size: 1.1em
  }
}

@media only screen and (min-width: 768px) {

  .maintitle h1,
  .lead-h1 {
    font-size: 2.0em;
  }

  .leadright h1 {
    color: #212529;
    font-size: 2.0em;
  }

  .maintitle h2 {
    font-size: 1.4em;
  }

  h3 {
    font-size: 1.4em;
  }

  h4 {
    font-size: 1.2em;
  }

  .maintitle p {
    font-size: 1.3em
  }
}

@media only screen and (min-width: 992px) {

  .maintitle h1,
  .lead-h1 {
    font-size: 2.0em;
  }

  .leadright h1 {
    color: #212529;
    font-size: 2.0em;
  }

  .maintitle h2 {
    font-size: 1.6em;
  }

  .mobile {
    display: none !important
  }
}

@media only screen and (max-width: 1200px) {
    .leg {
  right: 10px!important;
  bottom: 10px!important;
}
}


section#novinky {
  background: url(../img/decorup.png) 0 0 repeat-x #f2f2f2;
  height: auto;
  padding-top: 20px;
}

#stats {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  cursor: pointer;
}

#counter {
  border-top: 1px solid var(--main-color);
  border-bottom: 1px solid var(--main-color);
}

.card-img-top {
  max-height: 280px;
}

.card:hover {
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important
}

.big,
.normal {
  color: #fff
}

.big {
  font-size: 2.3em;
  line-height: 1.2;
  font-weight: 500
}

.normal {
  font-size: 1.3em;
  line-height: 1;
  font-weight: normal
}

#mapa img {
  width: 100%;
  height: auto;
}

.imageMap {
  width: 100%;
  position: relative;
  height: 100%;
}

.imageMap .hotspots {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0
}

.imageMap a {
  display: block;
  position: absolute
}

.y1,
.y2,
.y3,
.y4,
.y5,
.y6,
.y7,
.y8,
.y9 {
  background-image: url(../img/ch.png);
  padding-left: 20px
}

.oznac1 {
  background-image: url(../img/ch1.png) !important;
}

.legx {
  width: 300px;
  height: 140px;
  left: 66%;
  top: 68%;
  position: absolute
}

.oznac1,
.y1,
.y2,
.y3,
.y4,
.y5,
.y6,
.y7,
.y8,
.y9 { 
  background-repeat: no-repeat;
  background-position: 0 5px
}

.leg {
  position: absolute;
  right: 80px;
  bottom: 30px;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  z-index: 10;
  font-size: 14px;
  max-width: 95%;
}

.leg-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 5px;
}

.leg-row:last-child {
  margin-bottom: 0;
}

.leg-row span {
  white-space: nowrap;
}


.badge-recommended {
  background-color: #4CAF50; /* zelená */
  color: white;
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 5px;
  margin-bottom: 5px;
  display: inline-block;
}

.mobilemap img {
  display: block;
  width: 100%
}

.comment,
.koment {
  margin: 10px 0;
  width: 100%
}

.comment ul,
.koment ul {
  margin: 0 auto;
  width: 100%;
  padding: 0
}

.comment ul li {
  float: left;
  font-size: 1em;
  font-weight: 400;
  color: #ccc;
  padding-right: 5px
}

.comment p {
  font-size: 1.0em;
  font-weight: normal;
  color: #ccc;
  text-align: justify;
  margin-bottom: 0px !important;
}

.comment ul li a,
.comment ul li.name,
.koment ul li a,
.koment ul li.name {
  color: var(--main-color)
}

.koment hr {
  width: 100%;
  background: #bbbbbb;
  border: 0;
  margin: 3px 0;
  height: 1px;
  opacity: 0.5;
}

.comment hr {
  width: 100%;
  border: 0;
  margin: 3px 0;
  height: 1px;
  opacity: 0.5;
  background: var(--main-color);
}

.comment ul,
.topp ul,
.koment ul {
  list-style: none
}

.cl {
  clear: both
}

.koment {
  background-color: #f7f7f7f7;
  border: 1px solid #bbbbbba7;
  padding: 10px 20px 0 20px;
  border-radius: 5px;
  height: auto;
}

.koment ul li {
  float: left;
  font-size: 1em;
  font-weight: bold;
  color: #877c6d;
  padding-right: 5px
}

.koment .alert {
  background-color: #ebebec;
  font-size: 0.9em
}

/* ==========================
   KOMENTARE K HRADU (.koment)
   ========================== */

.koment {
  width: 100%;
  margin: 12px 0;
  background: #f7f7f7;
  border: 1px solid rgba(187, 187, 187, 0.65);
  border-radius: 8px;
  padding: 6px 16px;
}

/* Hlavička: meno + dátum */
.koment__head {
  font-size: 0.9em;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.koment__name {
  font-weight: 600;
  color: var(--main-color);
}

.koment__date {
  font-size: 0.85em;
  color: #877c6d;
  opacity: 0.8;
  white-space: nowrap;
}

/*  .koment__body {
 max-width: 95ch; /* aby riadky neboli nekonečne dlhé na širokých monitoroch 
} */

.koment__text {
  font-size: 0.9em;
  margin: 0;
  color: #726a5f;
  font-weight: 400;
  text-align: left;
  hyphens: auto;
  overflow-wrap: anywhere;
}


.koment__reply {
  background-color: #ebebec;
  font-size: 0.9em;
  margin-top: 10px;
  margin-bottom: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

@media print {
  .koment {
    border: 1px solid #bbb;
  }
}


/* ==========================
   KOMENTARE – ZOZNAM
   ========================== */

.koment--list {
  margin-bottom: 16px;
}

/* hlavička */
.koment__meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.koment__hrad {
  font-weight: 600;
  color: var(--main-color);
  text-decoration: none;
  font-size: 0.95em;
  white-space: nowrap;
  text-decoration: underline;
}

.koment__hrad:hover {
  text-decoration: underline;
  color: var(--main-color);
}

/* mobil – názov hradu pod meta */
@media (max-width: 576px) {
  .koment__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .koment__hrad {
    font-size: 0.9em;
  }
}



section.s2 {
  background: url(../img/decordown.png) 0 bottom repeat-x #f2f2f2;
}

.footer_logo,
.footer_wrap {
  background-color: #000;
  color: #71675a
}
.footer_logo img {opacity: 0.75;}

.footer_wrap .footer_logo {
  display: inline-block;
  padding: 0 1.6em;
  z-index: 2
}

.footer_wrap::before {
  left: 0;
  right: 0;
  width: auto;
  top: 26px;
  height: 1px;
  position: absolute;
  content: "";
  opacity: .4;
  z-index: -1;
  background-color: var(--main-color)
}

.wrap {
  text-align: center;
  width: 100%;

}

.footer_wrap {
  position: relative;
  z-index: 1;
}

.card img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover;
}

.card-text {
  font-size: 15px;
}

.language {
  display: none;
}

#komentare h3,
footer h3,
#kontaktform h3,
#pridat h3 {
  color: var(--main-color)
}

.v3,
.v4,
.v5 {
  background-position: left 75%;
  background-repeat: no-repeat;
  cursor: pointer;
  font-size: 1.1em
}

.v3 {
  background-image: url(../img/add.png);
  padding-left: 21px;
  padding-right: 10px
}


a.v3,
a.v4 {
  color: #ccc
}

a.v3:hover,
a.v4:hover {
  color: var(--main-color);
  text-decoration: underline
}

a.dark {
  color: #bd8d4c !important
}

a.dark:hover {
  color: #bd8d4c !important;
  text-decoration: underline
}

.v4 {
  background-image: url(../img/eye.png);
  padding-left: 25px
}

.social img:hover {
  opacity: 1
}

.social img {
  opacity: .5;
  transition: opacity .5s linear 0s;
  margin-top: 25px
}

.social a {
  padding: 0 12px
}

.cop {
  width: 100%;
  padding: 25px;
  text-align: center;
  color: #84817c;
  font-size: 0.85em
}

#zoznam {
  min-height: 700px;
}

#zoznam a {
  color: var(--main-color);
}

#zoznam,
#panovnici,
#kontakt,
#komentlist,
#hrady {
  background-image: url('../img/decorup.png'), url('../img/decordown.png');
  background-position: 0 0, 0 bottom;
  background-repeat: repeat-x, repeat-x;
  background-color: #f2f2f2;
  padding-bottom: 60px
}

#komentlist .alert {
  background-color: #ececec;
  position: relative;
}

#komentlist .alert img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

#zoznam a h3 {
  display: inline;
  font-size: 1.0em !important;
  font-weight: bold;
}

#zoznam table {
  width: 100% !important;
  height: 100%;
  margin: 0 auto;
  border-collapse: separate;
  background-color: #f7f7f7
}

#zoznam table span {
  font-weight: 400;
}

#zoznam td {
  height: 26px;
  padding: 3px 3px 3px 18px;
  border-bottom: 3px solid #f2f2f2;
  color: #535353;
  font-size: 0.9em;
  vertical-align: middle;
}

#zoznam th {
  font-weight: bold;
  font-size: 0.9em;
  border-bottom: 1px solid rgba(143, 143, 143, 0.3);
  vertical-align: middle;
  padding: 5px 18px;
  color: #535353;
}

#zoznam td,
#zoznam th {
  width: 30%;
  margin-bottom: 1px;
  text-align: left !important
}

#panovnici h3 {
  display: inline;
  font-size: 1.1em !important;
  font-weight: bold;
}

#zoznam tr:hover td {
  background-color: #f5f5f5
}

#hrady figure {
  max-width: 100%;
  /* Make the figure width responsive */
  margin: 0 auto !important;
}

figure,
#c_gallery img {
  transition: all 1s ease;
  text-align: center;
}

figure:hover,
#c_gallery img:hover {
  filter: brightness(92%);
}

figure img {
  border: 2px solid #4d4b4b
}

figure h3 {
  color: var(--main-color)
}


#panovnici h2 {
  color: var(--main-color);
  font-size: 1.4em;
}

#panovnici a {
  color: var(--main-color);
  font-weight: bold;
}

#contact-form label {
  color: var(--main-color)
}

.btn-secondary,
button .btn-secondary {
  background-color: var(--main-color) !important;
  color: #fff !important;
  border: 0 !important;
  line-height: 1.7 !important;
}

.btn-secondary:hover,
button .btn-secondary:hover {
  background-color: #9b6c2b !important;
  transition: background-color .3s ease-in-out !important;
}

#kontakt h4 a {
  color: var(--main-color);
  font-size: 0.8em;
}

.page-numbers.current {
  color: #f2e0c8;
  background-color: #070301
}

.page-numbers {
  text-decoration: none;
  color: #bd8d4c;
  background-color: #ececec;
  display: inline-block;
  vertical-align: top;
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  border: none;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  margin: 5px;
  transition: color .3s ease, background-color .3s ease, border-color .3s ease, background-position .3s ease;
  border-radius: 50%
}

.page-numbers:hover {
  color: #f2e0c8;
  background-color: #070301;
  text-decoration: none
}

.alert {
  padding: 0.5rem !important;
}

.vrstva2 {
  background: url(../img/vzor.png) rgba(0, 0, 0, .1);
  width: 100%;
  height: 100%;
  top: 0
}

header .hrady {
  max-height: 400px;
  height: 400px;
  background-color: #f2f2f2;
  border-bottom: 2px solid #bd8d4c;
}

header .hrady p {
  color: #464545;
}

header .hrady p.h5 {
  color: var(--main-color);
}

#widgetweather {
  max-width: 300px;
  margin: 0 auto;
  position: relative
}

 .info-navstevnik {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* gap: 4px;  */                       /* rozostup medzi textom a linkom */
    background-image: url('../img/box2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;       /* dekorácia sa natiahne podľa výšky */
    padding: 15px 20px 26px;          /* viac miesta dole pre link */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
    margin: 25px auto 10px auto;
    font-family: Arial, sans-serif;
    width: 300px;
    min-height: 140px;                /* namiesto height */
    height: auto;                     /* nech sa prispôsobí obsahu */
    color: #f2f2f2;
    position: relative;
}

.info-navstevnik .info-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
    font-size: 1em;
    text-wrap: balance;               /* krajšie zalamovanie na 3 riadky (Chromium) */
}

/* Spodný blok s linkom */
.info-navstevnik .info-link {
text-align: center;
    margin-top: 5px;
    margin-bottom: 0;                 /* už netreba extra margin dole */
    padding-bottom: 0;
}

.info-navstevnik .info-link a {
    font-weight: bold;
    color: #a5794d;
    font-size: 1em;
    text-decoration: underline;
    transition: color 0.2s;

    /* ikonka */
    background: url('../img/infoicon1.png') no-repeat left center;
    background-size: 16px 16px;   
    padding-left: 25px;     
    
}

@media (max-width: 430px) {
  .info-navstevnik { padding-bottom: 30px; } /* ešte kúsok miesta dole */
  .info-navstevnik .info-text { font-size: 0.96rem; } /* o chlp menší text */
}

.info-navstevnik .info-link a:hover {
    color: #C18F5D;
    text-decoration: underline;
}

.topx {
  margin-top: 72px;
}

.topp,
.topp ul {
  width: 100%;
  height: 35px;
  float: right;
}

.topp .menu {
  float: right;
  position: relative;
  left: -50%;
  text-align: left
}

.topp ul {
  margin: 5px auto 0;
  position: relative;
  left: 50%
}

.topp {
  background-color: #000;
  z-index: 1002;
  opacity: .9;
  position: fixed;
  bottom: 0
}

.topp a {
  color: #aaa !important;
  text-decoration: none;
}

.topp li.l1,
.topp li.l10,
.topp li.l2,
.topp li.l3,
.topp li.l4,
.topp li.l5,
.topp li.l6,
.topp li.l7,
.topp li.l8,
.topp li.l9 {
  width: auto;
  padding-left: 22px;
  background-repeat: no-repeat;
  background-position: center left;
  margin-right: 20px;
  background-size: 16px;
  float: left
}

.topp li.l3 {
  background-image: url(../img/icons/ico_3x.png)
}

.topp li.l4 {
  background-image: url(../img/icons/ico_4x.png)
}

.topp li.l5 {
  background-image: url(../img/icons/ico_5x.png)
}

.topp li.l6 {
  background-image: url(../img/icons/ico_6x.png)
}

.topp li.l7 {
  background-image: url(../img/icons/ico_7x.png)
}

.topp li.l8 {
  background-image: url(../img/icons/ico_8x.png)
}

.topp li.l9 {
  background-image: url(../img/icons/ico_9x.png)
}

.topp li.l10 {
  background-image: url(../img/icons/ico_10x.png)
}


.subheader p {
  font-size: 1.2em;
  color: var(--main-color);
}

.subheader a {
  font-size: 0.9em;
  color: #89929a;
  line-height: 2rem;
}

.subheader a:hover {
  color: #9da5ac;
  line-height: 2rem;
}

.bullbox {
  font-size: 1.0em;
  color: #89929a;
  background-color: #121212;
  width: auto;
  margin: 0 auto;
  display: inline-block;
  padding: 10px 15px;
  height: auto;
  color: #89929a;
  border: 1px solid #292828;
  border-radius: 4px;
}

.bullbox a {
  font-size: 1.0em;
  color: #89929a;
  line-height: 2rem;
  font-weight: bold;
}

.iconx {
  margin-top: -4px;
}

.contentbox {
  padding: 20px;
  background-color: #f7f7f7f7;
  text-align: justify;
  border-radius: 8px;
  border: 1px solid #bbbbbba7;
  font-size: 1.0em;
  line-height: 1.4;
  border-left:4px solid #815a239e;
}

/* === Support CTA box pod Históriou === */
.support-callout{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;

  padding:14px 16px;
  margin-top:12px;

  border-radius:10px;
  background:#815a2326;

  border:1px solid rgba(129, 90, 35, 0.35);

  /* Jemný vizuálny lift */
  box-shadow:0 1px 3px rgba(0,0,0,0.04);
}

/* Textová časť */
.support-callout__text{
  line-height:1.3;
  color:#3b2a17;
}

.support-callout__text strong{
  color:#815a23;
  font-weight:600;
}

.support-callout__text .small{
  font-size:0.9em;
  opacity:0.9;
}

.support-callout .btn{
  color:#fff;
  background:#815a23;
  border:1px solid #815a23;

  font-size:0.9em;
  padding:6px 14px;

  transition:background-color .2s ease, box-shadow .2s ease;
}

/* Hover / focus – jemná zmena, nie dramatická */
.support-callout .btn:hover,
.support-callout .btn:focus{
  background:#6f4d1d; /* mierne tmavší odtieň */
  border-color:#6f4d1d;
  color:#fff;
}

.support-callout .btn:focus{
  box-shadow:0 0 0 0.15rem rgba(129,90,35,.35);
}



/* Mobilné zobrazenie */
@media (max-width:576px){
  .support-callout{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  .support-callout .btn{
    align-self:flex-end;
  }
}

/* Voliteľný jemný akcent zľava */

.support-callout {
  border-left:4px solid #815a239e;
}



.mleft {
  margin-left: 10px;
}

.subpristup {
  background-color: #ebebeb;
  padding: 8px;
  line-height: 2em;
}

hr.hrcontent {
  background-color: #bbbbbba7;
  opacity: 1;
}

hr.hrcontent2 {
  background-color: #bbbbbba7;
  opacity: 1;
  margin: 0.5rem !important;
}

#hrady a {
  color: var(--main-color);
}

#hrady {
  font-size: 1.1em;
}

#map {
  height: 360px;
  width: 100%;
  border-top: 1px solid #5e5c5c;
  border-bottom: 1px solid #5e5c5c;
  margin-top: 8px
}

.leaflet-marker-icon {
  width: 32px !important;
  height: 32px !important;
  margin-top: -34px !important;
}


.literatura {
  width: 100%;
  height: auto;
  color: #575757;
  font-style: italic;
  font-size: 0.8em;
  border-radius: 5px;
  margin: 15px auto;
  line-height: 1.5rem
}

.literatura .small-line {
  margin-bottom: 10px;
  display: block;
}

.imgupload {
  width: 100%;
  height: auto;
  background-color: #f6f6f6;
  text-align: center;
  border: 1px solid #dfdfdf;
  color: #575757;
  font-style: italic;
  font-size: 0.8em;
  border-radius: 5px;
  margin: 15px auto 25px auto;
  line-height: 17px
}

#c_podorys {
  font-size: 0.8em;
}

.podorys-thumb {
    max-width: 400px!important; 
    width: 100%;
    height: auto;
    margin: 0 auto;
}


.divider {
  width: 132px;
  background-image: url('../img/divicon2.png');
  background-position: center;
  background-repeat: no-repeat;
  margin: auto;
  height: 30px;
}

.subfoto{
  background-color:#f6f6f6;
  border:1px solid #575757;
  color:#575757;
  width:140px;
  border-radius:6px;
  margin: 6px auto 14px auto; /* mierne menej */
}
.gallery-years{ margin-bottom: 10px; }
.year-chip{
  display:inline-block;
  padding:6px 10px;
  margin:4px 6px;
  border:1px solid #575757;
  border-radius:999px;
  color:#575757;
  background:#f6f6f6;
  text-decoration:none;
  font-size:14px;
}

.year-chip:hover{
  background:#eee;
}
.year-chip:active{
  transform: translateY(1px);
}

.year-section{ scroll-margin-top: 90px; } 


a.v2 {
  background-image: url(../img/v2.png);
  padding-left: 28px;
  text-align: left;
  font-size: 1.0em;
  font-weight: 400;
  background-position: left 60%;
  background-repeat: no-repeat;
  cursor: pointer;
  color: #575757 !important;
  text-decoration: none;
}

#modalmsg h5 {
  color: #815a23
}

.h5 img {
  height: 1.25rem;
  width: auto;
  margin-right: 0.5rem;
  margin-top: -7px;
}

.success {
  color: #575757
}

.error {
  color: rgb(110, 0, 0)
}

.modal {
  background-color: rgba(0, 0, 0, 0.5);
}

#loading {
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  z-index: 1055;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.figc{
  text-align: center;
  padding-top: 5px;
  font-size: 80% !important;
  line-height: 1.2;
}

.cta-upload{
  display:inline-flex;
  align-items:center;
  gap:10px;

  padding:8px 12px 8px 36px;
  border:1px solid #000000;
  border-radius:999px;
  background:#fff;

  color:#575757 !important;
  text-decoration:none;
  font-size:0.9em;
  font-weight:500;

  background-image:url(../img/v2.png);
  background-repeat:no-repeat;
  background-position:12px center;

  transition:background-color .2s ease, box-shadow .2s ease;
}

.cta-upload-sub {font-size: 0.8em;}

.cta-upload:hover{
  background-color:#f2f2f2;
  box-shadow:0 2px 6px rgba(0,0,0,0.06);
}

/* názov hradu */
.cta-upload-place{
  color:#b18241;
  font-weight:600;
}

.cta-upload-sub {font-style: italic;padding-top: 10px;}

/* plus / toggle vpravo */
.cta-toggle{
  display:inline-block;
  width:18px;
  height:18px;
  border:1px solid #b18241;
  border-radius:50%;
  position:relative;
  margin-left:6px;
  flex-shrink:0;
}

/* horizontála */
.cta-toggle::before{
  content:'';
  position:absolute;
  top:50%;
  left:4px;
  right:4px;
  height:1px;
  background:#b18241;
  transform:translateY(-50%);
}

/* vertikála = plus */
.cta-toggle::after{
  content:'';
  position:absolute;
  left:50%;
  top:4px;
  bottom:4px;
  width:1px;
  background:#b18241;
  transform:translateX(-50%);
}

/* keď je otvorené → z plusu sa stane mínus */
.cta-upload:not(.collapsed) .cta-toggle::after{
  display:none;
}

.povest-text {
  overflow: hidden;
}


.povest-text.clamp {
  overflow: hidden;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 12;

  /* štandardná vlastnosť (nové prehliadače) */
  display: box;
  box-orient: vertical;
  line-clamp: 12;
}


.povest-toggle {
  margin-top: .4rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--main-color);
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.povest-toggle::after {
  content: "›";
  font-size: 1.2em;
  line-height: 1;
  transition: transform .2s ease;
}

.povest-toggle:hover {
  text-decoration: underline;
}

.povest-toggle:hover::after {
  transform: translateX(2px);
}

/* stav po rozbalení */
.povest-item .povest-text:not(.clamp) + .povest-toggle::after {
  content: "‹";
}

