/* ============================================
   ANCIEN CODE CUSTOM.CSS (À CONSERVER)
   ============================================ */

@media screen and (min-width: 1200px) {
    .header-top .menu .ets_mm_megamenu .mm_columns_ul .mm_blocks_li .ets_mm_categories .ets_mm_categories {
      align-content: flex-start;
      border-left: 3px solid #fff;
      display: flex !important;
      flex-direction: row;
      flex-wrap: wrap;
      min-height: 100%;
      width: auto !important;
      margin-left: 130px !important;
    }

    .header-top .menu .ets_mm_megamenu .mm_columns_ul .mm_blocks_li .ets_mm_categories .ets_mm_categories>li {
        width: 48%;
    }

    .header-top .menu .ets_mm_megamenu .mm_columns_ul {
      min-height: 455px;
      padding-left: 18% !important;
  }

  .header-top .menu .ets_mm_megamenu .mm_columns_ul .mm_blocks_li .ets_mm_categories .ets_mm_categories>li {
    width: auto !important;
    margin-right: 30px !important;
  }
}

@media(min-width: 1200px) {
    .mm_columns_ul {
        overflow-x: hidden; 
    }

    .header-top .menu .ets_mm_megamenu .mm_columns_ul .mm_blocks_li .ets_mm_categories .ets_mm_categories {
        width: 100% !important;
    }

    .header-top .menu .ets_mm_megamenu .mm_columns_ul .mm_blocks_li .ets_mm_categories .ets_mm_categories > li {
        width: 100% !important;
    }
} 

#registration .form-group:has(input[name="vat_number"]) small {
    display: none;
}

.clicnloc-btn {
  background-color:#69bcb2 ;
  color:white;
  width:100%;
  text-transform:uppercase;
}

.clicnloc-btn:hover {
  background-color: #5aaba0;
  color: white;
}

/* ========================================
   🎨 PAGE DE CONNEXION MODERNE - DESIGN 2025
   ======================================== */

/* Container principal */
.authentication-page-modern {
    gap: 25px;
    padding: 20px 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================================
   CARTES PRINCIPALES - EFFET MODERNE
   ======================================== */

.user-form-modern {
    flex: 1;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.user-form-modern:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-2px);
}

/* ========================================
   BLOCS CONNEXION & INSCRIPTION
   ======================================== */

.login-block-modern .user-form__content {
    background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
    padding: 40px 35px !important;
    border-right: 1px solid rgba(105, 188, 178, 0.1);
}

.register-block-modern .user-form__content {
    background: white;
    padding: 40px 35px !important;
}

/* Icônes des formulaires */
.form-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.form-icon {
    width: 56px;
    height: 56px;
    padding: 14px;
    background: linear-gradient(135deg, #69bcb2 0%, #5aaba0 100%);
    border-radius: 16px;
    color: white;
    box-shadow: 0 8px 20px rgba(105, 188, 178, 0.25);
    transition: all 0.3s ease;
}

.user-form-modern:hover .form-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 12px 25px rgba(105, 188, 178, 0.35);
}

/* Titres modernisés */
.form-title-modern {
    font-weight: 700 !important;
    color: #2d3748 !important;
    font-size: 1.5rem !important;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem !important;
}

/* Description inscription */
.register-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748b !important;
}

/* ========================================
   BOUTONS MODERNISÉS
   ======================================== */

/* Bouton créer un compte */
.btn-modern-register {
    background: linear-gradient(135deg, #69bcb2 0%, #5aaba0 100%) !important;
    border: none !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
    text-transform: none !important;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 20px rgba(105, 188, 178, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: white !important;
    min-width: 250px;
}

.btn-modern-register:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(105, 188, 178, 0.4) !important;
    background: linear-gradient(135deg, #5aaba0 0%, #4a9a90 100%) !important;
}

.btn-modern-register:active {
    transform: translateY(0) !important;
}

/* ========================================
   ESPACE FACTURES MODERNISÉ
   ======================================== */

.espace-factures-modern {
    max-width: 420px;
    min-width: 380px;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
}

.espace-factures-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #69bcb2 0%, #5aaba0 100%);
}

.espace-factures-modern:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-2px);
}

.espace-factures-modern .card-body-factures {
    padding: 35px !important;
}

