/*
Name:           tir-district
Author:         Société de Tir de Lens
Description:    Card / calendar layout for the decentralised district shoot page.
                Palette: gold #b0a377, dark slate #474d4b.
*/

.td-intro {
    max-width: 760px;
    margin: 0 auto;
    padding-top: 35px;
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}

/* --- Responsive card grid --- */
.td-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
    margin-top: 70px;
    margin-bottom: 60px;
    text-align: left;
}

/* --- Card --- */
.td-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ececec;
    border-top: 3px solid #b0a377;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(71, 77, 75, 0.06);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.td-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(71, 77, 75, 0.12);
}

/* Highlight the home range (Lens) */
.td-card--home {
    border-top-color: #474d4b;
}

.td-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid #f1f1f1;
}

.td-card__pin {
    color: #b0a377;
    font-size: 18px;
}

.td-card--home .td-card__pin {
    color: #474d4b;
}

.td-card__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #474d4b;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.td-card__title small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .5px;
    color: #9a9a9a;
    text-transform: none;
}

/* --- Sessions (date / time windows) --- */
.td-card__body {
    flex: 1 1 auto;
    padding: 8px 22px 18px;
}

.td-session {
    padding: 14px 0;
    border-bottom: 1px dashed #ececec;
}

.td-session:last-child {
    border-bottom: 0;
}

.td-session__day {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 12px;
    background: #f3efe2;
    color: #8a7c4e;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

.td-session__dates {
    display: block;
    margin: 4px 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: #3a3a3a;
}

.td-session__time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #777;
}

.td-session__time i {
    color: #b0a377;
}

/* --- Contact footer --- */
.td-card__foot {
    padding: 16px 22px;
    background: #fafafa;
    border-top: 1px solid #f1f1f1;
}

.td-card__label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
}

.td-card__contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #474d4b;
    word-break: break-word;
}

.td-card__contact:hover {
    color: #b0a377;
}

.td-card__contact i {
    color: #b0a377;
}

.td-card__note {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-style: italic;
    color: #999;
}

/* --- Prize banner --- */
.td-prize {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 760px;
    margin: 44px auto 24px;
    padding: 22px 28px;
    background: #474d4b;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(71, 77, 75, 0.18);
}

.td-prize__icon {
    font-size: 32px;
    color: #b0a377;
}

.td-prize__text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.td-prize__title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.td-prize__detail {
    margin-top: 3px;
    font-size: 15px;
    color: #cfcabb;
}

.td-thanks {
    margin-top: 18px;
    text-align: center;
    color: #888;
}

@media (max-width: 575px) {
    .td-prize {
        flex-direction: column;
        text-align: center;
    }
    .td-prize__text {
        text-align: center;
    }
}
