/* ========================================
   Legal Chain Page Styles
   ======================================== */

.tlc-hero {
    padding: 10rem 5% 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tlc-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.07) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(77, 157, 224, 0.07) 0%, transparent 50%);
}

.tlc-hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
}

.tlc-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tlc-hero .tlc-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
}

.tlc-content {
    padding: 4rem 5%;
    max-width: 950px;
    margin: 0 auto;
    text-align: justify;
}

.tlc-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tlc-content a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.tlc-content a:hover {
    opacity: 0.8;
}

.tlc-gallery {
    padding: 2rem 5% 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tlc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tlc-gallery-item {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.tlc-gallery-item:hover {
    border-color: rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.tlc-gallery-item.wide {
    grid-column: 1 / -1;
}

.tlc-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Target the Karp image specifically */
.tlc-gallery-item:nth-child(3) img {
    object-position: 10% center; /* Adjust percentage as needed */
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    margin-bottom: 1rem;
}

.back-link:hover {
    color: var(--accent-blue);
}

@media (max-width: 768px) {
    .tlc-gallery-grid {
        grid-template-columns: 1fr;
    }

    .tlc-hero {
        padding: 8rem 5% 3rem;
    }
}

