.ed-hub, .ed-detail { padding-block: 1.5rem 3.5rem; }
.ed-band { padding-block: clamp(1.65rem, 4vw, 3rem); }
.ed-hub-intro { padding-block: 1.1rem 1.45rem; }
.ed-hub h1, .ed-detail h1 { font-size: clamp(2.2rem, 4.65vw, 4.25rem); overflow-wrap: break-word; }
.ed-hub .lead, .ed-detail .lead { max-width: 42rem; margin-top: .8rem; }
.ed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.ed-card { height: 100%; min-width: 0; }
.ed-card-link { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: .85rem; overflow: hidden; }
.ed-card-link:hover { border-color: var(--plum); }
.ed-card-link:hover :is(h2, h3), .ed-card-link:focus-visible :is(h2, h3) { text-decoration: underline; text-underline-offset: .15em; }
.ed-card img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; background: var(--cream); }
.ed-card-copy { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 1.05rem 1.12rem 1.15rem; gap: .52rem; }
.ed-card h2, .ed-card h3 { font-size: clamp(1.32rem, 2.1vw, 1.72rem); overflow-wrap: break-word; }
.ed-card p { color: var(--muted); }
.ed-card-action { margin-top: auto; padding-top: .35rem; color: var(--plum); font-weight: 650; font-size: .9rem; }
.ed-label { color: var(--plum); font-size: .83rem; font-weight: 680; }
.ed-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .45rem 1rem; }
.category-list--illustrated {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.8rem, 1.55vw, 1.16rem);
}
.category-list--illustrated .category-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: .95rem;
  box-shadow: 0 .25rem .75rem #422c430a;
}
.category-visual {
  position: relative;
  aspect-ratio: 5/3;
  overflow: hidden;
  background: var(--plum-light);
}
.category-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-visual .arrow {
  position: absolute;
  inset-block-start: .62rem;
  inset-inline-end: .62rem;
  width: 2.1rem;
  height: 2.1rem;
  background: var(--white);
  box-shadow: 0 .1rem .38rem #271d2933;
}
.category-copy { padding: .95rem 1.05rem 1.15rem; }
.category-copy h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.15;
  overflow-wrap: break-word;
}
.category-copy p { font-size: .91rem; line-height: 1.5; }
.category-card:is(:hover, :focus-visible) .category-copy h3 { text-decoration: underline; text-underline-offset: .16em; }
.category-card:is(:hover, :focus-visible) .category-visual .arrow { background: var(--plum); color: var(--white); }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.hero-art, .home-guide .guide-art) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }
  :is(.hero-art, .home-guide .guide-art)::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: inherit;
    content: '';
    pointer-events: none;
  }
  .category-list--illustrated .category-card {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
  }
  :is(.hero-art, .home-guide .guide-art)::before,
  :is(.category-visual, .hero-quick-links, .ed-band .ed-card-link) img {
    transition: transform .3s ease;
  }
  .ed-band .ed-card-link img { transform-origin: center bottom; }
  .category-visual .arrow { transition: transform .2s ease, background-color .2s ease, color .2s ease; }
  .category-list--illustrated > li:hover .category-card {
    transform: translateY(-5px);
    box-shadow: 0 .7rem 1.5rem #422c4326;
  }
  :is(.hero-art, .home-guide .guide-art):hover::before,
  .category-list--illustrated > li:hover .category-visual img,
  .ed-band .ed-card-link:hover img { transform: scale(1.045); }
  .category-list--illustrated > li:hover .category-visual .arrow { transform: translateX(2px); }
  .hero-quick-links a:hover img { transform: scale(1.09); }
}
@media (max-width: 67rem) {
  .category-list--illustrated { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-visual { aspect-ratio: 2/1; }
}
@media (max-width: 37rem) {
  .category-list--illustrated { grid-template-columns: minmax(0, 1fr); }
  .category-list--illustrated .category-card {
    grid-template-columns: 31% minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: stretch;
  }
  .category-visual { aspect-ratio: auto; }
  .category-visual .arrow {
    inset-block: auto .42rem;
    inset-inline-end: .42rem;
    width: 1.65rem;
    height: 1.65rem;
    font-size: .88rem;
  }
  .category-copy { padding: .72rem .82rem .78rem; }
  .category-copy p { font-size: .86rem; line-height: 1.45; }
}
.ed-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 4.5vw, 3.5rem); padding-top: 1.25rem; }
.ed-hero .ed-label { display: inline-block; margin-bottom: .6rem; }
.ed-hero-image { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: .95rem; background: var(--cream); }
.ed-byline { display: flex; flex-wrap: wrap; gap: .3rem .95rem; margin-top: 1.1rem; color: var(--muted); font-size: .88rem; }
.ed-reading { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 46rem); align-items: start; justify-content: center; gap: 1.75rem clamp(1.3rem, 5vw, 3.8rem); margin-top: clamp(2rem, 6vw, 3.8rem); }
.ed-toc { padding: .8rem 1rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: .75rem; }
.ed-toc h2 { font-family: var(--sans); font-size: .95rem; font-weight: 680; }
.ed-toc ol { margin: .55rem 0 0; padding-inline-start: 1.12rem; font-size: .89rem; }
.ed-toc li + li { margin-top: .32rem; }
.ed-text { min-width: 0; }
.ed-text > section + section { margin-top: 1.9rem; }
.ed-text section { scroll-margin-top: 6rem; }
.ed-text h2 { font-size: clamp(1.57rem, 3vw, 2.25rem); }
.ed-text p { margin-top: .66rem; }
.ed-table { margin-top: .8rem; overflow-x: auto; border: 1px solid var(--line); border-radius: .65rem; }
.ed-table table { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: .91rem; background: var(--white); }
.ed-table :is(th, td) { text-align: left; vertical-align: top; padding: .72rem .85rem; border-bottom: 1px solid var(--line); }
.ed-table thead { background: var(--plum-light); color: var(--plum); }
.ed-table tbody tr:last-child > * { border-bottom: 0; }
.ed-checks { padding: 1.15rem 1.35rem; background: var(--plum-light); border-radius: .75rem; }
.ed-checks ul, .ed-sources ul { margin: .65rem 0 0; padding-inline-start: 1.25rem; }
.ed-checks li + li, .ed-sources li + li { margin-top: .38rem; }
.ed-faq details { border-bottom: 1px solid var(--line); padding: .7rem 0; }
.ed-faq summary { cursor: pointer; font-weight: 660; color: var(--plum); }
.ed-faq p { margin: .5rem 0 .2rem; }
.ed-related { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.ed-related .ed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ed-category { margin-top: 1.35rem; }
.ed-category ul { margin: .65rem 0 0; padding-inline-start: 1.2rem; }
.ed-category li + li { margin-top: .35rem; }
.ed-card-link:focus-visible { outline-offset: 3px; }
.catalog-record[data-topic="vibratorok"] .catalog-photo,
.catalog-record[data-topic="erotikus-fehernemu-es-ruhak"] .catalog-photo,
.catalog-record[data-topic="bdsm-kiegeszitok"] .catalog-photo { height: 9.1rem; background: var(--plum-light) center / cover; }
.catalog-record[data-topic="vibratorok"] .catalog-photo { background-image: url('/assets/editorial/tavvezerelt-vibratorok-480.webp'); }
.catalog-record[data-topic="erotikus-fehernemu-es-ruhak"] .catalog-photo { background-image: url('/assets/editorial/csipke-szaten-es-halo-480.webp'); }
.catalog-record[data-topic="bdsm-kiegeszitok"] .catalog-photo { background-image: url('/assets/editorial/bilincsek-anyagai-kozelrol-480.webp'); }
@media (max-width: 51rem) {
  .ed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-reading { grid-template-columns: minmax(0, 1fr); gap: 1.55rem; }
}
@media (max-width: 38rem) {
  .ed-hero, .ed-grid, .ed-related .ed-grid { grid-template-columns: minmax(0, 1fr); }
  .ed-band { padding-block: 1.2rem; }
  .ed-card-copy { padding: .92rem; }
}
.info-page h1 { overflow-wrap: break-word; }
.info-page .article-body p + p { margin-top: .65rem; }

.info-facts {
  margin: .8rem 0 0;
  padding: .25rem 1rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--white);
}

.info-facts > div { padding-block: .68rem; }
.info-facts > div + div { border-top: 1px solid var(--line); }
.info-facts dt { font-size: .9rem; font-weight: 700; }
.info-facts dd { margin: .14rem 0 0; overflow-wrap: anywhere; }
