/* Hobby Grid Layout */
.hobby-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    text-align: left;
}

.hobby-card {
    background: #1e293b;
    border-radius: 12px;
    border: 1px solid #334155;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.hobby-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: var(--go-cyan);
}

.hobby-img {
    width: 100%;
    max-height: 280px;          /* Gives taller portrait photos more room */
    height: auto;               /* Lets the image maintain its natural aspect ratio */
    object-fit: cover;
    object-position: center;
    border-bottom: 2px solid #334155;
}

.hobby-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hobby-content h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.hobby-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--accent);
}