/* Exhibitor directory: the same nine boxes on home and the directory. */
.site-footer p { color: #566162; }
.category-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.category-menu > li { min-width: 0; }
.category-box { display: flex; flex-direction: column; aspect-ratio: 1; padding: clamp(1.1rem, 2.5vw, 2rem); border: 1px solid var(--ink); color: var(--ink); text-decoration: none; transition: box-shadow .18s ease, transform .18s ease; }
.category-box:hover { transform: translateY(-3px); box-shadow: 5px 5px 0 var(--ink); }
.category-box:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.category-box__name { margin: 1.5rem 0; font-family: var(--font-display); font-size: clamp(1.15rem, 2.8vw, 2.65rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.2; }
.category-color-1 { background: #60e4e4; }
.category-color-2 { background: #ffdef0; }
.category-color-3 { background: #f6b159; }
.category-color-4 { background: #dce7d8; }
.category-color-5 { background: #e0dcf0; }
.category-color-6 { background: #f9b5bd; }
.category-color-7 { background: #bcdce8; }
.category-color-8 { background: #f8e98c; }
.category-color-9 { background: #f8bc98; }
.exhibitor-pages h1 { max-width: 24ch; overflow-wrap: anywhere; }
.exhibitor-pages h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.2; letter-spacing: -.025em; margin: 0; }
.exhibitor-categories, .exhibitor-category-list { padding-block: clamp(2.5rem, 5vw, 5rem); }
.exhibitor-intro { border-bottom: 0; }
.exhibitor-intro ~ .contact-strip { border-block: 0; }
.exhibitor-intro + .exhibitor-categories .category-menu { margin-top: 0; }
.exhibitor-breadcrumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; font-size: .85rem; overflow-wrap: anywhere; }
.exhibitor-breadcrumbs a { min-height: 24px; }
.exhibitor-breadcrumbs [aria-current] { min-width: 0; }
.exhibitor-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 2rem 0 0; gap: 1rem; list-style: none; }
.exhibitor-card { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 170px; height: 100%; padding: 1.5rem; border: 1px solid var(--line); background: var(--paper); text-decoration: none; }
.exhibitor-card:hover, .exhibitor-card:active { border-color: var(--ink); background: #dce7d8; }
.exhibitor-card__name { font-size: clamp(1.1rem, 1.9vw, 1.6rem); font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.exhibitor-card__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.exhibitor-card--with-photo { justify-content: start; gap: 1rem; }
.exhibitor-profile-layout--with-gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.exhibitor-profile-copy { min-width: 0; }
.exhibitor-profile-copy .exhibitor-socials { margin-top: 2rem; }
.exhibitor-profile-layout:not(.exhibitor-profile-layout--with-gallery) { row-gap: 2rem; }
.exhibitor-profile-layout > .exhibitor-socials { grid-column: 1; }
.exhibitor-tags { display: flex; flex-wrap: wrap; gap: .65rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.exhibitor-tags a { display: inline-block; padding: .5rem .85rem; border: 1px solid var(--ink); font-size: .85rem; text-decoration: none; }
.exhibitor-tags a:hover { background: var(--ink); color: var(--paper); }
.exhibitor-profile-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; padding-block: clamp(2.5rem, 6vw, 6rem); }
.exhibitor-biography p { max-width: 65ch; line-height: 1.8; }
.exhibitor-biography h2 { margin-bottom: 1.5rem; }
.exhibitor-coming-soon { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 600; }
.exhibitor-socials ul { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; list-style: none; margin: 0 0 0 -.625rem; padding: 0; }
.exhibitor-socials a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .625rem; color: #375b82; border-radius: .25rem; text-decoration: none; }
.exhibitor-socials a:hover { background: #e9e9e9; }
.exhibitor-socials a[href*="meska.hu"] { color: #a33c1f; }
.exhibitor-socials a[href*="lovecrafts.com"] { color: #b52d61; }
.exhibitor-socials a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.exhibitor-socials img, .exhibitor-socials svg { display: block; width: 24px; height: 24px; }
.exhibitor-socials__wordmark { font-size: .8rem; font-weight: 700; }
.exhibitor-workshop { margin-top: 2rem; padding: 1.5rem; background: #f8e98c; }
.exhibitor-workshop h3 { margin: 0 0 .8rem; }
.exhibitor-program-link { margin: 2rem 0 0; }
.exhibitor-back { padding-block: 0 3rem; }
.exhibitor-back a { display: inline-block; padding-block: .75rem; }
.exhibitor-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 800px) {
  .exhibitor-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exhibitor-profile-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .category-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .category-box__name { font-size: clamp(1rem, 3.6vw, 1.5rem); }
}
@media (max-width: 379px) {
  .category-menu, .exhibitor-cards { grid-template-columns: minmax(0, 1fr); }
  .category-box__name { font-size: 1.5rem; margin-block: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .category-box { transition: none; }
  .category-box:hover { transform: none; }
}
/* Owner-supplied category photographs; the all-exhibitors square retains its colour. */
.category-box[class*="category-color-"]:not(.category-color-9) { color: var(--ink); background-size: cover; background-position: center; align-items: flex-start; }
.category-box[class*="category-color-"]:not(.category-color-9) .category-box__name { background: #fff; padding: .15em .3em; }
.exhibitor-intro .section-note { font-family: var(--font-body); }
.category-box.category-color-1 { background-image: url('/assets/category/1t02Gs6x4zzCv8TZWoveIIvAeO86CV_KT.webp'); }
.category-box.category-color-2 { background-image: url('/assets/category/133dINCq5usd75cb6ij7uRJjndhmsW5CI.webp'); }
.category-box.category-color-3 { background-image: url('/assets/category/1Ck1oloY04CVHiElZgAD5qXJ7n1Eprpe2.webp'); }
.category-box.category-color-4 { background-image: url('/assets/category/1j0YCqTbSRI4i_-Op5vBTeEkRUbX7cCPJ.webp'); }
.category-box.category-color-5 { background-image: url('/assets/category/1QCYh_hfFfMYne9yJSlbrY6SzC0FDwPtY.webp'); }
.category-box.category-color-6 { background-image: url('/assets/category/1DTHtC5H4JoKv56z06iypoaqWzQ1yMPsW.webp'); }
.category-box.category-color-7 { background-image: url('/assets/category/1ooByYb5n5T927kNPK5tnpN2SsdCXP3pG.webp'); }
.category-box.category-color-8 { background-image: url('/assets/category/1if1rIj_7Lg_ZJzr7RadKCy59mw2ap3GH.webp'); }

/* Category labels sit in a full-width band at the foot of each square. */
.exhibitor-pages .category-box, .exhibitor-pages .category-box[class*="category-color-"]:not(.category-color-9) { padding: 0; justify-content: flex-end; align-items: stretch; }
.exhibitor-pages .category-box .category-box__name, .exhibitor-pages .category-box[class*="category-color-"]:not(.category-color-9) .category-box__name { display: block; width: 100%; margin: 0; padding: .4em .55em; background: #fff; }
.exhibitor-intro + .exhibitor-categories { padding-top: 1rem; }
.category-intro + .exhibitor-back { padding-block: .5rem 0; }
.exhibitor-workshop--sage { background: #b8cbb9; }
.exhibitor-intro { padding-bottom: 1rem; }

.exhibitor-intro { text-align: center; }
.category-box.category-color-1 { background-image: url('/assets/nov7/1iUsb75q7cK1e8JosTRJknmcDf0MWkzCy.webp'); }
.category-box.category-color-6 { background-image: url('/assets/nov7/1K5nRkyxvcBktbqLogoo-uSk0hA-Cy4qz.webp'); }
.category-box.category-color-9 { background-image: url('/assets/nov7/1xfqMlocW2HDRs9uikG1e9hwRk3FLLaS7.webp'); background-size: cover; background-position: center; }
.home-exhibitor-categories .category-box { padding: 0; justify-content: flex-end; align-items: stretch !important; }
.home-exhibitor-categories .category-box__name { width: 100%; margin: 0; padding: .4em .55em !important; background: #fff; }

.category-box.category-color-4 { background-image: url('/assets/category/1ZBIQEPorBqFir9TnDh_-WvgUxZvuMNya.webp'); }
