/* MIT License - https://uiverse.io/00Kubi/cowardly-eagle-56
Copyright - 2026 kennyotsu (kotsu) 
Copyright - 2026 00Kubi (Kubi) 

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

*/

/* MIT License - https://uiverse.io/vinodjangid07/chilly-newt-81
Copyright - 2026 vinodjangid07 (Vinod Jangid) 

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

*/

/* MIT License - https://uiverse.io/cssbuttons-io/wonderful-baboon-62
Copyright - 2026 cssbuttons-io (cssbuttons.io) 

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

*/
/* Uiverse adaptations: 00Kubi/kennyotsu, vinodjangid07, cssbuttons-io.
 * Sources and full MIT notices: docs/UI_EXTRA_SOURCES.md.
 * No generic selectors, tracking overlay, container transforms or layout animation.
 */
:is(.vibes-pdf-card,.vibes-food-card .wp-block-image,.vibes-gallery .wp-block-image){position:relative;isolation:isolate}
:is(.vibes-pdf-card,.vibes-food-card .wp-block-image,.vibes-gallery .wp-block-image)::after{
 content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:1;
 background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--vibes-brass,#c8a75b) 22%,transparent),transparent 55%),linear-gradient(125deg,transparent 0%,#ffffff08 45%,#ffffff22 50%,#ffffff08 55%,transparent 100%);
 box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--vibes-brass,#c8a75b) 70%,transparent);
 opacity:0;transition:opacity 200ms ease;
}
/* Preserve readable card text: glow sits behind its real children. */
.vibes-pdf-card::after{z-index:-1}
:is(.vibes-pdf-card,.vibes-food-card .wp-block-image,.vibes-gallery .wp-block-image):focus-within::after{opacity:1}
@media(hover:hover){
 :is(.vibes-pdf-card,.vibes-food-card .wp-block-image,.vibes-gallery .wp-block-image):hover::after{opacity:1}
}
/* Explore button's rotating icon, adapted to an inert compass ring. */
.vibes-hero-bottom a[href="#scopri-vibes"]{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;transition:background-color 200ms ease,box-shadow 200ms ease}
.vibes-hero-bottom a[href="#scopri-vibes"]::before{content:"";display:block;flex:0 0 17px;width:17px;height:17px;box-sizing:border-box;border:1px solid currentColor;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 30%,currentColor 30% 36%,transparent 36% 80%,currentColor 80% 86%,transparent 86%);transition:transform 650ms ease;pointer-events:none}
.vibes-hero-bottom a[href="#scopri-vibes"]:focus-visible{outline:3px solid var(--vibes-brass,#c8a75b);outline-offset:4px;box-shadow:0 0 0 6px var(--vibes-ink,#24231f)}
.vibes-hero-bottom a[href="#scopri-vibes"]:not(:disabled):active{box-shadow:inset 0 2px 5px #0006}
@media(hover:hover){
 .vibes-hero-bottom a[href="#scopri-vibes"]:not(:disabled):hover{background-color:color-mix(in srgb,var(--vibes-ink,#24231f) 88%,var(--vibes-brass,#c8a75b));box-shadow:0 4px 18px #0004}
 .vibes-hero-bottom a[href="#scopri-vibes"]:not(:disabled):hover::before{transform:rotate(250deg)}
}
/* Gradient-border button: retain each theme's ink/ivory text pair. */
.wp-block-button.is-style-outline>.wp-block-button__link{
 --vibes-extra-surface:var(--vibes-ink,#24231f);
 border:2px solid transparent!important;
 background:linear-gradient(var(--vibes-extra-surface),var(--vibes-extra-surface)) padding-box,linear-gradient(144deg,var(--vibes-brass,#c8a75b),var(--vibes-ivory,#fff8e8) 50%,var(--vibes-brass,#c8a75b)) border-box!important;
 color:var(--vibes-ivory,#fff8e8)!important;
 box-shadow:0 5px 16px color-mix(in srgb,var(--vibes-brass,#c8a75b) 12%,transparent);
 transition:box-shadow 200ms ease,background-color 200ms ease;
}
.wp-block-button.is-style-outline>.wp-block-button__link:focus-visible{outline:3px solid var(--vibes-brass,#c8a75b)!important;outline-offset:4px}
/* Keep ivory labels readable even at the brightest point of the shared shine. */
.wp-block-button.is-style-outline>.wp-block-button__link::before{background:linear-gradient(115deg,transparent,rgba(255,255,255,.12),transparent)}
@media(hover:hover){
 .wp-block-button.is-style-outline>.wp-block-button__link:hover{
  --vibes-extra-surface:color-mix(in srgb,var(--vibes-ink,#24231f) 90%,var(--vibes-brass,#c8a75b));
  box-shadow:0 8px 24px color-mix(in srgb,var(--vibes-brass,#c8a75b) 26%,transparent);
 }
}
html[data-vibes-motion="paused"] .vibes-hero-bottom a[href="#scopri-vibes"]::before{transform:none!important;transition:none!important}
html[data-vibes-motion="paused"] :is(.vibes-pdf-card,.vibes-food-card .wp-block-image,.vibes-gallery .wp-block-image)::after{transition:none!important}
@media(prefers-reduced-motion:reduce){
 .vibes-hero-bottom a[href="#scopri-vibes"]::before{transform:none!important;transition:none!important}
 :is(.vibes-pdf-card,.vibes-food-card .wp-block-image,.vibes-gallery .wp-block-image)::after,.vibes-hero-bottom a[href="#scopri-vibes"],.wp-block-button.is-style-outline>.wp-block-button__link{transition:none!important}
}
@media(forced-colors:active){
 :is(.vibes-pdf-card,.vibes-food-card .wp-block-image,.vibes-gallery .wp-block-image)::after{display:none}
 .wp-block-button.is-style-outline>.wp-block-button__link{border-color:ButtonText!important;background:ButtonFace!important;color:ButtonText!important}
}

