/*
Theme Name: Notary Ninjas News
Theme URI: https://www.brooklynnotaryninjas.com/news/
Author: Notary Ninjas, LLC
Author URI: https://www.brooklynnotaryninjas.com/
Description: Custom WordPress news and blog theme designed to match the Brooklyn Notary Ninjas public website header, footer, Bootstrap layout, colors, and mobile menu.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: notary-ninjas-news
Tags: blog, news, custom-logo, featured-images, threaded-comments, translation-ready, responsive-layout
*/

:root {
  --bnn-navy: #0b1f3a;
  --bnn-blue: #174ea6;
  --bnn-blue-2: #0d6efd;
  --bnn-red: #7f1d1d;
  --bnn-green: #15803d;
  --bnn-gold: #ffc107;
  --bnn-muted: #6c757d;
  --bnn-border: rgba(15, 23, 42, .10);
  --bnn-shadow: 0 12px 32px rgba(15, 23, 42, .10);
}

body.bnn-wp-news-body {
  background: #fff;
  color: #212529;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body.bnn-wp-news-body a {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.skip-link:focus {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100000;
  background: #fff;
  color: var(--bnn-navy);
  padding: .65rem .9rem;
  border-radius: .65rem;
  box-shadow: var(--bnn-shadow);
}

/* Main-site header fallback styling. The theme also loads /assets/css/custom.css from the public site. */
.bnn-site-header {
  background: #fff;
  box-shadow: 0 5px 24px rgba(15, 23, 42, .08);
  z-index: 1030;
}

.bnn-topbar {
  background: var(--bnn-navy);
  color: rgba(255, 255, 255, .9);
  padding: .42rem 0;
}

.bnn-topbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.bnn-topbar a:hover,
.bnn-topbar a:focus {
  color: #dbeafe;
}

.bnn-navbar {
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.bnn-brand-mark {
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, var(--bnn-blue));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35), 0 10px 20px rgba(23, 78, 166, .22);
  font-size: 1.2rem;
}

.bnn-navbar .nav-link {
  color: var(--bnn-navy);
  font-weight: 850;
  border-radius: .7rem;
}

.bnn-navbar .nav-link:hover,
.bnn-navbar .nav-link:focus,
.bnn-navbar .nav-link.active {
  color: var(--bnn-blue);
  background: rgba(13, 110, 253, .07);
}

.bnn-dropdown-menu {
  border: 1px solid var(--bnn-border);
  border-radius: 1rem;
  padding: .55rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .14);
}

.bnn-dropdown-menu .dropdown-item {
  border-radius: .7rem;
  font-weight: 700;
  padding: .55rem .75rem;
}

.bnn-dropdown-menu .dropdown-item:hover,
.bnn-dropdown-menu .dropdown-item:focus {
  background: rgba(13, 110, 253, .08);
  color: var(--bnn-blue);
}

.bnn-nav-actions .btn {
  border-radius: .8rem;
  font-weight: 850;
}

.bnn-mobile-quick {
  display: flex;
  background: var(--bnn-navy);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.bnn-mobile-quick a {
  flex: 1 1 0;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-weight: 850;
  padding: .55rem .35rem;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.bnn-mobile-quick a:last-child {
  border-right: 0;
}

.bnn-mobile-quick a:hover,
.bnn-mobile-quick a:focus {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

/* News content uses the current Bootstrap-based public template. */
.bnn-news-hero .card,
.bnn-news-main .card,
.bnn-news-sidebar .card {
  border-radius: 1rem;
}

.bnn-news-card,
.bnn-news-single,
.bnn-news-page,
.bnn-news-sidebar-card {
  box-shadow: var(--bnn-shadow) !important;
}

.card-hover,
.bnn-news-card {
  transition: transform .18s ease, box-shadow .18s ease;
}

.card-hover:hover,
.bnn-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .14) !important;
}

.bnn-news-card-image {
  display: block;
  background: #f8f9fa;
  overflow: hidden;
  max-height: 330px;
}

.bnn-news-card-image img,
.bnn-featured-single img {
  display: block;
  width: 100%;
  height: auto;
}

.bnn-news-card-image img {
  object-fit: cover;
  min-height: 240px;
}

.bnn-meta {
  gap: .85rem;
}

.bnn-meta a {
  color: var(--bnn-muted);
  text-decoration: none;
}

.bnn-meta a:hover,
.bnn-meta a:focus {
  color: var(--bnn-blue);
}

.bnn-entry-footer .cat-links,
.bnn-entry-footer .tags-links {
  margin-bottom: .25rem;
}

.bnn-entry-footer a {
  display: inline-block;
  margin: .15rem .2rem .15rem 0;
  padding: .18rem .45rem;
  border-radius: 999px;
  background: rgba(13, 110, 253, .08);
  color: var(--bnn-blue);
  text-decoration: none;
  font-weight: 700;
}

.bnn-entry-content {
  font-size: 1.05rem;
}

.bnn-entry-content h2,
.bnn-entry-content h3,
.bnn-entry-content h4 {
  margin-top: 1.75rem;
  margin-bottom: .75rem;
  font-weight: 800;
}

.bnn-entry-content p,
.bnn-entry-content ul,
.bnn-entry-content ol {
  margin-bottom: 1.1rem;
}

.bnn-entry-content img {
  border-radius: 1rem;
}

.bnn-entry-content blockquote {
  border-left: 4px solid var(--bnn-blue);
  padding: .75rem 1rem;
  background: #f8f9fa;
  border-radius: .75rem;
  color: #495057;
}

.bnn-sidebar-list a {
  text-decoration: none;
  font-weight: 700;
}

.bnn-search-form .form-control,
.bnn-search-form .btn {
  border-radius: .8rem;
}

.bnn-search-form .input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.bnn-search-form .input-group .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.bnn-pagination .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
  justify-content: space-between;
}

.bnn-pagination .page-numbers,
.posts-navigation a,
.post-navigation a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: .45rem .8rem;
  border-radius: .8rem;
  border: 1px solid var(--bnn-border);
  background: #fff;
  text-decoration: none;
  font-weight: 800;
}

.bnn-pagination .page-numbers.current,
.bnn-pagination .page-numbers:hover,
.posts-navigation a:hover,
.post-navigation a:hover {
  background: var(--bnn-blue-2);
  color: #fff;
  border-color: var(--bnn-blue-2);
}

.comments-area {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: var(--bnn-shadow);
}

.comment-list {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid #ced4da;
  border-radius: .8rem;
  padding: .7rem .85rem;
}

.comment-form input[type="submit"] {
  border: 0;
  border-radius: .8rem;
  background: var(--bnn-blue-2);
  color: #fff;
  padding: .65rem 1rem;
  font-weight: 800;
}

footer.bg-dark a:hover,
footer.bg-dark a:focus {
  color: #fff3cd !important;
}

@media (max-width: 991.98px) {
  .bnn-navbar .navbar-collapse {
    padding-top: 1rem;
  }

  .bnn-navbar .navbar-nav {
    align-items: stretch !important;
  }

  .bnn-navbar .nav-link {
    padding: .72rem .8rem !important;
  }

  .bnn-dropdown-menu {
    border: 0;
    box-shadow: none;
    padding-top: 0;
    padding-bottom: .5rem;
  }
}

@media (max-width: 575.98px) {
  .bnn-news-hero .display-5 {
    font-size: 2rem;
  }

  .bnn-news-main {
    padding-top: 2rem !important;
  }
}
