.entry-content .wp-block-post-excerpt a.more-link,
.wp-block-post-excerpt a {
  display: inline-block;
  background-color: #0073aa;  /* Use your theme's button color */
  color: #fff;
  padding: 0.5em 1em;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.entry-content .wp-block-post-excerpt a.more-link:hover,
.wp-block-post-excerpt a:hover {
  background-color: #005177;  /* Darker on hover */
}


/* Wrap your button in a container if needed */
.read-more-button {
  display: inline-block;
  background-color: #0073aa;
  color: white;
  padding: 0.5em 1em;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  margin: 1em auto 0 auto;
  text-align: center;
  transition: background-color 0.3s ease;

  /* Center the button itself */
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.read-more-button:hover {
  background-color: #005177;
}




/* Wrap your button in a container if needed */
.wp-block-read-more {
  display: inline-block;
  background-color: var(--ast-global-color-7);
  color: white;
  padding: 0.5em 1em;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  margin: 1em auto 0 auto;
	text-decoration: none !important;
  text-align: center;
  transition: background-color 0.3s ease;

  /* Center the button itself */
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.wp-block-read-more:hover {
  background-color: #005177;
}


/* LINKICONS FOR THE TEAM */
/* 1. Hide the plugin's default icon for ResearchGate links */
a[href*="researchgate.net"] i,
a[href*="researchgate.net"] svg,
a[href*="researchgate.net"] span,
a[href*="scholar.google"] i,
a[href*="scholar.google"] svg,
a[href*="scholar.google"] span,
a[href*="linkedin.com"] i,
a[href*="linkedin.com"] svg,
a[href*="linkedin.com"] span {
    display: none !important;
}

/* 2. Add our own "ResearchGate" icon using text (simple version) */
a[href*="researchgate.net"]::before {
		background-color: transparent !important;
    content: "";
    display: inline-block;
    width: 24px;          /* adjust size as needed */
    height: 24px;
    background-image: url("https://felics.eu/wp-content/uploads/2025/11/researchgate2.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
}

a[href*="linkedin.com"]::before {
    content: "";
    display: inline-block;
    width: 24px;          /* adjust size as needed */
    height: 24px;
    background-image: url("https://felics.eu/wp-content/uploads/2025/11/linkedin.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
}

a[href*="scholar.google"]::before {
    content: "";
    display: inline-block;
    width: 24px;          /* adjust size as needed */
    height: 24px;
    background-image: url("https://felics.eu/wp-content/uploads/2025/11/googleScholar.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
}

/*remove white boxes around symbols*/
a[href*="researchgate.net"] {
    background: transparent !important;
}

a[href*="researchgate.net"]::before {
    background-color: transparent !important;
}

a[href*="linkedin.com"] {
    background: transparent !important;
}

a[href*="linkedin.com"]::before {
    background-color: transparent !important;
}

a[href*="scholar.google"] {
    background: transparent !important;
}

a[href*="scholar.google"]::before {
    background-color: transparent !important;
}
