/* Dynamic Market Area Frontend & Admin Styles */


.market_section {
}

.market_section h3.market_section_title {
  font-size: 22px;
  font-weight: bold;
  line-height: normal;
  margin-bottom: 10px;
  color: #141515;
  text-transform: capitalize;
}

.market_section ul.market-list {
  width: 100%;
  margin: 0;
  padding: 0;
}

.market_section ul.market-list li {
  display: inline-block;
  list-style: none;
  line-height: 24px;
  color: #423f3f;
  font-size: 16px;
  font-weight: normal;
  margin: 5px;
  width: calc(25% - 10px);
}

.market_section ul.market-list > li a {
  width: 100%;
  height: auto;
  padding: 10px;
  margin: 0;
  display: block;
  color: #333;
  font-size: 14px;
  background-color: #ddd;
}
.market_section ul.market-list > li a:hover {
  background: #0ca21b;
  color: #fff;
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  .market_section ul.market-list li {
    width: calc(33.33% - 10px);
  }
}
@media screen and (max-width: 767px) {
  .market_section ul.market-list li {
    width: calc(50% - 10px);
  }
}



/* product-roles */

.dma-product-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.dma-role-card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
  background: #fff;
  max-width: 300px;
}
.dma-role-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.dma-role-thumb img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}
.dma-role-title {
  font-size: 18px;
  margin: 10px 0 5px;
}
.dma-role-desc {
  font-size: 14px;
  color: #666;
}


/* ==========================================================
   🧩 Dynamic Market Area — Product Roles Styles
   ========================================================== */

/* --- Compact Role List (Simple Layout) --- */
.dma-product-roles {
  margin: 20px 0;
  padding: 10px;
}

.dma-role-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  margin: 0;
}

.dma-role-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

.dma-role-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.dma-role-image a img {
    height: 200px;
    width: 100%;
    overflow: hidden;
    object-fit: fill;
}

.dma-role-link {
  text-decoration: none;
  color: #222;
  font-weight: 600;
}

.dma-role-location {
  color: #888;
  margin-left: 4px;
  font-weight: 400;
} 

/* --- Grid Layout (Card Design) --- */
/*
.dma-product-roles-wrapper {
  width: 100%;
  margin: 40px auto;
  padding: 0 20px;
}

.dma-product-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.dma-role-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.dma-role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.dma-role-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}


.dma-role-content {
  padding: 20px;
  text-align: center;
}

.dma-role-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: #222;
}

.dma-role-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.dma-role-title a:hover {
  color: #0073aa;
}

.dma-role-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  min-height: 60px;
}

.dma-role-btn {
  display: inline-block;
  margin-top: 15px;
  background: #0073aa;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.dma-role-btn:hover {
  background: #005f8a;
  transform: translateY(-2px);
}
/*
/* --- Responsive --- */
@media (max-width: 768px) {
  .dma-role-content {
    padding: 15px;
  }

  .dma-role-image img {
    height: 160px;
  }

  .dma-role-title {
    font-size: 1.1rem;
  }

  .dma-role-desc {
    font-size: 0.9rem;
  }
}

/* .product-roles */

