
.related-products {
    max-width: 1280px;
    margin: 40px auto;
    background-color: #f9fafb;
    border-radius: 24px;
    padding: 48px 24px;
}
.related-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 35px;
    color: #222222;
    text-align: center;
    margin-bottom: 32px;
}
.related-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
}
.related-card {
    max-width: 900px;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.related-img {
    flex: 0 0 280px;
    overflow: hidden;
}
.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.related-info {
    flex: 1;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.related-info h3 {
    font-weight: 700;
    font-size: 22px;
    color: #0047AB;
    margin-bottom: 12px;
}
.related-info p {
    font-size: 15px;
    line-height: 1.55;
    color: #555555;
    margin-bottom: 20px;
}
.related-btn {
    display: inline-block;
    background: transparent;
    border: 2px solid #0047AB;
    border-radius: 40px;
    padding: 8px 24px;
    font-weight: 600;
    font-size: 14px;
    color: #0047AB;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    align-self: flex-start;
}
.related-btn:hover {
    background: #0047AB;
    color: #ffffff;
}
@media (max-width: 768px) {
    .related-products {
        padding: 36px 20px;
    }
    .related-title {
        font-size: 28px;
    }
    .related-card {
        flex-direction: column;
        max-width: 100%;
    }
    .related-img {
        flex: 0 0 auto;
        aspect-ratio: 4 / 3;
    }
    .related-info {
        padding: 20px;
    }
    .related-info h3 {
        font-size: 20px;
    }
    .related-info p {
        font-size: 14px;
    }
}
