/* ==========================================================================
   Component: c-card-contact
   Card component for displaying organization/store contact information.
   Follows BEM methodology.
   ========================================================================== */

/* Grid layout
   ========================================================================== */

.c-card-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991.98px) {
    .c-card-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .c-card-contact-grid {
        grid-template-columns: 1fr;
    }
}

.c-card-contact {
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

/* Logo
   ========================================================================== */

.c-card-contact__logo {
    width: 96px;
    max-width: 160px;
    height: 50px;
    flex-shrink: 0;
}

.c-card-contact__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Body
   ========================================================================== */

.c-card-contact__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Header (title + address)
   ========================================================================== */

.c-card-contact__header {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.c-card-contact__title {
    font-family: 'Helvetica', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 28px;
    color: #000;
    margin: 0 0 4px;
}

.c-card-contact__address {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #212121;
    margin: 0;
    white-space: pre-line;
}

/* Branches (city : phone list)
   ========================================================================== */

.c-card-contact__branches {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.c-card-contact__branch {
    display: flex;
    gap: 4px;
    align-items: center;
    font-size: 16px;
    line-height: 24px;
    color: #212121;
}

.c-card-contact__branch-city {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    flex-shrink: 0;
    min-width: 120px;
}

.c-card-contact__branch-phone {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
}

/* Footer (toll free + website)
   ========================================================================== */

.c-card-contact__footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.c-card-contact__toll-free {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #212121;
    margin: 0;
}

.c-card-contact__toll-free strong {
    font-weight: 700;
}
/* break line if needed */
.c-card-contact__website {
    font-family: 'Lato', 'Source Sans Pro', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
    color: #212121;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    transition: color 0.2s ease;
    word-break: break-word;
}

.c-card-contact__website:hover {
    color: #ad0000;
}

.c-card-contact__website-icon {
    color: #ad0000;
    font-size: 16px;
}
