
/**
 * This element is using CSS from the following:
 *
 * - opengemeenten_openinghours/Partials/Location/OpenGemeentenOpeningHours-Location.css
 *
 * Variables can be set there globally or override them here!
 */

.location-opening-hours {
    --font-size: var(--root-font-size); /* Reset, use REM */
}

.location-opening-hours__header {
    --color: var(--root-heading-2-color);
    --font-family: var(--root-heading-2-family);
    --font-size: var(--root-heading-2-size);
    --font-style: var(--root-heading-2-style);
    --font-weight: var(--root-heading-2-weight);
    --line-height: var(--root-heading-2-line-height);
}

.location-opening-hours__subheader {
    --color: var(--root-heading-3-color);
    --font-family: var(--root-heading-3-family);
    --font-size: var(--root-heading-3-size);
    --font-style: var(--root-heading-3-style);
    --font-weight: var(--root-heading-3-weight);
    --line-height: var(--root-heading-3-line-height);
}

.location-opening-hours__text {
    --color: var(--root-color-text);
    --font-family: inherit;
    --font-size: 1em; /* Mobile 16px / > Mobile 18px */
    --font-style: normal;
    --font-weight: var(--root-font-weight--normal);
    --line-height: inherit;
}

.location-opening-hours__icon {
    --fill: currentColor;
    --width: 1.25em;
}

.location-opening-hours__metadata {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 1rem;
    row-gap: 2rem;
}

.location-opening-hours__header + .location-opening-hours__metadata {
    margin-top: 1rem;
}

.location-opening-hours__metadata > * {
    display: flex;
    align-items: flex-start;
}

.location-opening-hours__header,
.location-opening-hours__metadata .location-opening-hours__subheader {
    margin-top: 0;
}

.location-opening-hours__icon {
    height: auto;
    margin-right: 0.5rem;
}

.location-opening-hours__telephone-link {
    display: block;
}

@media (min-width: 30em) {
    .location-opening-hours__metadata {
        grid-template-columns: 1fr 1fr;
    }
}

.location-opening-hours {
    font-size: var(--font-size, 1rem); /* Reset, use REM */
}

.location-opening-hours__header {
    font-family: var(--font-family, inherit);
    font-size: var(--font-size, 1.25em);
    font-weight: var(--font-weight, bold);
    font-style: var(--font-style, normal);
    line-height: var(--line-height, inherit);
}

.location-opening-hours__subheader {
    font-family: var(--font-family, inherit);
    font-size: var(--font-size, 1.166em);
    font-weight: var(--font-weight, bold);
    font-style: var(--font-style, normal);
    line-height: var(--line-height, inherit);
}

.location-opening-hours__text {
    font-family: var(--font-family, inherit);
    font-size: var(--font-size, 1em);
    font-weight: var(--font-weight, normal);
    font-style: var(--font-style, normal);
    line-height: var(--line-height, inherit);
}

.location-opening-hours__icon {
    fill: var(--fill, currentColor);
    min-width: var(--width, 1.25em);
    width: var(--width, 1.25em);
}
