/* ==========================================================================
   SKIIN - E-BOOK page only  (ebook-page/ebook.css)
   Banner, disclaimer, card grid (.sk-cards / .sk-card, hover zoom + rose "+")
   and the base .sk-btn are GLOBAL. Only E-Book differences live here:
   square covers, title size, and the rose "Visit Us" button.
   ========================================================================== */

/* grid sits directly above the disclaimer, so less bottom space than a normal section */
.sk-ebook #ebook-grid { padding-bottom: clamp(24px, 3vw, 40px); }

/* square covers (global card is portrait 395/465) */
.sk-ebooks .sk-card__img { aspect-ratio: 1 / 1; margin-bottom: 16px; }

/* card title: same size as the Services cards, but an <h2> for a correct heading order */
.sk-ebook h2 { margin: 0 0 14px; font-size: 18px; font-weight: 400; line-height: 1.35; color: var(--sk-dark); }

/* rose "Visit Us" button = global .sk-btn with rose fill; hover turns dark (the reverse of the dark buttons).
   !important only to beat the global 230x50 desktop rule in style.css, which itself uses !important. */
.sk-page .sk-ebook__btn {
  gap: 8px;
  width: auto !important;
  min-width: 184px;
  height: 40px !important;
  min-height: 40px;
  padding: 0 22px !important;
  font-size: 13px;
  color: var(--color-white);
  background: var(--color-rose-accent);
  border-color: var(--color-rose-accent);
}
.sk-page .sk-ebook__btn:hover,
.sk-page .sk-ebook__btn:focus-visible { color: var(--color-white); background: var(--sk-dark); border-color: var(--sk-dark); }
.sk-ebook__btn svg { flex: none; }

@media (max-width: 767px) {
  .sk-ebook h2 { font-size: 15px; }
  .sk-page .sk-ebook__btn { min-width: 0; width: 100% !important; padding: 0 10px !important; font-size: 12px; }
}
