@charset "UTF-8";

main{
    color:var(--font);
    padding-top: 10vh;
}

h2.title {
    margin-top: 2rem;
    font-size: 1.5rem;
    line-height: 1.5;
}

h2.title::after {
    content: '';
    display: block;
    height: 5px;
    width: 10rem;
    background: #d0bea2;
    margin: 1rem 1rem 1rem 0;
}

h3.title {
    padding: 0.4em 0.5em;
    color: #494949;
    border-left: solid 5px var(--black);
    font-size:1.3rem;
    margin:1.5rem auto;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../images/img_recruit.jpg');
    background-size: cover;
    background-position: center;
    /* Remove max-width and margin to allow full width */
    width: 100%;
    gap: 24px;
}

.transparent-button {
    flex: 1 1 0;
    max-width: 240px;
    min-width: 140px;
    height: 80px;
    font-size: 18px;
    color: var(--east-bay-dark);
    text-decoration: none;
    border: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0.5);
    transition: background-color 0.3s, color 0.3s;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    overflow: hidden;
    word-break: break-all;
    padding: 0 16px;
}

.transparent-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.interview-button {
    padding-left: 8px !important;
    padding-right: 8px !important;
    white-space: nowrap !important;
}

@media screen and (max-width: 768px) {
    h1 {
        font-size:1.5rem;
    }
    .button-container {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    .transparent-button {
        margin: 12px auto;
        padding: 12px 8px;
        width: 70vw;
        min-width: 120px;
        max-width: 220px;
        font-size: 16px;
        height: auto;
        min-height: 44px;
        line-height: 1.3;
        white-space: normal;
        word-break: break-all;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }
    .interview-button {
        /* Keep font-size same as other buttons for SP */
        padding-left: 4px;
        padding-right: 4px;
    }
}
@media screen and (min-width: 768px) {
    .button-container {
        height: 60vh;
    }
    .transparent-button {
        margin:20px;
        padding: 30px 60px;
    }
}
