/* Media Bank Styles */

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.media-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.media-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.media-preview {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #a8a8a8;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.media-preview:hover {
    opacity: 0.8;
}

.media-img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.media-info h3 {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.1rem;
    font-family: 'Tinos', serif;
    font-weight: 700;
}

.media-info p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-family: 'Tinos', serif;
    font-weight: 400;
}

.media-note {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.media-note small {
    color: #333;
    font-size: 0.8rem;
    font-style: italic;
    font-family: 'Tinos', serif;
    font-weight: 400;
}

.media-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
    justify-content: flex-start;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.download-btn:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}


.brand-guidelines {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.guideline-section {
    margin-bottom: 2rem;
    color: #333;

    a {
        color: blue;
    }

    h3 {
        color: #333;
        margin-bottom: 1rem;
    }

    ul {
        padding-left: 1.5rem;
    }
}

.guideline-section li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.modal-title {
    color: white;
    font-size: 1.2rem;
    margin-top: 1rem;
    padding: 0 1rem;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s ease;
    z-index: 1001;
}

.modal-close:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }

    .media-item {
        padding: 1rem;
    }

    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }

    .modal-close {
        top: -30px;
        right: -10px;
        font-size: 1.5rem;
    }
}
