/* Locations page (template locations.php). Same palette and fonts as the new header. */

.fc-locations {
    --fc-green: #7fc220;
    --fc-green-hover: #70ae17;
    --fc-navy: #0a1200;
    --fc-field: #f4f8fb;
    --fc-font-accent: "Graphik", "Manrope", sans-serif;
    padding: 56px 0 96px;
    font-family: "Manrope", sans-serif;
}

.fc-locations__title {
    margin: 0 0 32px;
    font-family: var(--fc-font-accent);
    font-size: 44px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--fc-navy);
}

.fc-locations__list {
    display: grid;
    gap: 24px;
}

.fc-location {
    padding: 32px;
    border: 1px solid #e4ecf2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.07);
}

.fc-location__name {
    margin: 0 0 24px;
    font-family: var(--fc-font-accent);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--fc-navy);
}

.fc-location__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 28px;
}

.fc-location__label {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7b8794;
}

.fc-location__value,
.fc-location__hours dd,
.fc-location__hours dt,
.fc-location__phone {
    font-family: var(--fc-font-accent);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    color: var(--fc-navy);
}

.fc-location__value {
    margin: 0;
}

.fc-location__hours {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 20px;
    margin: 0;
}

.fc-location__hours dt,
.fc-location__hours dd {
    margin: 0;
}

.fc-location__phone,
.fc-location__phone:visited {
    text-decoration: none;
    color: var(--fc-navy);
    transition: color 0.2s;
}

.fc-location__phone:hover {
    color: var(--fc-green-hover);
}

.fc-location__btn,
.fc-location__btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 32px;
    border-radius: 10px;
    background: var(--fc-green);
    font-family: var(--fc-font-accent);
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s;
}

.fc-location__btn:hover {
    background: var(--fc-green-hover);
    color: #fff;
}

@media (max-width: 991px) {
    .fc-locations {
        padding: 32px 0 64px;
    }

    .fc-locations__title {
        font-size: 34px;
    }

    .fc-location {
        padding: 24px 20px;
    }

    .fc-location__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .fc-location__btn {
        width: 100%;
    }
}

/* ---------- List page: card actions ---------- */

.fc-location__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
}

.fc-location__link,
.fc-location__link:visited {
    font-family: var(--fc-font-accent);
    font-size: 16px;
    font-weight: 500;
    color: var(--fc-green-hover);
    text-decoration: none;
    transition: color 0.2s;
}

.fc-location__link:hover {
    color: var(--fc-navy);
}

.fc-location__btn--ghost,
.fc-location__btn--ghost:visited {
    border: 1px solid #e4ecf2;
    background: #fff;
    color: var(--fc-navy);
}

.fc-location__btn--ghost:hover {
    border-color: var(--fc-green);
    background: #fff;
    color: var(--fc-green-hover);
}

/* ---------- Office page (location.php) ---------- */

.fc-office {
    --fc-green: #7fc220;
    --fc-green-hover: #70ae17;
    --fc-navy: #0a1200;
    --fc-font-accent: "Graphik", "Manrope", sans-serif;
    padding: 56px 0 0;
    font-family: "Manrope", sans-serif;
}

.fc-office__grid {
    display: grid;
    grid-template-columns: 1fr 440px;
    align-items: center;
    gap: 64px;
}

.fc-office__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 0 0 20px;
    padding: 7px 18px;
    border-radius: 999px;
    background: #f1f8e6;
    font-family: var(--fc-font-accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fc-navy);
}

.fc-office__pill .fc-office__icon {
    width: 16px;
    height: 16px;
    color: var(--fc-green-hover);
}

.fc-office__title {
    max-width: 720px;
    margin: 0 0 20px;
    font-family: var(--fc-font-accent);
    font-size: 52px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--fc-navy);
}

.fc-office__title span {
    color: var(--fc-green);
}

.fc-office__text {
    max-width: 660px;
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.6;
    color: #3d4a37;
}

.fc-office__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.fc-office__card {
    padding: 36px;
    border: 1px solid #e4ecf2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(10, 18, 0, 0.09);
}

.fc-office__card-title {
    margin: 0 0 28px;
    font-family: var(--fc-font-accent);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--fc-navy);
}

.fc-office__list {
    display: grid;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fc-office__list li {
    display: flex;
    gap: 16px;
    margin: 0;
}

.fc-office__list li > div {
    min-width: 0;
}

.fc-office__list .fc-office__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    color: var(--fc-green);
}

.fc-office__list .fc-location__link {
    display: inline-block;
    margin-top: 6px;
}

.fc-office__hours-wrap {
    flex: 1;
}

.fc-office__hours {
    display: grid;
    gap: 4px;
    margin: 0;
}

.fc-office__hours div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 16px;
}

.fc-office__hours dt,
.fc-office__hours dd {
    margin: 0;
    font-family: var(--fc-font-accent);
    font-size: 17px;
    line-height: 1.5;
    color: var(--fc-navy);
}

.fc-office__hours dt {
    font-weight: 400;
}

.fc-office__hours dd {
    font-weight: 600;
}

.fc-office-map {
    padding: 72px 0 96px;
}

.fc-office-map__frame {
    overflow: hidden;
    aspect-ratio: 16 / 6;
    border: 1px solid #e4ecf2;
    border-radius: 20px;
    background: #f4f8fb;
}

.fc-office-map__frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 991px) {
    .fc-office {
        padding-top: 28px;
    }

    .fc-office__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .fc-office__title {
        font-size: 36px;
    }

    .fc-office__text {
        font-size: 16px;
    }

    .fc-office__card {
        padding: 24px 20px;
    }

    .fc-office__actions .fc-location__btn {
        width: 100%;
    }

    .fc-office-map {
        padding: 48px 0 64px;
    }

    .fc-office-map__frame {
        aspect-ratio: 4 / 3;
    }
}

.fc-location__email {
    word-break: break-word;
}
