/* Styles */

:root {
	
	--primary: #00008C;
	--text: #00008C;
	--blue: #2C2F74;
	--green: #81C8B9;
	--light-blue: #717EBD;
	--warm-bg: #F4EAE4;
	--orange: #F04E23;
	--pink: #D74699;
	--red: #CC2E2E;
	--yellow: #E5A812;
	--light-text: #F3F2EB;

}

/* ====================
* Accessibility
==================== */

:focus-visible {
    outline: 3px solid #005fcc;  
    outline-offset: 2px;
}

/* core interactive elements */

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
}

/* elementor / theme-specific classes  */

.elementor-button:focus-visible,
.btn:focus-visible,
.button:focus-visible,
.pagination a:focus-visible,
.pagination button:focus-visible,
.menu a:focus-visible,
.nav a:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
}

/* Container doesn't need to be hidden — only the links */

.skip-links {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
}

/* Skip link accessible but visually hidden */

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
}

/* When focused: show visibly */

.skip-link:focus,
.skip-link:focus-visible  {
  position: static;
  width: auto;
  height: auto;
  padding: .75rem 1rem;
  background: var(--focus-color);
  color: #fff;
  outline: 3px solid #fff;
  outline-offset: 0;
  z-index: 10000;
}

.sr-only-newtab {
  /* Visually hides the element but keeps it accessible to screen readers */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ====================
* General
==================== */
.site-main {
	overflow: hidden;
}
* {
  transition: all .3s ease-in-out;
}

.square img {
	aspect-ratio: 1/1;
	object-fit:cover;
}

.tile-link,
.tile-link > * {
	text-decoration: none!important;
}
.tile-link a, 
a.tile-link {
	text-decoration: none!important;
	display: inline;
	border-bottom: 0;
	position: relative;
}
.tile-link a:after,
a.tile-link:after {
	border-bottom: 1px solid;
	bottom: -0.03em;
	left: 0;
	content: '';
	position: absolute;
	display:inline-block;
	width: 100%;
	height: 1px;
}

.tile-link a:hover:after,
a.tile-link:hover:after {
	  animation-name: tileLinkLineAnimation;
  animation-duration: 0.75s;
}

@keyframes tileLinkLineAnimation {
  0%   {width: 0;}
  100% {width: 100%;}
}
/* ====================
* Typography
==================== */

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: none;
}

p:last-child {
  margin-bottom: 0;
}

.elementor-widget-text-editor ul li {
	margin-bottom: 0.85em;
}
/* ====================
* Elementor
==================== */

/* Parent container */

.e-parent {
  --padding-top: 10px;
  --padding-bottom: 10px;
  --padding-left: 20px;
  --padding-right: 20px;
}
