.espc {
  max-width: 1280px;
  margin: 18px auto 28px;
  --espc-per-view: var(--espc-per-view-desktop);
  --espc-title-line-height: 1.24;
  --espc-desc-line-height: 1.95;
}

.espc__section-title {
  margin: 0 0 14px;
  color: #A18059;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.espc__viewport {
  position: relative;
  overflow: hidden;
}

.espc__track {
  display: flex;
  flex-wrap: wrap;
  gap: var(--espc-gap);
  align-items: stretch;
  transition: transform 0.7s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

.espc--active-slider .espc__track {
  flex-wrap: nowrap;
}

.espc__slide {
  box-sizing: border-box;
  min-width: 0;
  flex: 0 0 calc((100% - (var(--espc-gap) * (var(--espc-per-view) - 1))) / var(--espc-per-view));
}

.espc__card {
  display: grid;
  align-items: start;
  min-width: 0;
}

.espc__media,
.espc__body {
  min-width: 0;
}

.espc__image-wrap {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #f6f4f1 !important;
}

.espc__image-wrap::before {
  content: '';
  display: block;
  width: 100%;
  padding-top: 100%;
}

.espc__image {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: inherit !important;
}

.espc__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.espc__title {
  margin: 0;
  color: #A18059;
  font-weight: 700;
  line-height: var(--espc-title-line-height);
  width: 100%;
  max-width: none;
  word-break: normal;
  overflow-wrap: normal;
  line-break: strict;
  text-wrap: balance;
}

.espc__desc {
  margin: 0;
  color: #555;
  letter-spacing: .1px;
  min-height: 0;
  overflow: visible;
  line-height: var(--espc-desc-line-height);
}

.espc__desc-inner,
.espc__desc-inner p,
.espc__desc-inner span {
  line-height: inherit;
}

.espc__desc-inner p {
  margin: 0;
  padding: 0;
}

.espc__desc-inner {
  display: block;
}

.espc__meta-list {
  display: grid;
  min-height: 0;
}

.espc__meta-row {
  display: flex;
  align-items: center;
  min-width: 0;
}

.espc__meta-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #A18059;
}

.espc__meta-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.espc__meta-text {
  min-width: 0;
  color: #444;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.espc__meta-label,
.espc__meta-value,
.espc__meta-sep {
  font-weight: 700;
}

.espc__meta-label {
  color: #A18059;
}

.espc__meta-sep,
.espc__meta-value {
  color: #444;
}

.espc__footer {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.espc__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 1px solid #A18059;
  border-radius: 999px;
  color: #A18059;
  background: transparent;
  text-decoration: none;
  line-height: 1;
  transition: all .25s ease;
  box-sizing: border-box;
}

.espc__button:hover,
.espc__button:focus {
  color: #fff;
  background: #A18059;
  text-decoration: none;
}

.espc__arrow {
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, color .22s ease;
  position: absolute;
  z-index: 3;
  top: 38%;
  transform: translateY(-50%);
  width: 32px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #777;
  font-size: 38px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.espc__arrow--prev { left: 2px; }
.espc__arrow--next { right: 2px; }

@media (hover: hover) and (pointer: fine) {
  .espc__viewport:hover .espc__arrow,
  .espc__viewport:focus-within .espc__arrow {
    opacity: .92;
    pointer-events: auto;
  }

  .espc__viewport:hover .espc__arrow:hover,
  .espc__viewport:focus-within .espc__arrow:hover {
    color: #A18059;
  }
}

@media (hover: none), (pointer: coarse) {
  .espc__arrow {
    opacity: .88;
    pointer-events: auto;
  }
}

.espc__pagination {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 6px;
}

.espc__pagination.is-visible {
  display: flex;
}

.espc__dot {
  display: inline-block;
  width: 22px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(161,128,89,.24);
}

.espc__dot.is-active {
  background: #A18059;
}

/* ===== Desktop ===== */
@media (min-width: 1200px) {
  .espc {
    --espc-per-view: var(--espc-per-view-desktop);
  }

  .espc__card {
    grid-template-columns: 300px minmax(0, 1fr);
    column-gap: 32px;
    padding: 26px 0 30px;
  }

  .espc__body {
    width: 100%;
  }

  .espc__image-wrap {
    width: 300px !important;
    max-width: 300px !important;
  }

  .espc__title {
    font-size: var(--espc-title-size-desktop, 28px);
    width: 100%;
    max-width: none;
    margin-bottom: 16px;
  }

  .espc__desc {
    font-size: var(--espc-desc-size-desktop, 16px);
    max-width: none;
    margin-bottom: 24px;
  }

  .espc__meta-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 16px;
  }

  .espc__meta-row {
    align-items: center;
  }

  .espc__meta-icon {
    width: 22px;
    height: 22px;
    margin-right: 10px;
  }

  .espc__meta-text {
    font-size: 16px;
    line-height: 1.55;
  }

  .espc__meta-sep {
    margin: 0 6px;
  }

  .espc__footer {
    margin-top: 20px;
  }

  .espc__button {
    min-width: 108px;
    height: 44px;
    font-size: 15px;
    padding: 0 16px;
  }
}

/* ===== Tablet ===== */
@media (min-width: 768px) and (max-width: 1199px) {
  .espc {
    --espc-per-view: var(--espc-per-view-tablet);
  }

  .espc__card {
    grid-template-columns: 1fr;
    row-gap: 0;
    padding: 26px 0 30px;
  }

  .espc__media {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
  }

  .espc__image-wrap {
    width: 320px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .espc__title {
    font-size: var(--espc-title-size-desktop, 28px);
    width: 100%;
    max-width: none;
    text-align: center;
    margin: 0 auto 16px;
  }

  .espc__desc {
    font-size: var(--espc-desc-size-desktop, 16px);
    line-height: 1.9;
    margin-bottom: 20px;
  }

  .espc__meta-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 14px;
  }

  .espc__meta-icon {
    width: 22px;
    height: 22px;
    margin-right: 10px;
  }

  .espc__meta-text {
    font-size: 16px;
    line-height: 1.6;
  }

  .espc__meta-sep {
    margin: 0 6px;
  }

  .espc__footer {
    margin-top: 18px;
  }

  .espc__button {
    min-width: 106px;
    height: 44px;
    font-size: 15px;
    padding: 0 16px;
  }
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
  .espc {
    --espc-per-view: var(--espc-per-view-mobile);
    margin: 10px auto 20px;
  }

  .espc__section-title {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .espc__card {
    grid-template-columns: 1fr;
    padding: 18px 12px 22px;
  }

  .espc__media {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
  }

  .espc__image-wrap {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
  }

  .espc__title {
    font-size: var(--espc-title-size-mobile, 22px);
    max-width: 280px;
    text-align: center;
    margin: 0 auto 14px;
  }

  .espc__desc {
    font-size: var(--espc-desc-size-mobile, 16px);
    line-height: 1.85;
    margin-bottom: 18px;
    text-align: left;
  }

  .espc__meta-list {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .espc__meta-row {
    align-items: flex-start;
  }

  .espc__meta-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    padding-top: 2px;
  }

  .espc__meta-text {
    font-size: 15px;
    line-height: 1.62;
  }

  .espc__meta-sep {
    margin: 0 5px;
  }

  .espc__footer {
    margin-top: 14px;
  }

  .espc__button {
    min-width: 102px;
    height: 42px;
    font-size: 15px;
    padding: 0 15px;
  }

  .espc__arrow {
    top: 33%;
  }
}
