.destner {
  display: flex;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
  box-sizing: border-box;
}

.dest-content {
  flex: 3;
}

.destpost {
  display: flex;
  margin-bottom: 30px;
  gap: 20px;
}

.destpost img {
  width: 100%;
  max-width: 250px;
  max-height: 166px;
/*  object-fit: cover; */
  flex-shrink: 0;
}
.destpost .foto-credit {
    font-size: 0.80rem;
    font-style: italic;
    color: #666;
    margin: 6px 0 10px 0;
  }

.destpost .text {
  flex: 1;
}
.destpost .text h2 {
   font-size: 20px;
   margin-top: 0;
   padding-top: 0;
   margin-left: 5px;
   }

.destimg-wrapper {
  margin-bottom: 15px;
}
.dpsidebar {
  /* flex: 1; */
  width: 280px; 
  flex: 0 0 280px;
}

.dpcard {
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin-bottom: 20px;
}

.dpcard h3 {
  border-bottom: 2px solid #8dc63f;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.dppost-link {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.dppost-link img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 10px;
}

.dppost-link a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.pagination {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}
.pagination button {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.pagination button.active {
    background: #5d88c8;/*007bff;*/
    color: #fff;
    border-color: #5d88c8;/*007bff;*/
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination button:last-child {
    width: auto;
    padding: 0 10px;
}

@media (max-width: 960px) {
    .dpsidebar {
         display: none;
    }
  .destpost {
       gap: 10px;
   }
}

@media (max-width: 679px) {
  .destner {
      flex-direction: column;
  }
  .destpost {
      flex-direction: column;
  }
.destpost .destimg-wrapper {
      order: -1;
      width: 100%;
      text-align: center;
    }
  .destpost img {
      display: block;
      width: 100%;
      max-width: 420px;
      max-height: 240px;
      margin: 0 auto;
   }
   .destpost .foto-credit {
      width: 100%; 
      max-width: 420px;
      margin: 0 auto;
      text-align: center;
   }
}
