/*
 * Project-level public stylesheet.
 *
 * Loaded after the Velzon and Bootstrap bundles so these rules win the cascade without editing
 * any vendored file.
 *
 * Contrast (WCAG 2.2 AA, 1.4.3): the theme's muted grey, --vz-secondary-color #878a99
 * (rgb(135, 138, 153)), is 3.43:1 on white. It is used for small helper text, which needs 4.5:1.
 * #5a6a7a is 5.56:1 on white and is the --std-muted value the public directory pages already use,
 * so this changes only the failing cases and keeps the muted look consistent across the site.
 */
:root {
    --std-muted: #5a6a7a;
}

.text-muted,
.text-body-secondary,
.form-text {
    color: #5a6a7a !important;
}

/*
 * Opening hours and the WhatsApp share link on a listing (SPEC §4, §6).
 *
 * The table is the only layout below 480px that stays readable at 375px: two columns, day on the
 * left, times on the right, wrapping rather than overflowing.
 */
.std-hours-block {
    margin: 1.25rem 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--std-line, #dce3ea);
    border-radius: 0.65rem;
}
.std-hours-title {
    margin: 0 0 0.6rem;
    font-size: 1.05rem;
}
.std-hours-status {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem;
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
}
.std-hours-status .std-meta { margin: 0; }
.std-hours-open strong { color: #1b6b4a; }
.std-hours-closed strong { color: #8a1f11; }
.std-hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}
.std-hours-table th,
.std-hours-table td {
    text-align: left;
    padding: 0.32rem 0.25rem;
    border-top: 1px solid #eef1f4;
    vertical-align: top;
}
.std-hours-table tr:first-child th,
.std-hours-table tr:first-child td { border-top: 0; }
.std-hours-table th {
    font-weight: 600;
    white-space: nowrap;
    padding-right: 0.75rem;
}
.std-hours-today th,
.std-hours-today td {
    background: #eef6f2;
    font-weight: 700;
}
.std-hours-today-label {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: #1b6b4a;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.std-hours-note {
    margin: 0.6rem 0 0;
    font-size: 0.9rem;
}
.std-hours-source {
    margin: 0.6rem 0 0;
    color: var(--std-muted, #5a6a7a);
    font-size: 0.82rem;
}
.std-share-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
@media (max-width: 400px) {
    .std-hours-table th { white-space: normal; }
}

/* Special offer on a paid listing. One block, paid feature, approved content only. */
.std-offer-block {
    margin: 1.5rem 0;
    padding: 1rem 1.1rem;
    border: 1px solid #1b6b4a;
    border-left: 6px solid #1b6b4a;
    border-radius: 0.45rem;
    background: #f2f9f5;
}
.std-offer-title {
    display: inline-block;
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #14503a;
}
.std-offer-headline {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #123;
}
.std-offer-details {
    margin: 0 0 0.5rem;
    font-size: 0.98rem;
}
.std-offer-ends {
    margin: 0;
    font-weight: 600;
    font-size: 0.92rem;
    color: #14503a;
}
.std-offer-source {
    margin: 0.55rem 0 0;
    color: var(--std-muted, #5a6a7a);
    font-size: 0.82rem;
}
@media (max-width: 400px) {
    .std-offer-block { padding: 0.85rem 0.9rem; }
    .std-offer-headline { font-size: 1.05rem; }
}
