/* --------------------------------------------------
   Embedded-Card Styles inkl. Share-/Copy-Button
   (kein Hover-Effekt auf dem Share-Button)
--------------------------------------------------- */

.embedded-card {
  display: block;
  width: 70%;
  max-width: 600px;
  margin: 1.5em auto;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.embedded-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.embedded-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  padding: 1em;
  border-bottom: 1px solid #e1e1e1;
  line-height: 1.2;
}

.embedded-card-body {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  padding: 1em;
}
.embedded-card-thumb {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 4px;
}
.embedded-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.embedded-card-excerpt {
  flex: 1;
}
.embedded-card-excerpt p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #333;
}

/* Footer mit Favicon, Site-Name und Share-Button */
.embedded-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e1e1e1;
  background: #fff;
}
.embedded-card-footer-inner {
  display: flex;
  align-items: center;
  padding: 0.75em 1em;
}
.embedded-card-footer-logo {
  margin-right: 0.5em;
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.embedded-card-footer-title {
  font-size: 0.75rem;
  color: #555;
}

/* Share-/Copy-Button – keine Hover-/Focus-Styles */
.embedded-card-footer > button.embedded-card-footer-share {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0.75em 1em !important;
  cursor: pointer !important;
  color: #555 !important;
}

/* Entferne Hover/Active-Overrides komplett */
/* (keine zusätzlichen Regeln) */

/* Icon per currentColor */
.embedded-card-footer > button.embedded-card-footer-share::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='currentColor' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'/%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'/%3E%3C/svg%3E");
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

/* MOBILE: volle Breite */
@media (max-width: 600px) {
  .embedded-card {
    width: 100%;
    margin: 1.5em 0;
  }
  .embedded-card-body {
    flex-direction: column;
  }
  .embedded-card-thumb {
    width: 100%;
    height: auto;
  }
}
