/* /mediawiki/resources/styles/videos.css */

body {
    padding: 20px 0 60px; /* top, sides (0), bottom (space for footer) */
    background-color: #121212;
    background-image: url('../backgrounds/AntorSinister.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: color-dodge;
    background-attachment: fixed;
    color: #e0e0e0;
}

h1 {
    text-align: center;
    font-family: 'GothicTitle', sans-serif;
    font-size: 2.8em;
    margin-bottom: 30px;
    flex-shrink: 0;
}

a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
    color: #f39c12;
}

footer {
    left: 0;
    padding-left: 0;
    padding-right: 0;
}

.container {
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr)); /* ?? larger embeds */
    gap: 30px;
}

.gallery-item {
    text-align: center;
}

.gallery-item iframe {
    width: 100%;
    aspect-ratio: 16 / 9; /* this is good and cinematic */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.gallery-item iframe:hover {
    transform: scale(1.03);
}

.caption {
    margin-top: 8px;
    font-size: 16px;
    color: #ccc;
    word-break: break-word;
}
