/**
Theme Name: Astra-Child
Theme URI: https://wpastra.com/
Description: Thème enfant d'Astra
Author: Nicolas FAYOLLE
Template: astra
Version: 1.0.0
Tags: custom-menu, custom-logo, entertainment, one-column, two-columns, left-sidebar, e-commerce, right-sidebar, custom-colors, editor-style, featured-images, full-width-template, microformats, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready, blog
*/

body {
  background-color: red;
}

.home .ast-header-breadcrumb {
    display: none !important;
}

.titre_realisations {
  margin: 4rem 0;
}

.article_realisation{
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 1.5rem;
    min-height: 30rem;
    max-width: 20.9rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article_realisation:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.ast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.ast-row article {
  flex: 1 1 calc(33.333% - 2rem);
  box-sizing: border-box;
}

.thumbnail_realisations {
  margin: -1.5rem -1.5rem 0 -1.5rem;
}

.thumbnail_realisations img {
  width: 100%;
  height: 12.5rem;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.pagination_realisations {
  margin-top: 2rem;
  text-align: center;
}

.pagination_realisations .page-numbers {
  display: inline-block;
  margin: 0 0.5em;
  padding: 0.6em 1em;
  background: #f8f8f8;
  border-radius: 3px;
  color: #333;
  text-decoration: none;
}

.pagination_realisations .page-numbers.current {
  background: #333;
  color: #fff;
  font-weight: bold;
}

/* retrait de la visibilité du bouton ReCAPTCHA Google */
.grecaptcha-badge {
	display: none;
}

/* formulaire de devis */
.cf7-wrapper {
  max-width: 100vw;
  margin: 0 auto;
}

.cf7-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* champs de saisie */

.cf7-wrapper .cf7-row .wpcf7-form-control-wrap {
  flex: 1 1 50% !important;
  margin-bottom: 1rem;
}

textarea.wpcf7-form-control {
  width: 100%;
}

.cf7-row input.wpcf7-form-control {
  width: 100%;
}

/* listes de sélection et checkbox */

.wpcf7 form .wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.wpcf7 form .wpcf7-checkbox label {
  display: block;
  margin: 0;
}

/* bouton accueil */
#bouton_accueil {
  background-color: rgba(255, 255, 255, 0.7);
  color: #303a4d;
  border: 2px solid transparent;
}
#bouton_accueil:hover{
  border: 2px solid white;
}

/* bouton de validation */
.wpcf7-submit {
  margin-top: 1rem;
}

.calculator {
  display: flex;
  flex-direction: column;
}
.calculator .contenu_calc {
  margin-bottom: 1.25rem;
}


@media (max-width: 768px) {
  .ast-row article {
    flex: 1 1 100%;
  }
	
	.cf7-wrapper {
	max-width: 65vw;
	margin: 0 auto;
	}
}
