/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

.home h2 {
	color: #FFFF99 !important;
	text-shadow: 2px 2px 0 #000; /* contour uniquement en bas à droite */
}

.home h1 {
    color: transparent !important;
    width: 100%;               /* largeur 100% du conteneur */
    height: 200px;              /* hauteur automatique pour garder les proportions */
    background: url('/wp-content/uploads/2025/10/logo-myriam-medium.png') no-repeat center;
    background-size: contain;  /* adapte l'image à la largeur disponible */
    display: block;            /* s'assure que le h1 prend bien la largeur */
}

.wp-block-group {
    padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.wp-block-image.size-full.image_bandeau {
  margin-left: -20px !important;
  width: calc(100% + 40px);
}

body.home sup a {
    color: red !important;
    text-decoration: none !important;
}

/* Boutons Paypal - Début */
form.paypal-inline {
    display: inline;
    margin: 0;
    padding: 0;
}

.paypal-inline input[type="image"] {
  all: unset;
  cursor: pointer;
  display: inline-block;
}

/* Boutons Paypal - Fin */

a:focus {
    outline: none !important;
    box-shadow: none !important;
	text-decoration: underline double;
}

strong, b {
    font-weight: 600 !important;
}

.frm_message, .with_frm_style input, .with_frm_style textarea, .with_frm_style input, .with_frm_style button {
	font-size: 1em !important;
}

.frm_fields_container {
	padding-top: 20px;
}

.frm_error_style, .frm_primary_label, .frm_form label {
	font-size: 1em !important;
    font-family: inherit;       /* police du thème */
    font-size: inherit;         /* taille du thème */
    font-weight: inherit;       /* graisse du thème */
    color: inherit;             /* couleur du thème */
    line-height: inherit;       /* hauteur de ligne du thème */
    text-transform: inherit;    /* majuscules/minuscules du thème */
}


.frm_error{
	font-size: 0.8em !important;
	font-style: italic !important;  /* majuscules/minuscules du thème */
}

.frm_submit{
	text-align: center;
	margin-top: -20px;
}

footer {
	text-shadow: 2px 2px 0 #000; /* contour uniquement en bas à droite */
}

/* Positionnement du header - Début */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
	background-color: rgba(255, 255, 255, 0.3);
    z-index: 9999; /* au-dessus du reste */
	padding-bottom: 10px;
}

.admin-bar header {
    top: 32px; /* hauteur de la barre admin */
}
/* Positionnement du header - Fin */

/* Liens du header - Début */
header a {
    text-shadow: 2px 2px 0 #000; /* contour uniquement en bas à droite */
}

.wp-block-navigation__responsive-container-open /* Hamburger sur mobile */
{
	color: yellow;
	mix-blend-mode: difference;	
}

.wp-block-navigation__responsive-container-open:focus {
    outline: none;
}

@media (max-width: 768px) {
    header a {
        text-shadow: none;
    }
}
/* Liens du header - Fin */

/* Carte Google - Début */
  .mapouter {
	padding-bottom: 20px;	  
    position: relative;
    text-align: center; /* ou right/left selon ton besoin */
    width: 100%;
    height: 450px;
    margin: 0 auto;
  }

  .gmap_canvas {
    overflow: hidden;
    background: none !important;
    width: 100%;
    height: 100%;
  }

  .gmap_canvas iframe {
    width: 100%;
    height: 100%;
    border: none;
  }

/* Carte Google - Fin */