/**
 * Frontend styles for Magazine Cover PDF
 */

/* Magazine Cover Display */
.mcp-cover-figure {
    margin: 20px 0;
    text-align: center;
    max-width: 100%;
}

.mcp-cover-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.mcp-cover-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.mcp-cover-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mcp-cover-caption {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

/* Magazine Cards */
.mcp-magazine-card {
    text-align: center;
    margin-bottom: 20px;
}

.mcp-magazine-cover {
    margin-bottom: 10px;
}

.mcp-magazine-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 6px;
    overflow: hidden;
}

.mcp-magazine-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.mcp-magazine-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.mcp-magazine-title h3 {
    margin: 10px 0 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

/* Error Messages */
.mcp-block-error,
.mcp-no-magazines {
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #6c757d;
    text-align: center;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mcp-cover-figure {
        margin: 15px 0;
    }
    
    .mcp-cover-caption {
        font-size: 14px;
    }
    
    .mcp-magazine-title h3 {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .mcp-cover-link:hover,
    .mcp-magazine-link:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
}
