﻿.grid-table {
    font-size: 8px;
    display: grid;
    grid-template-columns: 10% 20% 10% 60%;
    gap: 0px;
    margin-top: 25px;
    margin-right: 10px;
    max-height: 550px;
    overflow-y: auto;
    border-collapse: collapse;
}

@media (min-width: 960px) {
    .grid-table {
        font-size: 10px;
    }

    .fw-normal {
        font-size: 0.9rem !important;
        font-weight: 400 !important;
    }

    .caution {
        font-size: 0.6rem !important;
    }
}

@media (min-width: 1080px) {
    .grid-table {
        font-size: 12px;
    }

    .fw-normal {
        font-size: 1.1rem !important;
        font-weight: 400 !important;
    }

    .caution {
        font-size: 0.7rem !important;
    }
}

@media (min-width: 1280px) {
    .grid-table {
        font-size: 14px;
    }

    .fw-normal {
        font-size: 1.3rem !important;
        font-weight: 400 !important;
    }

    .caution {
        font-size: 0.8rem !important;
    }
}

@media (min-width: 1440px) {
    .grid-table {
        font-size: 15px;
    }

    .fw-normal {
        font-size: 1.4rem !important;
        font-weight: 400 !important;
    }
}

@media (min-width: 1680px) {
    .grid-table {
        font-size: 16px;
    }
}

@media (min-width: 1920px) {
    .grid-table {
        font-size: 18px;
    }
}

.grid-table .header {
    background-color: cornflowerblue;
    padding: 5px;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 1;
}

.grid-table div {
    height: 50px;
    padding: 5px;
    border: 1px solid black;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.grid-table .row-span {
    grid-row: span 2;
    height: 50px;
}

.grid-table .odd {
    background-color: #BBDDFF;
}

.full-width {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.footer .container {
    max-width: 5000px;
    text-align: left;
    margin-left: 10px;
}

.row .col-md-4 .container {
    padding: 0;
}

.volunteer-site-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 100vw;
    padding: 10px 30px 10px 0;
}

.volunteer-site-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    text-align: center;
    overflow: hidden;
    text-decoration: none;
}

    .volunteer-site-card:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.13);
        text-decoration: none;
    }

.volunteer-site-card-imgbox {
    width: 100%;
    aspect-ratio: 4/3;
    background: #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.volunteer-site-card-noimg {
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.volunteer-site-card-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    padding: 5px 4px 4px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    background: #f8f9fa;
}
