/* MyDom Roles Listing Page
   =========================
   Page: /roles.html
   Author: MyDom Team
   Brand Colors:
     - Primary: #1C1C1C
     - Accent:  #F24949
*/

.roles-list-container {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 2rem;
  color: #f5f5f5;
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.6;
}

.roles-list-container h1 {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  margin-bottom: 1rem;
}

.roles-list-container .intro {
  text-align: center;
  color: #ccc;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.role-card {
  background-color: #2c2c2c;
  border: 1px solid #333;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.role-card:hover {
  border-color: #f24949;
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(242, 73, 73, 0.25);
}

.role-card h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.role-card .role-type {
  color: #f24949;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.role-card .summary {
  color: #ddd;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.read-more {
  display: inline-block;
  background-color: #f24949;
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.read-more:hover {
  background-color: #ff6f6f;
}

.apply-footer {
  text-align: center;
  margin-top: 3rem;
  font-size: 1rem;
  color: #ccc;
}

.apply-footer a {
  color: #f24949;
  text-decoration: none;
  font-weight: 600;
}

.apply-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .roles-list-container {
    padding: 1.5rem;
    margin: 2rem 1rem;
  }

  .roles-list-container h1 {
    font-size: 2rem;
  }

  .role-card {
    padding: 1.5rem;
  }
}
