/* Additions for modern-style.css to address feedback and news layout */

.modern-header {
  /* Make the background image even more visible with a lighter overlay */
  background: linear-gradient(90deg, rgba(45,62,80,0.45) 60%, rgba(78,115,223,0.45) 100%), url('images/img03.jpg') center/cover no-repeat;
  color: #fff;
  padding: 2.5rem 0 1.5rem 0;
  box-shadow: 0 2px 8px rgba(44,62,80,0.08);
}
/* More spacing for short CV */
.modern-cv {
  margin: 2.2rem 0 2.5rem 0;
}
.modern-cv ul li {
  margin-bottom: 0.7em;
}

.modern-logo {
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 2.5rem;
}

.modern-logo img {
  border-radius: 18% 18% 28% 28%/32% 32% 38% 38%; /* More upward-rectangular, soft corners */
  border: none;
  box-shadow: 0 2px 12px rgba(44,62,80,0.18);
  margin-left: 0;
  margin-right: 0;
  width: 80px;
  height: 110px;
  object-fit: cover;
  object-position: top center;
}

.modern-logo h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
}

.modern-news {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.modern-news-item {
  display: flex;
  flex-direction: column;
  background: #f3f6fa;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(44,62,80,0.07);
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  gap: 1.2rem;
}

.modern-news-item img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(44,62,80,0.10);
  margin-bottom: 0.7rem;
}

.modern-news-item h3 {
  margin: 0 0 0.5rem 0;
  color: #2d3e50;
  font-size: 1.25rem;
}

.modern-news-item p {
  margin: 0 0 0.5rem 0;
  color: #333;
  font-size: 1.08rem;
}

@media (max-width: 700px) {
  .modern-logo {
    flex-direction: column-reverse;
    gap: 1rem;
  }
  .modern-logo img {
    width: 60px;
    height: 85px;
    border-radius: 18% 18% 28% 28%/32% 32% 38% 38%;
  }
  .modern-news-item {
    padding: 1rem 0.5rem 0.7rem 0.5rem;
  }
}
