* {
  box-sizing: border-box;
}

.dp-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  font-family: inherit;
}

/* ── SLIDER ── */
.dp-slider {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 400px;
  margin-bottom: 28px;
  background: #111;
}

.dp-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.dp-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.dp-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dp-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 70%);
}

.dp-slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
}

.dp-slide-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.dp-slide-title {
  color: #fff;
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0 0 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.dp-slide-addr {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dp-slide-addr svg {
  width: 14px;
  height: 14px;
  stroke: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.dp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.18s;
}

.dp-arrow:hover {
  background: rgba(255, 255, 255, 0.32);
}

.dp-arrow svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

.dp-arrow.prev {
  left: 14px;
}

.dp-arrow.next {
  right: 14px;
}

.dp-dots {
  position: absolute;
  bottom: 14px;
  right: 24px;
  display: flex;
  gap: 6px;
}

.dp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}

.dp-dot.active {
  background: #fff;
  transform: scale(1.25);
}

.dp-filter {
  position: sticky;
  top: 66px;
  z-index: 100;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  background: #fff;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border: 1px solid #eee;
  padding: 10px 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  margin-bottom: 20px;
}

.dp-filter-search {
  position: relative;
  flex: 1;
}

.dp-filter-search svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  stroke: #aaa;
  pointer-events: none;
}

.dp-filter-search input {
  width: 100%;
  font-size: 13px;
  padding: 8px 12px 8px 32px;
  border: 1px solid #dde1e7;
  border-radius: 8px;
  background: #fff;
  color: #333;
  outline: none;
}

.dp-filter-search input:focus {
  border-color: #185fa5;
}

.dp-filter select {
  font-size: 13px;
  padding: 8px 12px;
  border: 1px solid #dde1e7;
  border-radius: 8px;
  background: #fff;
  color: #333;
  cursor: pointer;
}

.dp-filter select:focus {
  outline: none;
  border-color: #185fa5;
}

.dp-filter button {
  padding: 8px 18px;
  background: #185fa5;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
}

.dp-filter .dp-count {
  margin-left: auto;
  font-size: 13px;
  color: #888;
}

.dp-filter .dp-count strong {
  color: #222;
}

/* ── LAYOUT ── */
.dp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 325px;
  gap: 24px;
  align-items: start;
}

/* ── CARD ── */
.dp-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dp-card {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: inherit;
    margin-bottom: 2rem;
  position: relative;
  background: #fff;
  border-radius: 12px;
  transition: all 0.4s;
}

.dp-card:hover {
  transform: translateY(-5px);
  /* border: #0C447C 1px solid; */
}

.dp-card:first-child {
  padding-top: 0;
}

.dp-card:hover .dp-card-name {
  color: #185fa5;
}

.dp-card-imgs {
  width: 30rem;
  min-width: 196px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  height: 20rem;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.dp-card-imgs.single {
  grid-template-rows: 1fr;
}

.dp-card-imgs .main-img {
  grid-row: 1/3;
  position: relative;
}

.dp-card-imgs.has-sub .main-img {
  grid-row: 1/2;
}

.dp-card-imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dp-img-count {
  position: absolute;
  bottom: 5px;
  right: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.dp-img-count svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
}

.dp-card-body {
  padding: 1rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.dp-card-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 20px;
  margin-bottom: 7px;
}

.dp-card-name {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 5px;
  line-height: 1.35;
  transition: color 0.15s;
}

.dp-card-meta-top {
  font-size: 1.5rem;
  color: var(--color-text-main);
  margin-bottom: 6px;
  font-weight: 600;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.dp-card-meta-top span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.dp-card-meta-top svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--color-primary);
}

.dp-card-addr {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  line-height: 1.45;
  white-space: nowrap;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dp-card-addr svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.dp-card-desc {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.dp-card-owner {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  font-weight: 600;
}
.dp-card-owner span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  justify-content: flex-start;
}
.dp-card-owner svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-text-main);
}

.s-opening {
  background: #e6f1fb;
  color: #0c447c;
}

.s-coming {
  background: #faeeda;
  color: #633806;
  width: 8rem;
}

.s-done {
  background: #eaf3de;
  color: #27500a;
}

.s-updating {
  background: #f1f3f5;
  color: #666;
}

/* ── PAGINATION ── */
.dp-pager {
  display: flex;
  gap: 6px;
  margin-top: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.dp-pager a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dde1e7;
  border-radius: 8px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
}

.dp-pager a:hover {
  border-color: #185fa5;
  color: #185fa5;
}

.dp-pager a.active {
  background: #185fa5;
  border-color: #185fa5;
  color: #fff;
}

.dp-pager span {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 13px;
}

/* ── SIDEBAR ── */
.dp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sb {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
}

.sb-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f2f2f2;
}

.sb-head svg {
  width: 16px;
  height: 16px;
  stroke: #185fa5;
  flex-shrink: 0;
}

.sb-head span {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: underline;
  color: #222;
}

.feat-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
}

.feat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feat-num {
  min-width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #999;
  flex-shrink: 0;
  margin-top: 1px;
}

.feat-num.hi {
  background: #e6f1fb;
  color: #185fa5;
}

.feat-link {
  font-size: 1.5rem;
  color: #333;
  text-decoration: none;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feat-link:hover {
  color: #185fa5;
}

.type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.type-tag {
  padding: 7px 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 1.25rem;
  color: #555;
  text-align: center;
  text-decoration: none;
  background: #fff;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.type-tag:hover {
  border-color: #185fa5;
  color: #185fa5;
  background: #e6f1fb;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 8px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #185fa5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 21px;
  height: 21px;
  stroke: #fff;
}

.contact-label {
  font-size: 1.25rem;
  color: #999;
  margin: 0 0 2px;
}

.contact-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #222;
  margin: 0;
}

.contact-desc {
  font-size: 1.25rem;
  color: #999;
  line-height: 1.6;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
  margin-top: 10px;
}

.dp-section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.dp-section-head h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0;
  text-decoration: underline;
}

.dp-section-head span {
  font-size: 1.5rem;
  color: var(--color-text-main);
}

/* blog news in sidebar */
.sb-news-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid #f5f5f5;
  text-decoration: none;
  color: inherit;
}

.sb-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sb-news-item:hover .sb-news-title {
  color: #185fa5;
}

.sb-news-thumb {
  width: 10rem;
  height: 6rem;
  border-radius: 6px;
  object-fit: cover;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
}

.sb-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sb-news-title {
  font-size: 1.5rem;
  color: #333;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 3px;
  transition: color 0.15s;
}

.sb-news-date {
  font-size: 11px;
  color: #bbb;
}

.more-blogs {
  display: block;
  text-align: center;
  font-size: 1.5rem;
  text-decoration: underline;
  font-weight: 600;
  color: #185fa5;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
  text-decoration: none;
}

@media (max-width: 860px) {
  .dp-layout {
    grid-template-columns: 1fr;
  }

  .dp-sidebar {
    display: none;
  }

  .dp-slider {
    height: 260px;
  }

  .dp-slide-title {
    font-size: 1.2rem;
  }

  .dp-card-imgs {
    width: 130px;
    min-width: 130px;
    height: 110px;
  }
}
