
.timeline {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative
}

.timeline:before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    width: 5px;
    background: #2d353c;
    left: 20%;
    margin-left: -2.5px
}

.timeline>li {
    position: relative;
    min-height: 50px;
    padding: 20px 0
}

.timeline .timeline-time {
    position: absolute;
    left: 0;
    width: 18%;
    text-align: right;
    top: 30px
}

.timeline .timeline-time .date,
.timeline .timeline-time .time {
    display: block;
    font-weight: 600
}

.timeline .timeline-time .date {
    line-height: 16px;
    font-size: 12px
}

.timeline .timeline-time .time {
    line-height: 24px;
    font-size: 20px;
    color: #242a30
}

.timeline .timeline-icon {
    left: 15%;
    position: absolute;
    width: 10%;
    text-align: center;
    top: 40px
}

.timeline .timeline-icon a {
    text-decoration: none;
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 20px;
    background: #d9e0e7;
    line-height: 10px;
    color: #fff;
    font-size: 14px;
    border: 5px solid #2d353c;
    transition: border-color .2s linear
}

.timeline .timeline-body {
    margin-left: 23%;
    margin-right: 2%;
    background: #FBFBF7;
    position: relative;
    padding: 20px 25px;
    border-radius: 6px
}

.priloha{min-height:200px}

.priloha img {
	width: 100%;
  height: 400px;
  object-fit: cover;
  padding:10px;
  background:#fff;
}

.timeline .timeline-body:before {
    content: '';
    display: block;
    position: absolute;
    border: 10px solid transparent;
    border-right-color: #fff;
    left: -20px;
    top: 20px
}

.timeline .timeline-body>div+div {
    margin-top: 15px
}

.timeline .timeline-body>div+div:last-child {
    margin-bottom: -20px;
    padding-bottom: 20px;
    border-radius: 0 0 6px 6px
}

.timeline-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e7eb;
    line-height: 30px
}

.timeline-header .userimage {
    float: left;
    width: 34px;
    height: 34px;
    border-radius: 40px;
    overflow: hidden;
    margin: -2px 10px -2px 0
}

.timeline-header .username {
    font-size: 16px;
    font-weight: 600
}

.timeline-header .username,
.timeline-header .username a {
    color: #2d353c
}

.timeline img {
    max-width: 100%;
    display: block
}

.timeline-content {
    letter-spacing: .25px;
    line-height: 18px;
    font-size: 13px
}

.timeline-content:after,
.timeline-content:before {
    content: '';
    display: table;
    clear: both
}

.timeline-title {
    margin-top: 0
}

.timeline-footer {
    background: #FBFBF7;
    border-top: 1px solid #e2e7ec;
    padding-top: 15px
}

.timeline-footer a:not(.btn) {
    color: #575d63
}

.timeline-footer a:not(.btn):focus,
.timeline-footer a:not(.btn):hover {
    color: #2d353c
}

.timeline-likes {
    color: #6d767f;
    font-weight: 600;
    font-size: 12px
}

.timeline-likes .stats-right {
    float: right
}

.timeline-likes .stats-total {
    display: inline-block;
    line-height: 20px
}

.timeline-likes .stats-icon {
    float: left;
    margin-right: 5px;
    font-size: 9px
}

.timeline-likes .stats-icon+.stats-icon {
    margin-left: -2px
}

.timeline-likes .stats-text {
    line-height: 20px
}

.timeline-likes .stats-text+.stats-text {
    margin-left: 15px
}

.timeline-comment-box {
    background: #f2f3f4;
    margin-left: -25px;
    margin-right: -25px;
    padding: 20px 25px
}

.timeline-comment-box .user {
    float: left;
    width: 34px;
    height: 34px;
    overflow: hidden;
    border-radius: 30px
}

.timeline-comment-box .user img {
    max-width: 100%;
    max-height: 100%
}

.timeline-comment-box .user+.input {
    margin-left: 44px
}

.lead {
    margin-bottom: 20px;
    font-size: 21px;
    font-weight: 300;
    line-height: 1.4;
}

.text-danger, .text-red {
    color: #ff5b57!important;
}

/*responzivne upravy*/

