/*
 * Issue Summary Component Styling
 * Reusable styling for issue summary components across different pages
 */

/* Issue summary container */
.obj_issue_summary {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    max-width: 1200px;
    margin: 0 auto;

    &:hover {
        box-shadow: 0 4px 15px rgba(44, 90, 160, 0.1);
        transform: translateY(-2px);
        border-color: #2c5aa0;
    }

    /* Issue cover image */
    .cover {
        flex-shrink: 0;
        width: 120px;
        height: 160px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;

        &:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(44, 90, 160, 0.15);
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        a {
            display: block;
            width: 100%;
            height: 100%;
        }
    }

    /* Issue title */
    h2 {
        flex: 1;
        margin: 0;

        .title {
            color: #2c5aa0;
            font-family: 'Quattrocento', serif;
            font-weight: 700;
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            text-decoration: none;
            transition: color 0.3s ease;
            display: block;
            line-height: 1.4;

            &:hover {
                color: #1e3f6b;
                text-decoration: underline;
            }
        }
    }

    .series {
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        font-weight: 500;
        background: #f8f9fa;
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        display: inline-block;
    }

    /* Issue description */
    .description {
        color: #555;
        line-height: 1.6;
        margin-top: 0.5rem;
        font-size: 0.95rem;
    }
}

/* Responsive design for issue summary */
@media (max-width: 768px) {
    .obj_issue_summary {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;

        .cover {
            width: 100px;
            height: 130px;
            align-self: center;
        }

        h2 .title {
            font-size: 1.1rem;
        }

        .description {
            font-size: 0.9rem;
        }
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .obj_issue_summary {
        .cover {
            width: 100px;
            height: 130px;
        }

        h2 .title {
            font-size: 1.2rem;
        }
    }
}

/* Large screen enhancements */
@media (min-width: 1200px) {
    .obj_issue_summary {
        .cover {
            width: 140px;
            height: 180px;
        }

        h2 .title {
            font-size: 1.4rem;
        }
    }
}