/* Contenu espace factures */
.espace-factures-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Image avec effet moderne */
.espace-factures-img-link {
    display: block;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.espace-factures-img-link:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.espace-factures-img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

/* Actions (mot de passe oublié + bouton) */
.espace-factures-actions {
    width: 100%;
}

/* Mot de passe oublié modernisé */
.espace-factures-forgot {
    margin-bottom: 20px;
}

.espace-factures-forgot a {
    color: #69bcb2;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.espace-factures-forgot a:hover {
    color: #5aaba0;
    background: rgba(105, 188, 178, 0.08);
}

.forgot-icon {
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
}

.espace-factures-forgot a:hover .forgot-icon {
    transform: scale(1.1);
}

/* Bouton Connexion espace factures */
.btn-factures {
    background: linear-gradient(135deg, #69bcb2 0%, #5aaba0 100%) !important;
    color: white !important;
    border: none !important;
    padding: 14px 40px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(105, 188, 178, 0.3);
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-factures:hover {
    background: linear-gradient(135deg, #5aaba0 0%, #4a9a90 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(105, 188, 178, 0.4);
}

.btn-factures:active {
    transform: translateY(0);
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.btn-factures:hover .btn-icon {
    transform: translateX(3px);
}

/* ========================================
   FORMULAIRES - AMÉLIORATION DES INPUTS
   ======================================== */

.user-form-modern input[type="email"],
.user-form-modern input[type="password"],
.user-form-modern input[type="text"] {
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    background: white !important;
}

.user-form-modern input[type="email"]:focus,
.user-form-modern input[type="password"]:focus,
.user-form-modern input[type="text"]:focus {
    border-color: #69bcb2 !important;
    box-shadow: 0 0 0 3px rgba(105, 188, 178, 0.1) !important;
    outline: none !important;
}

/* Labels */
.user-form-modern label {
    font-weight: 600 !important;
    color: #2d3748 !important;
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
}

/* Bouton de connexion du formulaire */
.user-form-modern .btn-primary {
    background: linear-gradient(135deg, #69bcb2 0%, #5aaba0 100%) !important;
    border: none !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(105, 188, 178, 0.25) !important;
}

.user-form-modern .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(105, 188, 178, 0.35) !important;
    background: linear-gradient(135deg, #5aaba0 0%, #4a9a90 100%) !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 991px) {
    .authentication-page-modern {
        flex-direction: column;
    }
    
    .espace-factures-modern {
        max-width: 100%;
        min-width: auto;
        margin-top: 25px;
    }
    
    .login-block-modern .user-form__content {
        border-right: none;
        border-bottom: 1px solid rgba(105, 188, 178, 0.1);
    }
}

@media (max-width: 767px) {
    .form-icon {
        width: 48px;
        height: 48px;
        padding: 12px;
    }
    
    .form-title-modern {
        font-size: 1.3rem !important;
    }
    
    .btn-modern-register,
    .btn-factures {
        min-width: auto;
        width: 100%;
    }
    
    .login-block-modern .user-form__content,
    .register-block-modern .user-form__content {
        padding: 30px 20px !important;
    }
    
    .espace-factures-modern .card-body-factures {
        padding: 25px !important;
    }
}

@media (max-width: 576px) {
    .authentication-page-modern {
        padding: 10px;
    }
    
    .user-form-modern {
        border-radius: 12px !important;
    }
    
    .espace-factures-modern {
        border-radius: 12px !important;
    }
}

/* ========================================
   ANIMATIONS SUBTILES
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-form-modern,
.espace-factures-modern {
    animation: fadeInUp 0.6s ease-out;
}

.espace-factures-modern {
    animation-delay: 0.1s;
}

/* ========================================
   ACCESSIBILITÉ & FOCUS
   ======================================== */

.btn-factures:focus,
.btn-modern-register:focus,
.user-form-modern .btn-primary:focus {
    outline: 3px solid rgba(105, 188, 178, 0.4) !important;
    outline-offset: 2px;
}

/* États des liens */
a:focus-visible {
    outline: 2px solid #69bcb2;
    outline-offset: 2px;
    border-radius: 4px;
}



/* Forcer l'affichage complet des titres */
h2.h4.product-miniature_title.mb-0,
.product-miniature_title.mb-0,
h2.product-miniature_title,
.product-miniature_title {
    line-height: 1.5rem !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    overflow: visible !important;
    white-space: normal !important;
    display: block !important;
}

/* Cibler aussi le conteneur h2 parent */
.product-miniature h2,
.js-product-miniature h2 {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Et la carte produit elle-même */
.product-miniature,
.js-product-miniature {
    overflow: visible !important;
}

















/* ==========================================
   MODERNISATION DES PRODUITS SUR RESULTAT DE RECHERCHE
   ========================================== */

/* Conteneur des produits */
.products-list.row {
    gap: 15px;
}

/* Ajuster la largeur des blocs pour garder 4 colonnes */
.products-list__block--grid {
    flex: 0 0 calc(25% - 11.25px) !important;
    max-width: calc(25% - 11.25px) !important;
}

/* Carte produit - Design moderne */
.product-miniature.card {
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

/* Effet hover sur la carte */
.product-miniature.card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
    border-color: #00b5ad !important;
}

/* Image produit */
.product-miniature__thumb {
    overflow: hidden !important;
    background: #f8f9fa !important;
    padding: 20px !important;
    margin-bottom: 0 !important;
}

.product-miniature__thumb img {
    transition: transform 0.4s ease !important;
}

.product-miniature.card:hover .product-miniature__thumb img {
    transform: scale(1.08) !important;
}

/* Titre produit */
.product-miniature__title {
    padding: 15px 15px 10px 15px !important;
    line-height: 1.4 !important;
    height: auto !important;
    overflow: visible !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
}

.product-miniature__title a {
    text-decoration: none !important;
    color: #2c3e50 !important;
    transition: color 0.2s ease !important;
}

.product-miniature__title a:hover {
    color: #00b5ad !important;
}

/* Description produit */
.product-miniature__description {
    padding: 0 15px !important;
    font-size: 13px !important;
    color: #6c757d !important;
    min-height: 20px !important;
}

/* Prix */
.product-miniature__pricing {
    padding: 15px !important;
    border-top: 1px solid #f0f0f0 !important;
    margin-top: auto !important;
}

.product-miniature__pricing .price {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #00b5ad !important;
}

/* Grid responsive amélioré */
.products-list__block {
    margin-bottom: 25px !important;
}

/* Animation au chargement */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-miniature.card {
    animation: fadeInUp 0.5s ease-out !important;
}

/* Badge "NON-ENGAGING" ou autre si besoin */
.product-miniature__thumb::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

/* 3 colonnes sur tablette */
@media (max-width: 1199px) and (min-width: 992px) {
    .products-list__block--grid {
        flex: 0 0 calc(33.333% - 10px) !important;
        max-width: calc(33.333% - 10px) !important;
    }
}

/* 2 colonnes sur petite tablette */
@media (max-width: 991px) and (min-width: 768px) {
    .products-list__block--grid {
        flex: 0 0 calc(50% - 7.5px) !important;
        max-width: calc(50% - 7.5px) !important;
    }
}

/* 1 colonne sur mobile + ajustements */
@media (max-width: 767px) {
    .products-list__block--grid {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .products-list.row {
        gap: 15px;
    }
    
    .product-miniature__title {
        font-size: 14px !important;
    }
    
    .product-miniature__pricing .price {
        font-size: 20px !important;
    }
}





/* ===================================
   PERSONNALISATION PANIER & LOGO
   =================================== */

/* Réduire la taille du logo SODIMED */
.logo img {
    max-height: 55px !important;
    width: auto !important;
}

/* Icône panier : taille et couleur */
.header-top__icon.material-icons {
    font-size: 25px !important;
    color: #6EC8C9 !important;
}

/* Survol de l'icône panier */
.header-top__link:hover .header-top__icon.material-icons {
    color: #30867b !important; /* Légèrement plus foncé au survol */
}

/* Badge compteur du panier */
.header-top__badge {
    background-color: #30867b !important; /* Orange */
    color: #fff !important;
    font-size: 11px !important;
    width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
}




/* Bloc livraison différée sur page panier */
.cart-deferred-delivery {
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.cart-deferred-delivery:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cart-deferred-delivery img {
  display: block;
  cursor: pointer;
}

/* Responsive : masquer sur mobile si besoin */
@media (max-width: 991px) {
  .cart-deferred-delivery {
    margin-top: 1rem;
  }

  .elementor-1170101 .elementor-element.elementor-element-c9a7d37 {
    z-index: inherit;
  }
}
@media (min-width: 1199px) {
    .mm_menu_content_title {
        max-width: 200px;
    }
}
@media (min-width: 992px) {
    .mm_menus_li:hover > .mm_columns_ul {
        background-position: calc(100% - 2rem) calc(100% - 2rem) !important;
        background-size: 340px auto !important;
    }
}

.text-link {
    font-size: 0.8em;
    display: block;
}

.text-link a {
    font-weight: bold;
}

.text-link .code {
    color: #1abc9c;
}


/* Agrandir le conteneur du logo */
.checkout-option__col--thumb {
    min-width: 120px;
    flex: 0 0 120px; /* empêche la colonne de se rétrécir */
}
/* Taille de l'image */
.checkout-option__img {
    width: 80px;
    height: auto;
    max-width: none;
}












/* Mise en avant des catégories Clic'n Loc */
.card:has(a[href*="clic-n-loc"]),
.card:has(a[href*="clic-nloc"]) {
  border: 2px solid #1D9E75;
  box-shadow: 0 4px 12px rgba(29, 158, 117, 0.15);
}



/* Le col parent doit être en position relative pour le badge */
.col-xl-3:has(a[href*="clic-n-loc"]),
.col-xl-3:has(a[href*="clic-nloc"]) {
  position: relative;
}

/* Fond teinté sur l'image */
.card:has(a[href*="clic-n-loc"]) a,
.card:has(a[href*="clic-nloc"]) a {
  background-color: #E8F6F2;
  border-radius: 6px;
}








/* ============================================
   PRESTABLOG - Redesign grille 3 colonnes
   À coller dans : Apparence > CSS personnalisé
   ou dans custom.css de ton thème
   ============================================ */

/* --- Variables couleurs --- */
:root {
  --blog-accent: #43D3C0;
  --blog-accent-dark: #2bb8a6;
  --blog-text: #2c3e50;
  --blog-muted: #7f8c8d;
  --blog-card-bg: #ffffff;
  --blog-radius: 12px;
  --blog-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --blog-shadow-hover: 0 12px 40px rgba(67, 211, 192, 0.2);
}

/* ============================================
   OVERRIDE DU MASONRY (position absolute inline)
   ============================================ */

/* Reset le conteneur ul qui a height inline */
ul[id^="blog_list"] {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
  position: static !important;
  height: auto !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Reset chaque carte li qui a position/top/left inline */
ul[id^="blog_list"] .blog-grid {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
}

/* ============================================
   CARTE BLOG
   ============================================ */

.blog-grid .block_cont {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--blog-card-bg);
  border-radius: var(--blog-radius);
  box-shadow: var(--blog-shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(67, 211, 192, 0.1);
}

.blog-grid .block_cont:hover {
  transform: translateY(-6px);
  box-shadow: var(--blog-shadow-hover);
}

/* ============================================
   IMAGE
   ============================================ */

.blog-grid .block_top {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f9f7 0%, #d0f2ee 100%);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-grid .block_top a {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-grid .block_top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.blog-grid .block_cont:hover .block_top img {
  transform: scale(1.05);
}

/* Placeholder quand pas d'image */
.blog-grid .block_top:empty::after,
.blog-grid .block_top:not(:has(a))::after {
  content: "📄";
  font-size: 48px;
  opacity: 0.3;
}

/* ============================================
   CONTENU TEXTE
   ============================================ */

.blog-grid .block_bas {
  padding: 20px 20px 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-grid .block_bas h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: var(--blog-text);
}

.blog-grid .block_bas h3 a {
  color: var(--blog-text) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.blog-grid .block_bas h3 a:hover {
  color: var(--blog-accent) !important;
}

/* Date et catégorie */
.blog-grid .date_blog-cat {
  display: block;
  font-size: 12px;
  color: var(--blog-muted);
  margin-top: 6px;
  line-height: 1.5;
}

.blog-grid .date_blog-cat a.categorie_blog {
  color: var(--blog-accent) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.blog-grid .date_blog-cat a.categorie_blog:hover {
  text-decoration: underline !important;
}

/* Description */
.blog-grid .prestablog_desc {
  font-size: 13.5px;
  color: #5a6a72;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   BOUTON "EN LIRE PLUS"
   ============================================ */

.blog-grid .prestablog_more {
  padding: 0 20px 20px;
  margin-top: auto;
  flex-shrink: 0;
  background: transparent !important;
  background-color: transparent !important;
}

.blog-grid .blog_link {
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--blog-accent) !important;
  color: #ffffff !important;
  padding: 12px 18px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
  letter-spacing: 0.3px;
}

.blog-grid .blog_link:hover {
  background: var(--blog-accent-dark) !important;
  color: #ffffff !important;
  transform: translateX(3px) !important;
}

.blog-grid .blog_link .material-icons {
  font-size: 16px !important;
  line-height: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
  ul[id^="blog_list"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  ul[id^="blog_list"] {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .blog-grid .block_top {
    height: 180px;
  }
}