body {
    margin: 0;
    padding: 50px 0;
    background-color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    justify-content: center;
}

.container {
    /* Width logic: 90% of screen, but never smaller than 800px */
    /* width: 90%; */
    max-width: min(600px, 90%);
    /* For very large screens, you might want to cap it */
    /* max-width: 1000px; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-link {
    text-decoration: none;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5rem; /* Largest element */
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5em;
}

.subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
    /* color: #666; */
}

.image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

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

.content {
    width: 100%;
}

h2 {
    font-size: 2rem;
    margin: 0 0 0 0;
    letter-spacing: 1px;
}

.film-meta {
    font-weight: bold;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.2rem;
    margin: 10px 0 15px 0;
}

.role {
    margin-bottom: 15px;
}

.role-title {
    font-weight: bold;
    text-transform: uppercase;
    display: block;
}

.apply-box {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
}

a {
    color: #000;
    font-weight: bold;
}

@media (max-width: 820px) {
    body { padding: 20px; }
    .container { min-width: 100%; }
    h1 { font-size: 3rem; }
}

.apply-box h3 {
    margin-top: 0;
}

.info-box {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 5px;
    font-weight: bold;
}

.info-value {
    font-size: 1rem;
    font-weight: 500;
}
