/* HomeView component styles */

/* Home Layout */
.home-layout {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 2rem;
  box-sizing: border-box;
}

/* Main content */
.content-scroller {
  flex: 1;
  min-width: 0;
  padding: 0 300px 100px 40px;
  max-width: 100%;
  margin: 0;
  line-height: 1.6;
}

.section-title {
  font-size: 1.8rem;
  margin: 2rem 0 1rem 0;
  font-weight: 400;
  color: #424242;
}

.module-title {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.75rem 0;
  font-weight: 500;
  color: #0071E3;
}

.fsp-description {
  margin-bottom: 1.5rem;
  font-family: "Open Sans Hebrew Condensed", "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 17px;
  color: #434343;
  line-height: 1.2;
}

.course-topics {
  padding: 0 30px 0 0;
  margin: 1rem 0;
}

.course-topics li {
  margin-bottom: 8px;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
}

.internship-link {
  color: var(--primary-color);
  font-weight: 400;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.internship-link:hover {
  color: #2980b9;
  background-color: var(--fsp-hover-bg);
}

.font-bold {
  font-weight: 600;
}

.brand-10x {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 100;
  color: #434343;
}

.brand-10x-inline {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 100;
  font-size: 17px;
  color: #434343;
}

.syllabus-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #0071E3 0%, #005bb5 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.syllabus-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.highlight-text {
  background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
  border-right: 3px solid #0071E3;
  padding: 1rem;
  border-radius: 0 8px 8px 0;
  margin: 1rem 0;
}

/* ── Tablet (768px – 1024px) ─────────────────────── */

@media (max-width: 1024px) {
  .home-layout {
    flex-direction: column;
    padding: 1rem 1.5rem;
  }

  .content-scroller {
    padding: 0 0 80px 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem 0;
  }

  .fsp-description {
    font-size: 16px;
  }

  .highlight-text {
    padding: 0.85rem;
  }
}

/* ── Phone (< 768px) ────────────────────────────── */

@media (max-width: 767px) {
  .home-layout {
    padding: 0.75rem;
  }

  .content-scroller {
    padding: 0 0 40px 0;
  }

  .section-title {
    font-size: 1.3rem;
    margin: 1.25rem 0 0.5rem 0;
  }

  .module-title {
    font-size: 1.1rem;
  }

  .fsp-description {
    font-size: 15px;
    line-height: 1.35;
  }

  .course-topics {
    padding: 0 20px 0 0;
  }

  .course-topics li {
    font-size: 14px;
  }

  .syllabus-link {
    display: block;
    text-align: center;
    padding: 0.65rem 1.25rem;
    font-size: 15px;
  }

  .highlight-text {
    padding: 0.75rem;
    margin: 0.75rem 0;
    font-size: 14px;
  }

  .info-box {
    width: 100%;
    padding: 16px 10px;
    margin: 16px auto 20px auto;
  }
}
