.side-card {
  background-color: white;
  border: 2px solid var(--found-color);
  color: var(--primary-color);
  width: 100%;
  height: 100%;
  padding: clamp(8px, 5.091px + 0.909vw, 16px);
  border-radius: clamp(4px, 2.545px + 0.4545vw, 8px);
  font-size: clamp(
    14px,
    11.818px + 0.6818vw,
    20px
  ); /* Base font size for card, content can override */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
  box-shadow: 0 0.2vmin 0.5vmin rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.side-card:hover {
  transform: scale(1.03);
  border-color: var(--spangram-color);
}

/* 
  The following .side-card .card-content-inner rule has been removed 
  as its functionality is now covered by css/card-common.css which provides
  more specific base styles for .card-content-inner and its variants (.column-layout, .full-link-container).
  The individual cards in cards/*.html now use these common classes.
*/

/* General default for paragraphs inside cards, can be overridden by card-specific styles */
.side-card .card-content-inner p {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  line-height: 1.4;
  margin: 5px 0;
}

/* General default for links inside cards, can be overridden by card-specific styles */
.side-card .card-content-inner a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.side-card .card-content-inner a:hover {
  text-decoration: underline;
}

#autoSolveBtn {
  background-color: #28a745;
  color: #ffffff;
  padding: 0.5em 1em;
  font-size: 1rem;
  border: none;
  border-radius: 0.25em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  display: block;
  margin: 10px auto 0;
}

#autoSolveBtn:hover:not(:disabled) {
  background-color: #218838;
}

#autoSolveBtn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
