/* Google preferred source button for RigDigest */
.google-preferred-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  max-width: 100%;
  background-color: #1a73e8; /* Google Blue */
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  padding: 10px 20px;
  border-radius: 24px;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
  transition: all 0.25s ease-in-out;
  cursor: pointer;
}

/* Hover transition to Google Green */
.google-preferred-btn:hover {
  background-color: #34a853;
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(60, 64, 67, 0.3), 0 8px 12px 6px rgba(60, 64, 67, 0.15);
}

.google-preferred-btn:focus-visible {
  outline: 3px solid #fbbc05;
  outline-offset: 3px;
}

.google-preferred-btn .google-icon {
  flex: 0 0 auto;
  background: #ffffff;
  padding: 3px;
  border-radius: 50%;
  box-sizing: content-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .google-preferred-btn { transition: none; }
  .google-preferred-btn:hover { transform: none; }
}

/* Footer placement */
.gp-footer {
  margin-top: 20px;
}

/* End of article placement */
.gp-article {
  margin: 32px 0 0;
}

.gp-article p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
}
