/*
 Theme Name:   AFA 2025
 Theme URI:    https://riotactstudios.com
 Description:  A child theme of Twenty Twenty-Five
 Author:       Matt Harris
 Author URI:   https://riotactstudios.com/
 Template:     twentytwentyfive
 Version:      1.0.0
 Text Domain:  twentytwentyfive-child
*/

:where(.wp-site-blocks *:focus) {
	outline-width: 0 !important;
	outline-style: none !important;
}

.wp-block-navigation-item {
  position: relative;
} 

.wp-block-navigation-item > a,
.wp-block-navigation-submenu.has-child > a {
  line-height: 80px;
}

.wp-block-navigation-item a:hover {
  text-decoration: none;
}

.wp-block-navigation__submenu-container {
  position: relative;
  left: 0;
  right: auto;
  border-top: 0 !important;
}

.wp-block-navigation__submenu-container a {	
	line-height: 1.5;
	border-bottom: 1px dashed #eee;
}

.wp-block-navigation-submenu {
	left: 0 !important;
	right: auto !important; 
}


.wp-block-navigation__submenu-container::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 5px;
  width: 0;
  height: 0;
  border-left: 7.5px solid transparent;  /* 15px total base */
  border-right: 7.5px solid transparent;
  border-bottom: 10px solid #fff;        /* White triangle */
}

/**
 * Media Text
 */

.wp-block-media-text.rounded .wp-block-media-text__media img {
	border-radius: 8px;
} 

/**
 * Tabs 
 */

.nav-tabs .wp-block-heading {
	position: relative;
}

.nav-tabs .wp-block-heading:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: transparent;
} 

.nav-tabs .wp-block-heading.active:after {
	background-color: black;
}

/**
 * Athlete
 */

.athlete-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #fff;
	border-radius: 8px;
	padding: 20px;
} 

.athlete-info {
	width: 70%;
}

.athlete-info h3 {
	position: relative;
	font-size: 1.5rem;
}

.athlete-info h3:after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 25px;
	height: 3px;
	background-color: black;
}

.athlete img {
	display: block;
	width: 25%;
	height: auto;
}