/* Horizontal Gallery Rows */
.gallery-rows-section{
  position:relative;
  background:
    radial-gradient(circle at 85% 0%, rgba(182,130,34,.10), transparent 35%),
    linear-gradient(180deg,#fff 0%,#fbf7ef 100%);
  color:#111;
  padding:90px 0 120px;
  overflow:hidden;
}

.gallery-rows-head{
  width:min(1320px,calc(100% - 120px));
  margin:0 auto 42px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:36px;
}

.gallery-rows-title{
  margin:0;
  font-size:34px;
  line-height:1.6;
  font-weight:500;
}

.gallery-rows-title span{color:var(--kd-gold)}

.gallery-rows-desc{
  max-width:470px;
  margin:0;
  color:#685b46;
  font-size:13.5px;
  line-height:2.1;
}

.gallery-row{
  margin:34px 0;
}

.gallery-row-header{
  width:min(1320px,calc(100% - 120px));
  margin:0 auto 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.gallery-row-title{
  margin:0;
  font-size:18px;
  font-weight:800;
  color:#1d1710;
}

.gallery-row-hint{
  color:#9d6f1e;
  font-size:12px;
  white-space:nowrap;
}

.gallery-viewport{
  width:100%;
  overflow:hidden;
}

.gallery-track{
  display:flex;
  gap:22px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scroll-behavior:smooth;
  padding:6px max(60px,calc((100vw - 1320px) / 2)) 18px;
  scrollbar-width:none;
  direction:ltr;
}

.gallery-track::-webkit-scrollbar{display:none}

.gallery-card{
  position:relative;
  flex:0 0 clamp(230px,25vw,360px);
  height:clamp(170px,19vw,250px);
  border-radius:28px;
  overflow:hidden;
  background:#1d1710;
  box-shadow:0 22px 45px rgba(50,38,18,.18);
  transform:translateZ(0);
}

.gallery-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(.96) contrast(1.04);
  transform:scale(1.01);
  transition:.55s cubic-bezier(.16,1,.3,1);
}

.gallery-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.54), rgba(0,0,0,.05) 58%, rgba(255,255,255,.08));
  opacity:.9;
  transition:.35s;
}

.gallery-card:hover img{
  transform:scale(1.08);
}

.gallery-card:hover::after{
  opacity:.72;
}

.gallery-card-label{
  position:absolute;
  right:18px;
  bottom:16px;
  z-index:2;
  color:#fff;
  text-shadow:0 2px 12px rgba(0,0,0,.65);
}

.gallery-card-label strong{
  display:block;
  font-size:15px;
  font-weight:800;
}

.gallery-card-label small{
  display:block;
  margin-top:6px;
  font-size:11px;
  opacity:.78;
  direction:ltr;
}

.gallery-row:nth-child(even) .gallery-track{
  flex-direction:row-reverse;
}
