/* Expert Team Showcase Styles */
:root {
  --ets-primary: #f27a21;
  --ets-primary-light: #fbeee8;
  --ets-dark: #333;
  --ets-gray: #6b7280;
  --ets-light-gray: #f3f4f6;
  --ets-border: #e5e7eb;
}

.ets-grid {
  display: grid;
  gap: 30px;
}

.ets-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ets-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ets-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ets-cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ets-cols-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .ets-cols-4, .ets-cols-5, .ets-cols-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ets-cols-3, .ets-cols-4, .ets-cols-5, .ets-cols-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .ets-cols-2, .ets-cols-3, .ets-cols-4, .ets-cols-5, .ets-cols-6 {
    grid-template-columns: 1fr;
  }
}

.ets-card {
  display: block;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ets-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.ets-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.ets-card__figure {
  background: var(--ets-primary-light);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px 25px 0;
  position: relative;
  overflow: hidden;
}

.ets-card__figure::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: #fff;
  border-radius: 20px 20px 0 0;
}

.ets-avatar {
  border-radius: 18px;
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.ets-avatar--placeholder {
  background: var(--ets-light-gray);
  height: 260px;
  border-radius: 18px;
}

.ets-card__body {
  padding: 20px 25px 25px;
  text-align: center;
  position: relative;
}

.ets-card__title {
  margin: 10px 0 5px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--ets-dark);
  font-weight: 700;
}

.ets-card__subtitle {
  margin: 0;
  color: var(--ets-primary);
  font-size: 16px;
  font-weight: 600;
}

.ets-card__experience {
  margin: 8px 0 0;
  color: var(--ets-gray);
  font-size: 14px;
}

/* Single page */
.ets-single {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.ets-hero {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 50px;
  align-items: start;
}

@media (max-width: 968px) {
  .ets-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.ets-hero__photo {
  background: var(--ets-primary-light);
  border-radius: 24px;
  padding: 30px 30px 0;
  position: relative;
  overflow: hidden;
}

.ets-hero__photo img {
  width: 100%;
  border-radius: 18px;
  position: relative;
  z-index: 1;
}

.ets-hero__photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: #fff;
  border-radius: 20px 20px 0 0;
}

.ets-hero__content h1 {
  font-size: 36px;
  margin: 0 0 10px;
  color: var(--ets-dark);
}

.ets-hero__content > p {
  font-size: 20px;
  color: var(--ets-primary);
  margin: 0 0 20px;
  font-weight: 600;
}

.ets-badges {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.ets-badge {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 18px;
  background: #f7fbfd;
  border-radius: 12px;
  border: 1px solid #e6f3f8;
  font-size: 15px;
}

.ets-badge .dashicons {
  color: var(--ets-primary);
}

.ets-section {
  margin-top: 30px;
}

.ets-section h2 {
  margin-bottom: 15px;
  font-size: 24px;
  color: var(--ets-dark);
  position: relative;
  padding-bottom: 10px;
}

.ets-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--ets-primary);
  border-radius: 3px;
}

.ets-section .entry {
  line-height: 1.7;
  font-size: 16px;
}

.ets-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.ets-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid var(--ets-border);
  text-decoration: none;
  color: var(--ets-dark);
  transition: all 0.2s ease;
}

.ets-social a:hover {
  background: var(--ets-primary);
  color: #fff;
  border-color: var(--ets-primary);
}

.ets-social a:hover .dashicons {
  color: #fff;
}

.ets-social .dashicons {
  color: var(--ets-primary);
}

.ets-back {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--ets-border);
  text-decoration: none;
  color: var(--ets-dark);
  transition: all 0.2s ease;
  font-weight: 500;
}

.ets-back:hover {
  background: var(--ets-primary);
  color: #fff;
  border-color: var(--ets-primary);
}

/* Archive page */
.ets-archive {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.ets-archive-header {
  text-align: center;
  margin-bottom: 40px;
}

.ets-archive-header h1 {
  font-size: 36px;
  color: var(--ets-dark);
  margin: 0 0 15px;
}

.ets-archive-header p {
  font-size: 18px;
  color: var(--ets-gray);
  max-width: 700px;
  margin: 0 auto;
}