/*
Theme Name: Bridging the Gap Mentoring
Author: Bridging the Gap Islington CIO
Description: A custom, accessible WordPress theme for Bridging the Gap Mentoring.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: btgm
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* WordPress navigation markup. */
.nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav .current-menu-item > a,
.nav .current_page_item > a {
  color: #fff;
}

.brand .custom-logo-link {
  display: block;
}

.brand .custom-logo {
  object-fit: contain;
  width: 165px;
  height: 64px;
}

.entry-content {
  display: block;
}

.entry-content > div {
  width: 100%;
}

.entry-content h2,
.entry-content h3 {
  margin: 1.4em 0 .6em;
  color: var(--ink);
  line-height: 1.2;
}

.entry-content h2:first-child,
.entry-content h3:first-child {
  margin-top: 0;
}

.entry-content p,
.entry-content li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.entry-content p {
  margin: 0 0 1.2em;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.4em 1.4em;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.post-list {
  display: grid;
  gap: 24px;
}

.post-card h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

.post-card h2 a {
  color: var(--blue);
}

.pagination {
  margin-top: 32px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pagination a,
.pagination .current {
  border: 2px solid var(--red);
  border-radius: 999px;
  padding: 8px 14px;
}

.pagination .current {
  color: #fff;
  background: var(--red);
}

@media (max-width: 1050px) {
  .nav .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .brand .custom-logo {
    width: 118px;
    height: 52px;
  }
}
