/**
 * Content Image Component Styles
 * Supports LTR and RTL layouts with responsive design
 * Image size: 580px × 450px at 1440px resolution
 */

/* Section Header */
.content-image-section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 16px;
  max-width: 900px;
  margin: 0 auto;
 
}

.content-image-section-desc {
  font-size: 1rem;
  font-weight: 400;
  color: #555;
  line-height: 1.7;
  max-width: 1000px;
  margin: 0 auto;
}

/* Section */
.content-image-section {
  padding: 10px 0;
  overflow: hidden;
}

/* Content Container */
.content-image-content {
  padding: 10px 0;
  padding-right: 40px;
}

.order-lg-2 .content-image-content {
  padding-right: 0;
  padding-left: 40px;
}

/* Title */
.content-image-title {
  font-size: 1.50rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 20px;
}

/* Description */
.content-image-desc {
  font-size: 1rem;
  font-weight: 400;
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* List Styles */
.content-image-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.content-image-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.content-image-list-item:last-child {
  margin-bottom: 0;
}

.content-image-list-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  margin-top: 2px;
}

.content-image-list-icon svg {
  width: 23px;
  height: 23px;
}

.content-image-list-text {
  font-size: 0.95rem;
  font-weight: 400;
  color: #333;
  line-height: 1.5;
}

/* Outcome Section */
.content-image-outcome {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.content-image-outcome-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
}

.content-image-outcome-text {
  font-size: 0.95rem;
  font-weight: 400;
  color: #555;
  line-height: 1.6;
}

/* Image Wrapper */
.content-image-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 0;
}

.content-image-wrapper-rtl {
  justify-content: flex-start;
}

/* Image - 580px × 450px at 1440px (40.28% width, aspect ratio ~1.29) */
.content-image-img {
  width: 100%;
  max-width: 580px;
  height: auto;
  aspect-ratio: 580 / 450;
  object-fit: contain;
  border-radius: 12px;
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Large Desktop - 1440px and below */
@media (max-width: 1440px) {
  .content-image-img {
    max-width: 100%;
  }
}

/* Desktop - 1200px and below */
@media (max-width: 1200px) {
  .content-image-section-title {
    font-size: 2rem;
  }

  .content-image-section {
    padding: 60px 0;
  }

  .content-image-title {
    font-size: 1.75rem;
  }

  .content-image-content {
    padding-right: 30px;
  }

  .order-lg-2 .content-image-content {
    padding-left: 30px;
    padding-right: 0;
  }
}

/* Tablet - 992px and below */
@media (max-width: 992px) {
  .content-image-section-title {
    font-size: 1.75rem;
  }

  .content-image-section-desc {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .content-image-section {
    padding: 50px 0;
  }

  .content-image-content {
    padding-right: 0;
    padding-left: 0;
    margin-bottom: 40px;
  }

  .order-lg-2 .content-image-content {
    padding-left: 0;
    padding-right: 0;
  }

  .content-image-title {
    font-size: 1.6rem;
  }

  .content-image-wrapper,
  .content-image-wrapper-rtl {
    justify-content: center;
  }

  .content-image-img {
    max-width: 500px;
  }
}

/* Mobile Landscape - 768px and below */
@media (max-width: 768px) {
  .content-image-section-title {
    font-size: 1.5rem;
  }

  .content-image-section-desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .content-image-section {
    padding: 10px 0;
  }

  .content-image-content {
    text-align: left;
    margin-bottom: 15px;
  }

  .content-image-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .content-image-desc {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .content-image-list {
    margin-bottom: 20px;
  }

  .content-image-list-item {
    gap: 10px;
    margin-bottom: 12px;
  }

  .content-image-list-text {
    font-size: 0.9rem;
  }

  .content-image-outcome {
    margin-top: 20px;
    padding-top: 14px;
  }

  .content-image-img {
    max-width: 100%;
  }
}

/* Mobile Portrait - 576px and below */
@media (max-width: 576px) {
  .content-image-section-title {
    font-size: 1.35rem;
  }

  .content-image-section-desc {
    font-size: 0.875rem;
    margin-bottom: 16px;
  }

  .content-image-section {
    padding: 8px 0;
  }

  .content-image-title {
    font-size: 1.35rem;
    line-height: 1.4;
  }

  .content-image-desc {
    font-size: 0.9rem;
  }

  .content-image-list-icon {
    width: 20px;
    height: 20px;
  }

  .content-image-list-icon svg {
    width: 20px;
    height: 20px;
  }

  .content-image-list-text {
    font-size: 0.875rem;
  }

  .content-image-outcome-title {
    font-size: 0.95rem;
  }

  .content-image-outcome-text {
    font-size: 0.875rem;
  }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
  .content-image-section {
    padding: 6px 0;
  }

  .content-image-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }

  .content-image-desc {
    margin-bottom: 14px;
  }

  .content-image-list {
    margin-bottom: 16px;
  }

  .content-image-list-item {
    gap: 8px;
    margin-bottom: 10px;
  }

  .content-image-outcome {
    margin-top: 16px;
    padding-top: 12px;
  }

  .content-image-content {
    margin-bottom: 12px;
  }
}
