/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.site-header .header-image {
  vertical-align: sub;
  max-width: 22px;
}

.site-branding-container .site-logo {
  margin-right: .5rem;
}

b, strong {
  font-weight: 600;
}

a {
  text-underline-offset: .25rem;
}

input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], select, textarea {
  border-radius: .25rem;
}

input[type="search"] {
  border-color: #f4f8ff;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
}

.dropdown-menu-toggle .gp-icon {
  top: 3px;
  position: relative;
}

.main-navigation ul ul {
  box-shadow: rgba(0, 0, 0, 0.08) 0px 1px 2px 0px, rgba(0, 0, 0, 0.08) 0px 1px 2px 0px;
  border-radius: .25rem;
}

.wp-block-verse {
  font-family: var(--gp-font--libre-baskerville);
  background: transparent;
  padding: 0;
  line-height: 1.6;
}

.home-hero {
	background:
	radial-gradient(35.36% 35.36% at 100% 25%,#0000 66%,#F1F4FD 68% 70%,#0000 72%) 16px 16px/calc(2*16px) calc(2*16px),
	radial-gradient(35.36% 35.36% at 0    75%,#0000 66%,#F1F4FD 68% 70%,#0000 72%) 16px 16px/calc(2*16px) calc(2*16px),
	radial-gradient(35.36% 35.36% at 100% 25%,#0000 66%,#F1F4FD 68% 70%,#0000 72%) 0 0/calc(2*16px) calc(2*16px),
	radial-gradient(35.36% 35.36% at 0    75%,#0000 66%,#F1F4FD 68% 70%,#0000 72%) 0 0/calc(2*16px) calc(2*16px),
	repeating-conic-gradient(#FBFCFC 0 25%,#0000 0 50%) 0 0/calc(2*16px) calc(2*16px),
	radial-gradient(#0000 66%,#F1F4FD 68% 70%,#0000 72%) 0 calc(16px/2)/16px 16px
	#FBFCFC;
}

.names {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.name-day-today::before {
  content: "";
  background: url("https://nimepaev.ee/wp-content/uploads/happy_name_day.svg");
  background-repeat: repeat;
  background-size: auto;
  background-size: 200px;
  background-repeat: no-repeat;
  width: 200px;
  height: 150px;
  position: absolute;
  left: 50%;
  top: -80px;
  transform: translate(-50%, 0);
}

/* Single */
.single .entry-header {
  text-align: center;
}

.single-nimi h6 {
  margin-top: 3rem;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 500;
}

.single-nimi .names {
  margin-top: .25rem;
}

.names br {
  display: none;
}


.nimepaev-date {
  background-color: var(--contrast);
  color: var(--base);
  display: flex;
  font-size: 16px;
  font-weight: 500;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 180px;
  text-align: center;
  border-radius: .25rem;
  padding: .25rem .5rem;
  margin-top: 1.5rem;
}