/*
Theme Name: Greg Services
Theme URI: https://greg-services.ch
Author: Grégory Béguelin
Description: Thème responsive pour une activité de conciergerie, petits travaux et services de proximité à Bienne.
Version: 1.10.2
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: greg-services
*/

/* Page courte : le pied de page vert remplit le bas de l'écran */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}
.admin-bar { min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px)); }
.site-main { flex: 0 0 auto; }
.site-footer { flex: 1 0 auto; }

/* Surtitre « gs-kicker » : utilisable partout */
.gs-kicker,
.wp-block-paragraph.gs-kicker {
    display: block;
    margin: 0 0 .5em;
    color: #3aa856;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.gs-kicker + h1,
.gs-kicker + h2,
.gs-kicker + h3 { margin-top: 0; }

/* Sur fond foncé (bannière, encadrés verts) */
.wp-block-cover .gs-kicker,
.gs-formule .gs-kicker,
.gs-cta .gs-kicker { color: #8fd6a2; }

/* Style Chaleureux */
.gs-style-chaleureux .gs-kicker { color: #a85f1f; }
.gs-style-chaleureux .wp-block-cover .gs-kicker,
.gs-style-chaleureux .gs-formule .gs-kicker { color: #e3a466; }

/* Coordonnées avec icône : [gs_telephone] [gs_email] [gs_whatsapp] */
.gs-coord {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    font-weight: 700;
    color: var(--green-700, #1d6232);
    text-decoration: none;
    vertical-align: middle;
}
a.gs-coord:hover span { text-decoration: underline; }
.gs-coord__icon {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
    stroke-width: 2;
}

/* Variante « pastille » : ajouter la classe gs-coord-pastille au paragraphe */
.gs-coord-pastille .gs-coord__icon {
    box-sizing: content-box;
    padding: .4em;
    border-radius: 50%;
    background: var(--green-50, #f1f5f0);
}

/* Sur fond foncé */
.wp-block-cover .gs-coord,
.gs-cta .gs-coord,
.gs-formule .gs-coord,
.site-footer .gs-coord { color: #fff; }

/* Style Chaleureux */
.gs-style-chaleureux .gs-coord { color: #a85f1f; }
.gs-style-chaleureux .gs-coord-pastille .gs-coord__icon { background: #efe6d6; }

/* Lignes de contact : rond vert + trait au-dessus */
.gs-cline {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--line, #e3e8e2);
    max-width: 600px;
}
.gs-cline:last-child { border-bottom: 1px solid var(--line, #e3e8e2); }
.gs-cline__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--green-50, #f1f5f0);
    color: var(--green-700, #1d6232);
    display: flex;
    align-items: center;
    justify-content: center;
}
.gs-cline__icon .icon { width: 24px; height: 24px; stroke-width: 1.9; }
.gs-cline__body { display: flex; flex-direction: column; gap: 2px; padding-top: 2px; }
.gs-cline__title { font-weight: 700; font-size: .95rem; color: var(--ink, #14181a); }
.gs-cline__value,
.gs-cline__value a { font-weight: 700; font-size: 1.1rem; color: var(--green-700, #1d6232); text-decoration: none; }
.gs-cline__value a:hover { text-decoration: underline; }
.gs-cline__value strong { font-weight: 500; font-size: 1rem; color: var(--ink, #14181a); }
.gs-cline__text { font-size: .93rem; color: var(--ink-soft, #555d60); }

/* Style Chaleureux */
.gs-style-chaleureux .gs-cline__icon { background: #efe6d6; color: #a85f1f; }
.gs-style-chaleureux .gs-cline__value a { color: #a85f1f; }

@media (max-width: 1023px) {
    .hide_on_mobile { display: none !important; }
} 
@media (min-width: 1024px) {
    .hide_on_mobile {
        display: initial !important;
    }
}
.medium_pleft_20 {
    background-color: #00a0d2;
}