/*
Theme Name: Forza Giovane — Français
Description: Tema WordPress autonomo per Forza Giovane, con i layout di riferimento e i media dello staging. Non richiede il builder YOOtheme.
Version: 3.0.2-fr
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: forzagiovane-su-misura
*/
.fg-native-document{min-height:50vh;padding-top:60px;padding-bottom:60px}
.fg-native-document img{max-width:100%;height:auto}
.fg-native-article{margin-bottom:50px}
.fg-post-image{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}
.fg-native-article h2{font-size:30px;margin-top:25px}
.fg-native-article h2 a{color:inherit}
.fg-review-feedback{padding:15px;border:1px solid #ddd;margin-top:15px;color:#515070;background:#fff}
.fg-whatsapp{position:fixed;right:5%;bottom:50px;width:56px;height:56px;display:flex;align-items:center;justify-content:center;border-radius:17px;background:#31d92b;color:white;z-index:990;box-shadow:0 3px 8px #0002}
.fg-whatsapp:hover,.fg-whatsapp:focus{background:#29bb25;color:white}
.fg-whatsapp svg{width:29px;height:29px}
.fg-whatsapp{border:0;cursor:pointer}
.fg-whatsapp-demo{position:fixed;right:5%;bottom:120px;z-index:991;max-width:280px;padding:22px;background:white;border-radius:12px;box-shadow:0 6px 30px #0003;color:#515070}
.fg-whatsapp-demo[hidden]{display:none}
.fg-whatsapp-demo p{margin:10px 0;font-size:14px}
.fg-whatsapp-demo button{border:1px solid #515070;background:white;padding:5px 12px;cursor:pointer}
.fg-location-map{display:block;border:0;width:100%;height:300px;background:#e5e5e5}
.fg-map-directions{display:inline-block;margin:8px 0 0;font-size:13px}
.fg-instagram{margin:0 auto 40px;font-family:Montserrat,sans-serif;color:#222}
.fg-instagram-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.fg-instagram-header h2{font-size:25px;margin:0 0 8px}
.fg-instagram-header .uk-button{white-space:normal}
.fg-reels-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.fg-reel{min-width:0;overflow:hidden;border:1px solid #dedede;border-radius:12px;background:white}
.fg-reel>a:first-child{display:block;position:relative;background:#222}
.fg-reel img{width:100%;aspect-ratio:9/16;object-fit:cover;display:block}
.fg-reel-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:30px;color:white;text-shadow:0 2px 7px #000;background:#0005;border-radius:50%;width:54px;height:54px;display:grid;place-items:center;padding-left:3px}
.fg-reel p{font-size:13px;line-height:1.6;margin:16px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.fg-reel-watch{display:block;margin:16px;font-size:12px}
@media(max-width:959px){.fg-reels-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fg-instagram-header{align-items:flex-start}.fg-whatsapp-demo{right:20px;bottom:88px}}
@media(max-width:479px){.fg-instagram-header{display:block}.fg-instagram-header .uk-button{margin-top:16px}.fg-reel p{margin:10px;font-size:12px}.fg-reel-watch{margin:10px}}
body.admin-bar .tm-header-mobile{scroll-margin-top:32px}
@media(max-width:959px){.fg-whatsapp{right:20px;bottom:24px;width:52px;height:52px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.uk-animation-slide-bottom-small,.uk-animation-fade{animation-duration:.01ms!important}}

/* WhatsApp: appearance of the UK reference. */

button.fg-whatsapp,#fg-whatsapp-demo{display:none!important}
#fg-whatsapp{position:fixed;right:24px;bottom:24px;z-index:99990;display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:50%;background:#25d366;color:#fff;box-shadow:0 4px 16px #0003;text-decoration:none;transition:background .2s,transform .2s}
#fg-whatsapp:hover{background:#128c7e;transform:translateY(-2px)}
#fg-whatsapp:focus-visible{outline:3px solid #111;outline-offset:4px}
#fg-whatsapp svg{width:34px;height:34px;fill:currentColor}
@media(max-width:640px){#fg-whatsapp{right:16px;bottom:calc(20px + env(safe-area-inset-bottom,0px));width:56px;height:56px}}
@media(prefers-reduced-motion:reduce){#fg-whatsapp{transition:none}}
