/*!
 * SPDX-FileCopyrightText: 2025 Bundesrepublik Deutschland, vertreten durch das BMI/ITZBund
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

/*
 * This file is part of the package itzbund/gsb-places of the GSB 11 Project by ITZBund
 *
 * Copyright (C) 2025 Bundesrepublik Deutschland, vertreten durch das
 * BMI/ITZBund. Author: Thomas Maroschik
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

.place-teaser__name {
    margin: 0 0 2px 0;
    font-size: 0.875rem;
}

.place-teaser__branch {
    display: block;
    margin-bottom: .5rem;
    font-size: 0.813rem;
}

.place-teaser__description,
.place-teaser__contact {
    margin: .5rem 0;
}

.place-teaser__address {
    padding: 0.25rem 0;
}

.place-teaser__times {
    border-top: 1px solid #0000001a;
    padding-top: .5rem;
}

.place-teaser__address-line,
.place-teaser__address-meta,
.place-teaser__times-item
{
    display: block;
}

.place-teaser__address-line {
    line-height: 1.4;
}
.place-teaser__address-meta {
    margin: .25rem 0;
}

.place-teaser__city-line {
    display: flex;
    gap: 0.25rem;
}

.place-teaser__times-title {
    display: block;
    font-size: 0.875rem;
    margin: 0 0 .125rem 0;
}

.place-teaser__times-item {
    display: flex;
    justify-content: space-between;
    margin-right: 2rem;
    width: 100%;
}

.place-teaser__item {
    margin-right: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.place-teaser__item::before {
    content: "";
    position: absolute;
    top: .125rem;
    left: 0;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    background-color: var(--bs-emphasis-color);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.place-teaser__address::before {
    top: .25rem;
    mask-image: url("../Icons/icon-pin.svg");
    -webkit-mask-image: url("../Icons/icon-pin.svg");
}

.place-teaser__phone::before {
    mask-image: url("../Icons/icon-phone.svg");
    -webkit-mask-image: url("../Icons/icon-phone.svg");
}

.place-teaser__email::before {
    mask-image: url("../Icons/icon-email.svg");
    -webkit-mask-image: url("../Icons/icon-email.svg");
}

.place-teaser__url::before {
    mask-image: url("../Icons/icon-globe.svg");
    -webkit-mask-image: url("../Icons/icon-globe.svg");
}

.place-teaser__times::before {
    top: .625rem;
    mask-image: url("../Icons/icon-clock.svg");
    -webkit-mask-image: url("../Icons/icon-clock.svg");
}

.place-teaser__address-text {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.place-teaser__contact-info,
.place-teaser__times-text {
    margin-bottom: 0;
}

.place-teaser__hours {
    flex-shrink: 0;
}
