/* ===== PAINTING PAGE LAYOUT ===== */
.grid {
  display: flex;
  gap: 16px;
  padding-top: 30px;
}

.card h2 {
  font-size: 60px;
  margin-bottom: 30px;
  text-align: center;
}

/* ===== WORK SECTION ===== */
.work {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* ===== SLIDER ===== */
.slider {
  display: flex;
  align-items: center;
  height: 75vh;
}

.card-img,
#slider-image {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.arrow {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 2rem;
  color: #1D00AE;
  padding: 0 4px;
  line-height: 1;
}

.arrow.left  { margin-right: 10px; }
.arrow.right { margin-left: 10px; }

/* ===== SIDE PANEL ===== */
.side {
  display: flex;
  flex-direction: column;
  min-width: 240px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.info {
  flex: 1;
  max-width: 420px;
  line-height: 1.7;
  font-size: 16px;
  text-align: center;
}

.info h3 { margin: 0 0 30px; }
.info ul  { margin-bottom: 30px; }

.highlight { font-size: 20px; font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
  .work        { flex-direction: column; }
  .info        { text-align: left; }
  .row         { justify-content: center; }
  .card-img,
  #slider-image { width: 100%; height: auto; max-height: 65vh; }
  .slider      { flex-direction: column; }
  .arrow       { margin: 10px 0; }
}
