/* single.css - Diseño elegante para entradas individuales con sidebar */

.single-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  gap: 30px;
}

.single-main {
  flex: 3;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.single-main .single-thumbnail img {
  width: 100%;
  max-height: 550px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
  margin-bottom: 20px;
  image-rendering: auto;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #ddd;
  transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
}

.single-main .single-thumbnail img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
  opacity: 0.95;
}

.single-main .single-content {
  padding: 30px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.single-main .single-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #111;
  margin-bottom: 20px;
  line-height: 1.3;
}

.single-sidebar {
  flex: 1;
  background: #1f1f1f;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  color: #fff;
}

.single-sidebar .widget-single {
  margin-bottom: 30px;
  background: #292929;
  padding: 20px;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 #333, inset 0 -1px 0 #333;
}

.single-sidebar .widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #ffa800;
  text-align: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ffa800;
}

@media (max-width: 768px) {
  .single-container {
    flex-direction: column;
    padding: 0 10px;
  }
  .single-sidebar {
    width: 100%;
    margin-top: 30px;
  }
  .single-main .single-thumbnail img {
    height: 320px;
  }
}
