/* Homepage Hero styles */

.hero-desc {
  font-size: 18px;
  line-height: 1.56;
  color: #030712;
}

.hero-readmore {
  background: transparent;
  border: none;
  color: #2563EB;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.56;
}

.hero-readmore:focus {
  outline: none;
}

.hero-chevron {
  margin-left: 6px;
  transition: transform 200ms ease;
  transform: rotate(0deg);
}
.hero-chevron.rotated {
  transform: rotate(180deg);
}

.hero-card {
  border: 1px solid #F6F5F4;
  border-radius: 16.5659332275px;
  background: #FFFFFF;
  text-align: left;
  padding: 22px;
}

.hero-divider {
  color: #E2E2E2;
}

.hero-link-icon {
  display: inline-flex;
  transition: transform 120ms ease;
}
.hero-link-icon:hover {
  transform: scale(1.05);
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
}

.hero-image-placeholder {
  width: 100%;
  min-height: 300px;
  background: #f5f5f5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero-readmore-card-title {
    margin: 20px 0 24px 0;
    margin-bottom: 24px;
}

.hero-readmore-card-format {
    color: var(--theme-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 10.059px;
}

/* Animated read-more panel */
.hero-readmore-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 300ms ease, opacity 300ms ease;
}
.hero-readmore-panel.open {
  max-height: 1000px; /* large enough to fit content */
  opacity: 1;
  overflow: visible; /* allow tooltips to overflow when panel is open */
}

/* Modern tooltip */
.tk-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
}
.tk-tooltip-content {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  background: #FFFFFF;
  color: #030712;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.4;
  max-width: 320px;
  width: max-content;
  box-shadow: 0 10px 24px rgba(3, 7, 18, 0.12);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
  z-index: 10;
  text-align: left;
  white-space: normal;
  word-break: break-word;
}
.tk-tooltip-content.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.tk-tooltip-content::before {
  content: "";
  position: absolute;
  top: 100%;
  right: 14px;
  border-width: 7px;
  border-style: solid;
  border-color: #FFFFFF transparent transparent transparent; /* white arrow */
}
.tk-tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 14px;
  transform: translateY(1px);
  border-width: 8px;
  border-style: solid;
  border-color: #E5E7EB transparent transparent transparent; /* border shadow */
  z-index: -1;
}

/* Tooltip trigger icon hover/focus states */
.tk-tooltip svg {
  transition: transform 120ms ease, stroke 120ms ease, fill 120ms ease;
}
.tk-tooltip:hover svg,
.tk-tooltip:focus-visible svg {
  transform: scale(1.05);
}
.tk-tooltip:hover svg path,
.tk-tooltip:focus-visible svg path {
  stroke: var(--theme-color, #2563EB);
}


