/*
 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
*/

/* GeneratePress Site CSS */ /* navigation line and hover effect */

@media (min-width: 992px) {
  .main-navigation .menu > .menu-item > a::after {
		content: "";
    position: absolute;
    left: 50%;
    top: 0px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    display: block;
    width: 0;
    height: 3px;
		border-radius: 2px;
    background-color: var(--accent-3);
    transition: all 300ms ease-in-out;
  }
}

.main-navigation .menu > .menu-item > a:hover::after,
.main-navigation .menu > .menu-item > a:focus::after,
.main-navigation .menu > .current-menu-item > a::after {
  width: 24px;
}

/* remove bullets on WP category list block */
.wp-block-categories {
	list-style: none;
	margin-left: unset;
}

/* remove search icon right padding on desktop menu */
@media (min-width: 992px) {
	.main-navigation .menu-bar-item > a {
		padding-right: 0;
	}
} /* End GeneratePress Site CSS */

.cb-types-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.cb-types-table th,
.cb-types-table td {
  border: 1px solid #e0e0e0;
  padding: 8px 10px;
  vertical-align: top;
}

.cb-types-table thead th {
  background: #f5f7fb;
  font-weight: 600;
}

.cb-types-table tbody tr:nth-child(even) {
  background-color: #fafbff;
}
.cb-tools-box {
  border: 1px solid #e0e0e0;
  padding: 1rem 1.25rem;
  margin: 2rem 0 1rem;
  background: #fdfefe;
}

.cb-tools-box h3 {
  margin-top: 0;
}

.cb-tools-button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: #1a73e8;
  color: #ffffff;
  text-decoration: none;
  border-radius: 3px;
  font-size: 0.9rem;
}

/* Wrap both date headlines in a container with this class if possible */
.ce-byline-dates {
    background-color: #ffeb3b; /* yellow */
    color: #000000;            /* black */
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 13px;
}

/* Ensure inner items stay black */
.ce-byline-dates a,
.ce-byline-dates time,
.ce-byline-dates span {
    color: #000000;
}

/* If you can’t add a wrapper, target the post-meta container instead */
.post-meta .gb-headline,
.post-meta .entry-date {
    background-color: #ffeb3b;
    color: #000000;
    padding: 3px 6px;
    border-radius: 3px;
}
