/* Greenekka V10.10: unified, emoji-free editorial section links.
   Loaded after all earlier styles, including mobile V10.7 and explore V10.8.
   No changes to site content, destinations, or other actions. */
:root { --gk-explore-ink: #124b3b; }

:where(#home-root, #category-root, #story-root, main) .gk-explore-link,
#home-root .section-title > a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  position: relative;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  flex: 0 0 auto;
  padding: 7px 0 8px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--gk-explore-ink);
  font: 700 12px/1.3 var(--gk-font-body, 'DM Sans', Arial, sans-serif);
  letter-spacing: .005em;
  text-transform: none;
  white-space: nowrap;
  text-align: right;
  text-decoration: none !important;
  transition: color 150ms cubic-bezier(.22,1,.36,1);
}
/* Elegant thin line, no emoji and no icon font dependencies. */
:where(#home-root, #category-root, #story-root, main) .gk-explore-link::before,
#home-root .section-title > a::before {
  content: '';
  position: absolute;
  left: 0;
  right: 24px;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  transform: scaleX(1);
  transform-origin: left center;
  transition: opacity 150ms cubic-bezier(.22,1,.36,1), transform 150ms cubic-bezier(.22,1,.36,1);
}
:where(#home-root, #category-root, #story-root, main) .gk-explore-link::after,
#home-root .section-title > a::after {
  content: '';
  display: block;
  position: static;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  border: 0;
  background-color: currentColor;
  /* small arrow pointing right, safely rendered as a mask */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M4 12h15m-6-6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M4 12h15m-6-6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: translateX(0) scaleX(1);
  transform-origin: center;
  transition: transform 150ms cubic-bezier(.22,1,.36,1);
  opacity: 1;
}
:where(#home-root, #category-root, #story-root, main) .gk-explore-link:hover,
#home-root .section-title > a:hover { color: #386a51; }
:where(#home-root, #category-root, #story-root, main) .gk-explore-link:hover::after,
#home-root .section-title > a:hover::after { transform: translateX(3px); }
:where(#home-root, #category-root, #story-root, main) .gk-explore-link:focus-visible,
#home-root .section-title > a:focus-visible {
  outline: 2px solid #124b3b;
  outline-offset: 3px;
  border-radius: 3px;
}
/* Baseline alignment: title + link share one intentional header row. */
#home-root .section-title,
#home-root .section-title:has(> a) {
  display: flex;
  flex-wrap: nowrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 20px;
  min-width: 0;
}
#home-root .section-title > div { min-width: 0; flex: 1 1 auto; }
#home-root .section-title > a { align-self: flex-end; }
@media (max-width: 620px) {
  #home-root .section-title,
  #home-root .section-title:has(> a) { gap: 8px 12px; align-items: end; }
  #home-root .section-title > a,
  :where(#home-root, #category-root, #story-root, main) .gk-explore-link {
    font-size: 12px;
    gap: 6px;
    padding-block: 7px;
  }
  #home-root .section-title > a::after,
  :where(#home-root, #category-root, #story-root, main) .gk-explore-link::after {
    flex-basis: 13px; width: 13px; height: 13px;
  }
  #home-root .section-title > a::before,
  :where(#home-root, #category-root, #story-root, main) .gk-explore-link::before { right: 19px; }
}
@media (max-width: 350px) {
  #home-root .section-title { flex-wrap: wrap; }
  #home-root .section-title > a { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  :where(#home-root, #category-root, #story-root, main) .gk-explore-link,
  :where(#home-root, #category-root, #story-root, main) .gk-explore-link::before,
  :where(#home-root, #category-root, #story-root, main) .gk-explore-link::after,
  #home-root .section-title > a,
  #home-root .section-title > a::before,
  #home-root .section-title > a::after { transition: none !important; }
}
