/*
Theme Name: Halal Guide
Theme URI: https://example.com/halal-guide
Author: Ton Nom
Author URI: https://example.com
Description: Thème WordPress personnalisé pour Halal Guide avec Bootstrap
Version: 1.0
License: GPLv2 or later
Text Domain: halal-guide
*/

/* ====== Halal Guide Theme Style ====== */

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 16px;
    line-height: 1.6;
    display: block;
    min-height: 100%;
    letter-spacing: normal;
    font-weight: 400;
    background-color: #f7f4f1 !important;
    color: #1c2326 !important;
    max-width: 122rem;
    margin: 0 auto;
}
.custom-thumb {
  width: 100%;
  height: 350px;
  object-fit: cover; /* évite la déformation */
  object-position: center; /* centre l’image */
  background-color: #fff; /* fond propre derriere les logos transparents */
}

.card-section.card-item {
    border-radius: 14px;
    padding: 25px;
    margin: 0 5px 25px;
    margin-top: 0px;
    display: block;
    background-color: #fff;
    transition: box-shadow .25s, transform .25s;
    box-shadow: 0 2px 9px rgb(84 84 84 / 11%) !important;
}

button.btn.btn-warning.w-100 {
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
    transition: all 0.2s 
ease;
    margin-left: 15px;
    background-image: linear-gradient(to right, #0056b3, #ff1616);
    background-clip: text;
    color: transparent !important;
}
a.badge.bg-secondary.text-white {
    display: inline-block;
    color: #0a0a0a !important;
    background-color: #f1ece5 !important;
    font-weight: 500;
    padding: 11px 16px;
    margin: 5px 5px 4px 0;
    text-decoration: none;
    text-align: center;
    border-radius: 30px;
    font-size: .78rem;
    line-height: 1;
    letter-spacing: .1px;
}
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.tab.active {
    background: #b48cf2;
    color: #fff;
}


/* Pagination des listes d'etablissements */
.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}
.page-numbers li {
    display: inline-flex;
    list-style: none;
}
a.page-numbers,
span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    background: #fff;
    color: #1c2326;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #e3ddd6;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
a.page-numbers:hover {
    background: #1c2326;
    color: #fff;
    border-color: #1c2326;
    transform: translateY(-1px);
}
span.page-numbers.current {
    background: #1c2326;
    color: #fff;
    border-color: #1c2326;
}
span.page-numbers.dots {
    border: none;
    background: transparent;
}