.related-section {
    padding: 2rem 1rem;
}

.related-container {
    max-width: 1440px;
    margin: 0 auto;
}

.section-title {
    color: var(--secondary);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.related-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 3px solid var(--primary);
}

.related-content {
    padding: 1.5rem;
}

.related-category {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.related-title {
    color: var(--secondary);
    font-size: 1.35rem;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.related-excerpt {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.related-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.related-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .related-card:hover {
        transform: translateY(-0.5rem);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }
}

@media(min-width: 48em) {
    .related-card:hover {
        transform: translateY(-5px);
    }

    .related-link:hover {
        color: var(--secondary);
    }

    .related-link:hover::after {
        transform: translateX(3px);
    }

    .related-container .grid-2col {
        grid-template-columns: 1fr;
    }
}

@media(min-width: 64em) {
    .section-title {
        margin: 1rem 0 2rem;
    }

    .related-section {
        padding: 4rem 2rem;
    }

    .related-title {
        font-size: 2.5rem;
        margin-bottom: 4rem;
    }


}

@media(min-width: 80em) {
    .related-container .grid-2col {
        grid-template-columns: repeat(2, 1fr);
    }
}