/* Additions to original.css (the original's compiled styles, kept untouched). */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn { animation: fadeIn .5s ease-out; }

/* Anchored blocks stop below the fixed header. */
.site-anchor { scroll-margin-top: 5rem; }

/* Before site.js runs (or without it) the first item of a slider is the one shown. */
[data-slider]:not(.is-ready) [data-slide] ~ [data-slide] { opacity: 0; }
[data-slider]:not(.is-ready) [data-slide] ~ [data-slide][data-off*="absolute"] { display: none; }
[data-showcase]:not(.is-ready) [data-show] ~ [data-show] { display: none; }
[data-tabs] [data-tab-panel] ~ [data-tab-panel]:not(.hidden) { display: block; }
[data-stat] > span:not(:last-child) { display: none; }

.site-marquee { width: max-content; }

/* The field only robots fill. */
.site-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.site-field-error { margin-top: .25rem; font-size: .875rem; color: #fecaca; }

.site-tabbed { flex-wrap: wrap; align-items: flex-start; column-gap: 2rem; }
@media (min-width: 52rem) { .site-tabbed { column-gap: 3rem; } }
.site-tabbed > * { max-width: 100%; }

/* Pages with a side menu: the chosen block fills the room beside it. */
[data-side-tabs] ~ .site-anchor { flex: 1 1 0; min-width: 0; }

.site-dialog { margin: auto; max-height: 90vh; overflow-y: auto; border: 0; padding: 0; }
.site-dialog::backdrop { background: rgba(0, 0, 0, .5); }

/* Logos of the group around the main one. */
.site-orbit { --radius: 100px; --center: 110px; --item: 100px; --center-logo: 200px; --item-logo: 100px; --pad: 10px; --item-pad: 8px; }
@media (min-width: 640px) { .site-orbit { --radius: 140px; --center: 220px; --item: 160px; --center-logo: 300px; --item-logo: 140px; --pad: 18px; --item-pad: 16px; } }
@media (min-width: 768px) { .site-orbit { --radius: 170px; } }
@media (min-width: 1024px) { .site-orbit { --radius: 200px; } }

.site-orbit-center, .site-orbit-item { left: 50%; top: 50%; }
.site-orbit-center { width: var(--center); height: var(--center); margin: calc(var(--center) / -2) 0 0 calc(var(--center) / -2); padding: var(--pad); }
.site-orbit-item {
    width: var(--item); height: var(--item); margin: calc(var(--item) / -2) 0 0 calc(var(--item) / -2); padding: var(--item-pad);
    transform: translate(calc(cos(var(--angle)) * var(--radius)), calc(sin(var(--angle)) * var(--radius)));
}
.site-orbit-center:hover { scale: 1.08; z-index: 40; }
.site-orbit-item:hover { scale: 1.15; z-index: 35; }
.site-orbit img { max-width: 100%; max-height: 100%; opacity: .75; }
.site-orbit-center img { width: var(--center-logo); }
.site-orbit-item img { width: var(--item-logo); }
.site-orbit .is-active img { opacity: 1; }
.site-orbit-pulse { display: none; }
.site-orbit .is-active .site-orbit-pulse { display: block; animation: sitePulse 2s infinite; }
@keyframes sitePulse { 50% { transform: scale(1.3); } }

/* Text written in the admin editor. */
.site-rich-text p { margin-bottom: 1rem; line-height: 1.625; }
.site-rich-text h3 { font-size: 1.25rem; font-weight: 700; margin: 1.5rem 0 .75rem; }
.site-rich-text ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.site-rich-text ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1rem; }
.site-rich-text a { color: #387B83; text-decoration: underline; }

/* Classes of our own pages that the original style sheet does not have. */
.bg-red-50 { background-color: #fef2f2; }
.h-56 { height: 14rem; }
.max-h-\[480px\] { max-height: 480px; }
.pt-32 { padding-top: 8rem; }
.hover\:underline:hover { text-decoration: underline; }
.group:hover .group-hover\:underline { text-decoration: underline; }
@media (min-width: 48rem) { .md\:pt-28 { padding-top: 7rem; } }
