/*
Theme Name:   GeneratePress Child
Theme URI:    https://generatepress.com
Description:  Default GeneratePress child theme
Author:       Valerio Rossi
Author URI:   https://justmolla.it
Template:     generatepress
Version:      0.1
*/

/*----------------------------------------------------------------*/
/* Style*/
html, body {
  width: auto!important;
  /* clip, not hidden: hidden turns the page into a scroll box and breaks position:sticky (header, home globe) */
  overflow-x: clip!important
}
ul, ol {
    margin: 0 0 1.5em 2em;
}
.post {
    margin: 0;
}

/*-------------------------------------------------------------------*/
/* Status badge */
/* Pills shown at the top of the animal photo cards ([animal_status_badges]) */
span.status-badge{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 6px 6px 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--e-global-color-3a67f059);
    color: var(--e-global-color-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(42, 43, 45, .18);
}
span.status-badge__icon{
    color: var(--e-global-color-accent);
    display: inline-block;
    animation: simabo-heartbeat 1.4s ease-in-out infinite;
}
span.status-badge__flag{ display: block; border-radius: 2px; }
@keyframes simabo-heartbeat{ 0%,100%{transform:scale(1)} 15%{transform:scale(1.3)} 30%{transform:scale(1)} 45%{transform:scale(1.2)} 60%{transform:scale(1)} }
@media (prefers-reduced-motion: reduce){ span.status-badge__icon{ animation: none; } }
span.status-badge__star{ color: var(--e-global-color-secondary); }
span.status-badge__family{ color: var(--e-global-color-secondary); display: inline-flex; }
span.sponsored{
  background: #ff47f2;
  color: white;
}
/*-------------------------------------------------------------------*/




/*-------------------------------------------------------------------*/
/*  header: "Donate" menu item (CSS class "donate" in Appearance > Menus) */
.donate {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    margin-left: 12px;
}
.donate > a.elementor-item {
    color: var(--e-global-color-secondary) !important;
}
.donate:hover {
    background-color: var(--e-global-color-text);
}
.donate:hover > a.elementor-item {
    color: #fff !important;
}

/*-------------------------------------------------------------------*/
/* Back to top: white arrow (the Elementor kit link color would make it teal) */
body a.generate-back-to-top,
body a.generate-back-to-top:hover,
body a.generate-back-to-top:focus {
    color: #fff;
}

/* header v8: no underline (active page pointer) on the Donate button */
.elementor-location-header .donate > a.elementor-item:after {
    display: none;
}
/* end header v8 */
