/* ==========================================================================
   ELN Legal Index — homepage firm showcase (JUVE-style sponsored listings)
   Loaded on the front page only. Lives in /assets so WP Rocket's RUCSS
   exclusion ('esports-legal-directory/assets') keeps it intact.
   ========================================================================== */

.eln-fshow { margin: 3rem 0; }

.eln-fshow-ad-note {
    margin: 0 0 .4rem;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 9px; font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase;
    color: rgba(10, 10, 10, .45);
    text-align: right;
}

.eln-fshow-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
    border-top: 2px solid #0a0a0a;
    padding-top: .65rem; margin-bottom: 1.1rem;
}
.eln-fshow-head h2 {
    margin: 0;
    display: inline-flex; align-items: center; gap: .45em;
    font-size: 15px; font-weight: 900;
    letter-spacing: .08em; text-transform: uppercase;
}
.eln-fshow-head h2 .eln-svg-icon { width: 1em; height: 1em; color: #0a0a0a; }
.eln-fshow-all {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 10px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    white-space: nowrap;
}

.eln-fshow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
@media (max-width: 1023px) { .eln-fshow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .eln-fshow-grid { grid-template-columns: 1fr; } }

.eln-fshow-card {
    position: relative;
    display: flex; flex-direction: column; gap: 8px;
    min-height: 188px;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(10, 10, 10, .14);
    text-decoration: none;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.eln-fshow-card:hover {
    border-color: #0a0a0a;
    box-shadow: 0 10px 26px rgba(10, 10, 10, .10);
    transform: translateY(-2px);
}

.eln-fshow-logo {
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(10, 10, 10, .12);
    background: #fff;
    flex-shrink: 0;
}
.eln-fshow-logo-img { max-width: 38px; max-height: 38px; width: auto; height: auto; object-fit: contain; display: block; }
.eln-fshow-logo-ph {
    display: none;
    width: 100%; height: 100%;
    align-items: center; justify-content: center;
    font-weight: 900; font-size: 18px; color: rgba(10, 10, 10, .55);
}
.eln-fshow-logo-ph:only-child { display: flex; }

.eln-fshow-name {
    font-size: 15px; font-weight: 800; line-height: 1.25; color: #0a0a0a;
}
.eln-fshow-city {
    display: inline-flex; align-items: center; gap: .4em;
    font-size: 12px; color: rgba(10, 10, 10, .6);
}
.eln-fshow-city .eln-svg-icon { width: .9em; height: .9em; }
.eln-fshow-desc {
    font-size: 12px; line-height: 1.5; color: rgba(10, 10, 10, .65);
}
.eln-fshow-cta {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: .45em;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 10px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: #0a0a0a;
}
.eln-fshow-cta .eln-svg-icon { width: 1em; height: 1em; transition: transform .15s ease; }
.eln-fshow-card:hover .eln-fshow-cta .eln-svg-icon { transform: translateX(3px); }

/* ---- Teaser (unclaimed) cards: logo + name stay readable, details blur ---- */
.eln-fshow-lock {
    position: relative;
    flex: 1;
    display: flex; flex-direction: column;
    min-height: 92px;
    overflow: hidden;
}
.eln-fshow-card-inner {
    display: flex; flex-direction: column; gap: 8px;
    filter: blur(5px);
    opacity: .5;
    pointer-events: none;
    user-select: none;
}
.eln-fshow-card.is-teaser:hover .eln-fshow-card-inner { filter: blur(7px); }

.eln-fshow-tease {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    padding: 10px; text-align: center;
    background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.6));
}
.eln-fshow-tease-title {
    font-size: 11px; font-weight: 900;
    letter-spacing: .06em; text-transform: uppercase;
    color: #0a0a0a;
}
.eln-fshow-tease-btn {
    display: inline-flex; align-items: center; gap: .5em;
    padding: 9px 14px;
    background: #0a0a0a; color: #4ade80;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 10px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    transition: background .15s ease;
}
.eln-fshow-tease-btn .eln-svg-icon { width: 1em; height: 1em; }
.eln-fshow-card.is-teaser:hover .eln-fshow-tease-btn { background: #1a1a1a; }
