/*
Theme Name: Alchemists
Theme URI: http://bit.ly/alch-wp
Author: Dan Fisher
Author URI: http://bit.ly/dan_fisher
Description: Sports Club and News WordPress Theme
Version: 4.6.1
License: https://themeforest.net/licenses
License URI: https://themeforest.net/licenses
Text Domain: alchemists
Tags: one-column, two-columns, right-sidebar, custom-colors, custom-menu, custom-logo, featured-images, footer-widgets, post-formats, theme-options, threaded-comments, translation-ready
*/
.card__header_prochainmatch{display:flex;flex-wrap:wrap;align-items:center;padding:22px 23px;border-radius:4px 4px 0 0;position:relative;border-bottom:1px solid #e4e7ed;overflow:hidden;background-color:#ffcc00}.card__header_prochainmatch::before{content:"";display:block;position:absolute;width:6px;left:0;top:0;bottom:0;background-color:#fff;border-radius:3px 0 0 0}

.footer-col-inner {
    text-align: center;
}
.footer-col-inner img {
    display: inline-block;
}

.woocommerce-Price-amount.amount {
    color: #ffcc00 !important;
	text-shadow: none !important;
}

body.woocommerce-account .sidebar,
body.woocommerce-account #secondary {
    display: none !important;
}

body.woocommerce-account #primary,
body.woocommerce-account .content-area,
body.woocommerce-account .site-main {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.widget-results__content {
  display: flex;
  align-items: center;
  justify-content: space-between; /* espace entre équipe domicile et extérieure */
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}

.match-preview__action {
  margin: 0 auto; /* centre le bouton */
  order: 1; /* s'assure qu'il reste au milieu */
}

.widget-results__result {
  order: 2; /* score après les équipes */
  text-align: center;
  min-width: 20px; /* pour que le "-" reste centré */
}


/* Centrer type match et date du widget countdown */
.match-preview__title,
.match-preview__date {
    display: block;
    text-align: center;
}

@media (max-width: 767px) {
  .match-preview__content {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
  }

  .match-preview__team {
    flex: 1 1 0 !important;
    display: flex !important;
    flex-direction: column !important;   /* logo au-dessus, nom en dessous */
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .match-preview__team-logo img {
    width: 100% !important;   /* augmente la taille du logo */
    height: auto !important;
    max-width: 100% !important;
	  margin: 0 0 0 0 !important;
  }

  .match-preview__team-name {
    margin-top: 8px !important;
    font-size: 1.2em !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
  }

  .match-preview__vs {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;  /* VS au-dessus, heure en dessous */
    align-items: center !important;
    justify-content: center !important;
    margin: 0 15px !important;
    text-align: center !important;
  }

  .match-preview__conj {
    font-size: 24px !important;
    font-weight: bold !important;
  }

  .match-preview__match-info {
    margin-top: 6px !important;
    font-size: 16px !important;
  }
}

/* Cacher le widget sur les écrans de moins de 991px (mobile/tablette) */
@media screen and (max-width: 991px) {
    #widget-results-2 {
        display: none;
    }
}

.desktop-only-magnus img {
  width: 100%;
  height: auto; /* au lieu de forcer un % */
  display: block;
}

@media (max-width: 991px) {
    .desktop-only-magnus {
        display: none !important;
    }
}