/* ===========================
   EXPERT CARD STİLLERİ
   =========================== */

.expert-card + .container,
.container .expert-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.expert-card {
  background: #fff;
  border-radius: 24px;
  min-height: 200px;
  height: auto;
  display: flex;
  align-items: center;
  padding: 20px;
  padding-right: 40px;
  gap: 30px;
  box-sizing: border-box;
  margin-top: 40px;
  margin-bottom: 40px;
  width: 100%;
  overflow: hidden;
}

.expert-card__image {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.expert-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.expert-card__info {
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.expert-card__info::after {
  content: "";
  position: absolute;
  right: -50px;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: #efefef;
  opacity: 0.5;
  z-index: 20;
}

.expert-card__name {
  font-size: 48px;
  font-weight: 300;
  color: var(--color-gray-dark);
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.2;
}

.expert-card__title {
  font-size: 32px;
  font-weight: 300;
  color: var(--color-gray-dark);
  margin: 0 0 12px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.3;
}

.expert-card__email,
.expert-card__phone {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-green);
  margin: 6px 0;
  text-decoration: none;
  display: block;
  transition: opacity 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.expert-card__email:hover,
.expert-card__phone:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.expert-card__slogan {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
}

.expert-card__slogan p {
  font-size: 32px;
  font-weight: 300;
  color: var(--color-gray-dark);
  margin: 0;
  text-align: left;
  max-width: 674px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
}

.expert-card__icon {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expert-card__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Responsive */
@media (max-width: 1200px) {
  .expert-card {
    gap: 20px;
    padding: 16px 20px;
    min-height: auto;
  }

  .expert-card__image {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
  }

  .expert-card__name {
    font-size: 36px;
  }

  .expert-card__title {
    font-size: 24px;
  }

  .expert-card__email,
  .expert-card__phone {
    font-size: 18px;
  }

  .expert-card__slogan {
    padding: 0 20px;
  }

  .expert-card__slogan p {
    font-size: 24px;
    max-width: 100%;
  }

  .expert-card__icon {
    width: 60px;
    height: 60px;
  }

  .expert-card__info::after {
    right: -30px;
  }
}

@media (max-width: 1024px) {
  .expert-card {
    gap: 16px;
    padding: 16px;
  }

  .expert-card__image {
    width: 120px;
    height: 120px;
  }

  .expert-card__name {
    font-size: 32px;
  }

  .expert-card__title {
    font-size: 20px;
  }

  .expert-card__email,
  .expert-card__phone {
    font-size: 16px;
  }

  .expert-card__slogan p {
    font-size: 20px;
  }

  .expert-card__info::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .expert-card {
    flex-direction: column;
    height: auto;
    padding: 20px;
    gap: 20px;
    align-items: center;
  }

  .expert-card__image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
  }

  .expert-card__info {
    text-align: center;
    width: 100%;
  }

  .expert-card__info::after {
    display: none;
  }

  .expert-card__name {
    font-size: 28px;
  }

  .expert-card__title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .expert-card__email,
  .expert-card__phone {
    font-size: 16px;
    white-space: normal;
    text-overflow: clip;
    overflow: visible;
  }

  .expert-card__slogan {
    padding: 0;
    order: 3;
    width: 100%;
    text-align: center;
  }

  .expert-card__slogan p {
    font-size: 18px;
    text-align: center;
    max-width: 100%;
  }

  .expert-card__icon {
    order: 4;
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .expert-card {
    padding: 16px;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .expert-card__image {
    width: 100px;
    height: 100px;
  }

  .expert-card__name {
    font-size: 24px;
  }

  .expert-card__title {
    font-size: 16px;
  }

  .expert-card__email,
  .expert-card__phone {
    font-size: 14px;
  }

  .expert-card__slogan p {
    font-size: 16px;
  }

  .expert-card__icon {
    width: 50px;
    height: 50px;
  }
}

/* Product Action Buttons */
.action-buttons-wrapper {
  background-color: #fff;
  padding: 40px 0;
}
.product-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  width: 100%;
}

.product-action-button {
  display: block;
  width: 100%;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-family-primary);
  font-size: 18px;
  font-weight: 700;
  border-radius: 24px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.product-action-button--info {
  background: #fff;
  color: var(--color-green);
  border: 1px solid var(--color-green);
}

.product-action-button--info:hover {
  background: var(--color-green);
  color: #fff;
}

.product-action-button--buy {
  background: var(--color-orange);
  color: #fff;
  border: 1px solid var(--color-orange);
}

.product-action-button--buy:hover {
  background: #e99d5a;
  border-color: #e99d5a;
}

/* Responsive */
@media (max-width: 768px) {
  .product-action-buttons {
    gap: 12px;
    margin-top: 20px;
  }

  .product-action-button {
    padding: 14px 24px;
    font-size: 16px;
  }
}