@media (max-width:700px) {
.timeline-time{display:none;}
.timeline .timeline-body {margin-left:0; margin-right:0}
.timeline:before{display:none}
.timeline .timeline-body {    padding: 20px 0;}
.priloha img { height: 280px;}
}

/* ============ FOTOGALÉRIA ==================== */
/* ============================================= */

.gallery-timeline {
  position: relative;
  padding-left: 90px;
  max-width: 920px;
}
.gallery-timeline::before {
  content: '';
  position: absolute;
  left: 70px;
  top: 16px; bottom: 16px;
  width: 2px;
  background: var(--border);
}

.gallery-month-header {
  margin: 28px 0 18px -90px;
  font-family: 'Lora', serif;
  font-size: 16px;
  color: var(--green-deep);
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
  position: relative;
}
.gallery-month-header::before {
  content: '';
  width: 60px; height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.gallery-month-header::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--border);
}
.gallery-month-header:first-child { margin-top: 0; }

.gallery-entry {
  position: relative;
  margin-bottom: 28px;
}
.gallery-entry-date {
  position: absolute;
  left: -90px; top: 4px;
  width: 56px;
  text-align: right;
}
.gallery-entry-date .day {
  font-family: 'Lora', serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--green-deep);
  line-height: 1;
}
.gallery-entry-date .weekday {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brown-wood);
  font-weight: 600;
  margin-top: 4px;
}
.gallery-entry-dot {
  position: absolute;
  left: -22px; top: 16px;
  width: 14px; height: 14px;
  background: var(--gold);
  border: 3px solid var(--cream-light);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold-dark);
  z-index: 1;
}

.gallery-card {
  background: var(--cream-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.gallery-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.gallery-photos {
  display: grid;
  gap: 3px;
  aspect-ratio: 16 / 9;
  background: var(--brown-dark);
  position: relative;
}
.gallery-photos.photos-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery-photos.photos-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.gallery-photos.photos-3 {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.gallery-photos.photos-3 .gallery-photo:first-child { grid-row: 1 / 3; }
.gallery-photos.photos-4 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.gallery-photo {
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.gallery-photo a {
  display: block;
  width: 100%; height: 100%;
}
.gallery-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.gallery-photo:hover img { transform: scale(1.04); }
.gallery-photo::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(0,0,0,.04) 0 1px, transparent 1px 4px),
    radial-gradient(ellipse at 30% 30%, rgba(244,232,208,.08), transparent 50%);
  pointer-events: none;
}

.gallery-content {
  padding: 16px 20px 18px;
}
.gallery-species {
  font-family: 'Lora', serif;
  font-size: 17px;
  color: var(--green-deep);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}
.gallery-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--brown-wood);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.gallery-meta-item {
  display: flex; align-items: center; gap: 6px;
}
.gallery-meta-item .ic {
  color: var(--gold-dark);
  font-size: 14px;
}
.gallery-meta-item b {
  font-family: 'Lora', serif;
  font-weight: 600;
  color: var(--ink);
}
.gallery-desc {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .gallery-timeline { padding-left: 64px; }
  .gallery-month-header { margin-left: -64px; }
  .gallery-entry-date { left: -64px; width: 40px; }
  .gallery-entry-date .day { font-size: 24px; }
  .gallery-entry-dot { left: -16px; width: 10px; height: 10px; }
  .gallery-timeline::before { left: 50px; }
  .gallery-photos { aspect-ratio: 4 / 3; }
  .gallery-desc { font-size: 13px; }
}

/* ============================================= */
/* ============ INFINITE SCROLL LOADER ========= */
/* ============================================= */

.gallery-scroll-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 32px 0 16px;
}
.gallery-scroll-loader span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .3;
  animation: gal-pulse 1.2s ease-in-out infinite;
}
.gallery-scroll-loader span:nth-child(2) { animation-delay: .2s; }
.gallery-scroll-loader span:nth-child(3) { animation-delay: .4s; }

@keyframes gal-pulse {
  0%, 80%, 100% { opacity: .3; transform: scale(.8); }
  40%           { opacity: 1;  transform: scale(1.1); }
}
