/*
Theme Name: g-storefront
Template:   storefront
*/

:root {
    --color-primary: #dacdef73;
}

.stone2-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
button:focus,
button:active,
a:focus,
a:active {
    outline: none;
}
.stone2-row {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 8px;
    background-color: #fff;
}

/* Zone gauche (signe) */
.stone2-left {
    flex: 0 0 130px;
    max-width: 130px;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 0.5rem;
}
.imgBloc {
    padding:10px 0 15px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
    gap: 1rem;
    justify-items: center;
    text-align: center;
}

.imgBloc div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.imgBloc img {
    width: 135px;
    height: auto;
}

.imgBloc h3 {
    margin: 0.5rem 0 0 0;
    font-size: 14px;
}
a{
    text-decoration:none !important;
}
/* Zone droite (texte) */
.stone2-right {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}
@media (max-width: 600px) {
    .stone2-row {
        flex-direction: column;
    }

    .stone2-left,
    .stone2-right {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .stone2-left {
        margin-left: auto;
        margin-right: auto;
    }
}
.stone-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stone-row {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 8px;
    background-color: #fff;
}

.stone-cell {
    flex: 1 1 33%;
    padding: 0.5rem;
    box-sizing: border-box;
}

.stone-label {
    font-weight: 600;
    margin-bottom: 0.3rem;
    display: block;
}
.entry-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom:15px !important;
    gap: 10px;
    align-items: center !important; /* Centrage vertical */
}

.title-img {
    width: 180px;
    max-width: 100%;
}

.text-block {
    max-width: 600px;
}
.hentry .entry-header{
    border-bottom: none;
    margin-bottom: 25px;
}
.hentry .featured-image img {
    max-height: 300px !important;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    margin-bottom: 0;
}

.citation {
    font-style: italic;
    position: relative;
}

.citation::before {
    content: "« "; /* espace insécable après le guillemet ouvrant */
}

.citation::after {
    content: " »"; /* espace insécable avant le guillemet fermant */
}
.entry-content .intro {
    text-align: justify;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 40px;
    padding: 20px;
    background-color: var(--color-primary);
}
.entry-content .intro p:last-child{
    margin-bottom: 0;
}
@media (min-width: 768px) {
    .entry-header {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
    }

    .text-block {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .title-img {
        width: 120px;
        flex-shrink: 0;
    }
}
h1 {
    font-size: 26px;
    font-weight: 600;
}
h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top:25px !important;
}
.posts-list h2{
    margin-top:10px !important;
}
h3 {
    font-size: 20px;
    font-weight: 600;
    margin:20px 0 8px !important
}
.infoTbl-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #eee;
}

.infoTbl-row {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #eee;
    padding: 6px;
}

.infoTbl-title {
    font-weight: bold;
    color: #444;
    margin-bottom: 2px;
}

.infoTbl-content {
    color: #333;
}
@media (min-width: 600px) {
    .infoTbl-row {
        flex-direction: row;
        align-items: baseline;
    }

    .infoTbl-title {
        width: 150px;
        margin-bottom: 0;
    }

    .infoTbl-content {
        flex: 1;
    }
}
@media (max-width: 768px) {
    .stone-cell {
        flex: 1 1 100%;
    }
    .menu ul.children {
        display: none !important;
    }
}

.posts-list article{
    border-radius: 5px;
    width: 100%;
    padding: 15px;
    margin:10px 0

}
.hentry .entry-content  .posts-list a {
    text-decoration:none;
}
@media(max-width: 568px) {
    .col-full {
        margin-left: 12px;
        margin-right: 12px;
        padding: 0
    }
}

.posts-list .post {
    display: flex;
    flex-direction: column; /* Mobile : image au-dessus */
    align-items: flex-start;
    gap: 1rem; /* espace entre image et contenu */
    margin-bottom: 1rem;
    background-color: var(--color-primary);;
}

.posts-list .post .post-thumbnail {
    flex-shrink: 0;

}
.hentry .posts-list .wp-post-image {
    margin-bottom:0;
}
.home.blog .site-header,.home.page:not(.page-template-template-homepage) .site-header,.home.post-type-archive-product .site-header {
    margin-bottom: 20px
}

.read-more {
    margin-top: 10px;
    display: block;
    text-align: right;
}

.read-more::after {
    content: " >";
    transition: margin-left 0.2s;
}
.read-more:hover::after {
    margin-left: 5px;
}
a.read-more:focus {
    outline: none; /* Supprime le contour dans tous les cas */
}

a.read-more:focus-visible {
    outline: 2px solid #666; /* Réactive un contour visible pour la navigation clavier uniquement */
}
.acf-pierres{
    border: solid 1px #e7e7e7;
    padding: 12px;
}
.acf-pierres > div {
    border-bottom: 1px solid #e7e7e7; /* trait gris */
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.acf-pierres > div:last-child {
    border-bottom: none; /* pas de trait pour le dernier */
}
@media(max-width: 568px) {
    .col-full {
        margin-left: 18px;
        margin-right: 18px;
        padding: 0
    }
}
.posts-list .post img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.posts-list .post .post-thumbnail
{
    width:100%;
}
@media (min-width: 550px) {
    .col-full {
        max-width:850px;
    }
    .posts-list .post {
        flex-direction: row; /* Desktop : image à gauche */
        align-items: flex-start;
    }
    .posts-list .post .post-thumbnail
    {
        width:initial;
    }
    .posts-list .post img {
        width: 150px;
        height: 150px;
        object-fit: cover;
    }
}
.no-wc-breadcrumb .site-header{
    margin-bottom: 2em;
}
.handheld-navigation .menu{
    background-color: var(--color-primary);
    padding:15px;
}
.handheld-navigation ul li a{
    padding:6px;
    font-size:18px;
}
.handheld-navigation ul.menu li.current-menu-item > a{
    font-weight:bold;
    color:initial;
}

.site-header .site-branding img {
    height: auto;
    max-width: 400px;
    max-height: none
}





.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0;
    flex-wrap: wrap;
    font-family: 'Segoe UI', sans-serif;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin: 2px !important;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    background-color: #fff;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.pagination .page-numbers:hover {
    background-color: #fff6ea;
    border-color: #bbb;
    color: #000;
}

/* Pas d'effet sur la page active */
.pagination .current {
    background-color: #eb8d10;
    color: #fff;
    font-weight: bold;
    border: 1px solid #eb8d10;
    cursor: default;
    pointer-events: none;
    transition: none;
}








