.hm-landing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.hm-hero,
.hm-elementor-hero-block {
  position: relative;
  margin-bottom: 32px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.hm-hero-image-wrap {
  position: relative;
  line-height: 0;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.hm-hero-art {
  width: 100%;
  height: auto;
  display: block;
}

.hm-hero-art--missing {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8eef5;
  color: #456;
  font-size: 0.95rem;
  padding: 24px;
  line-height: 1.4;
}

/*
 * Read button aligned to blue book cover (hero.png 1600×2000 — cover bottom ~65.4%, center ~52.8%).
 */
.hm-hero-image-wrap .hm-rtb-wrap {
  position: absolute;
  top: 66.2%;
  left: 52.8%;
  transform: translate(-50%, 0);
  z-index: 10;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .hm-hero-image-wrap .hm-rtb-wrap {
    top: 65.8%;
    left: 52.5%;
  }
}

.hm-cta-grid,
.elementor-element.hm-cta-grid > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  gap: 32px 48px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  align-items: start;
}

.elementor-element.hm-cta-grid.e-flex > .e-con-inner {
  flex-direction: unset !important;
}

.elementor-element.hm-cta-grid .elementor-widget-shortcode {
  width: 100%;
  max-width: none;
}

.elementor-element.hm-cta-grid > .e-con-inner > .elementor-element {
  width: auto !important;
  max-width: none !important;
  flex: unset !important;
}

@media (max-width: 767px) {
  .hm-cta-grid,
  .elementor-element.hm-cta-grid > .e-con-inner {
    grid-template-columns: 1fr;
  }
}

.elementor-element.hm-elementor-hero-block {
  position: relative;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.hm-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  padding: 8px;
}

.hm-cta-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 12px;
  transition: transform 0.3s ease;
}

.hm-cta:hover .hm-cta-icon {
  transform: scale(1.12);
}

.hm-cta h3 {
  color: #4576bb;
  font-size: 1.35rem;
  margin: 0 0 8px;
}

.hm-cta {
  position: relative;
}

.hm-cta-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #1a1a1a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 10px;
  white-space: normal;
  width: min(280px, 90vw);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  z-index: 20;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

.hm-cta:hover .hm-cta-tooltip,
.hm-cta:focus-within .hm-cta-tooltip {
  display: block;
}

.hm-cta-desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  margin: 0;
  color: #555;
  line-height: 1.5;
  font-size: 0.95rem;
}

.hm-cta:hover .hm-cta-desc {
  max-height: 200px;
  opacity: 1;
}

@media (hover: none), (max-width: 767px) {
  .hm-cta-desc {
    max-height: 200px;
    opacity: 1;
  }
}

.hm-modal[hidden] {
  display: none !important;
}

.hm-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 999997;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-modal-panel {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px 28px;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  position: relative;
}

.hm-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #999;
}

.hm-modal-panel input {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 0.92rem;
  box-sizing: border-box;
  margin-bottom: 10px;
  background: #fafafa;
}

.hm-modal-panel button[data-hm-connect-submit] {
  width: 100%;
  background: #4172b0;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.hm-connect-msg {
  margin: 12px 0 0;
  font-size: 0.85rem;
  text-align: center;
  color: #2e7d32;
}

.hm-share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hm-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
  pointer-events: none;
}

.hm-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: #555;
  margin: 0 0 12px;
  text-align: left;
}

.hm-privacy {
  margin: 12px 0 0;
  font-size: 0.8rem;
  text-align: center;
}

.hm-share-grid a,
.hm-share-grid button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
}
