/*
Theme Name: boc
Theme URI: https://businessopscenter.com/
Author: Business Ops Center
Author URI: https://businessopscenter.com/
Description: A Business Ops Center WordPress theme with menu-driven header/footer, dark and light logo support, editor-controlled page content, and SEO-meta fallbacks from common SEO plugin fields or custom fields.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boc
*/

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.screen-reader-text,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.sr-only:focus {
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.boc-primary-menu,
.boc-mobile-menu,
.boc-footer-menu,
.boc-social-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.boc-primary-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 1280px) {
  .boc-primary-menu {
    gap: 2rem;
  }
}

.boc-primary-menu li {
  position: relative;
}

.boc-primary-menu a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #26364f;
  font-size: 0.875rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.boc-primary-menu a:hover,
.boc-primary-menu .current-menu-item > a,
.boc-primary-menu .current_page_item > a {
  color: #6f5200;
}

.boc-primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  z-index: 20;
  min-width: 14rem;
  margin: 0;
  padding: 0.65rem;
  list-style: none;
  border: 1px solid rgba(229, 232, 239, 0.9);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(6, 30, 73, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.35rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.boc-primary-menu li:hover > .sub-menu,
.boc-primary-menu li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.boc-primary-menu .sub-menu a {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
}

.boc-primary-menu .sub-menu a:hover {
  background: #fafbf7;
}

.boc-mobile-menu {
  display: grid;
  gap: 0.5rem;
}

.boc-mobile-menu a {
  display: block;
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  color: #26364f;
  font-size: 0.875rem;
  font-weight: 700;
}

.boc-mobile-menu a:hover {
  background: #fafbf7;
  color: #6f5200;
}

.boc-mobile-menu .sub-menu {
  margin: 0.35rem 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.boc-footer-menu {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

.boc-footer-menu a {
  transition: color 180ms ease;
}

.boc-footer-menu a:hover {
  color: #ffd950;
}

.boc-social-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.boc-social-menu a {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.boc-social-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.boc-page-content,
.entry-content {
  min-width: 0;
}

.entry-content > :where(p, ul, ol, blockquote, table, figure, h1, h2, h3, h4, h5, h6):not([class]) {
  width: calc(100% - 2rem);
  max-width: 900px;
  margin-inline: auto;
}

.entry-content > :where(p, ul, ol, blockquote, table, figure):not([class]) {
  color: #26364f;
  font-size: 1rem;
  line-height: 1.8;
}

.entry-content > :where(h1, h2, h3, h4, h5, h6):not([class]) {
  color: #061e49;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.entry-content > p:not([class]) {
  margin-block: 1.25rem;
}

.entry-content > ul:not([class]),
.entry-content > ol:not([class]) {
  padding-left: 1.5rem;
}

.entry-content a:not([class]) {
  color: #6f5200;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 217, 80, 0.72);
  text-decoration-thickness: 0.16em;
  text-underline-offset: 0.18em;
}

.boc-post-list {
  display: grid;
  gap: 1.25rem;
}

.boc-pagination {
  margin-top: 2rem;
}

.boc-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.boc-pagination a,
.boc-pagination span {
  display: inline-flex;
  min-width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e8ef;
  border-radius: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: #ffffff;
  color: #061e49;
  font-weight: 800;
}

.boc-pagination .current {
  background: #ffd950;
  border-color: #ffd950;
}

html.dark .boc-primary-menu a,
html.dark .boc-mobile-menu a,
html.dark .entry-content > :where(p, ul, ol, blockquote, table, figure):not([class]) {
  color: #d5deec;
}

html.dark .boc-primary-menu a:hover,
html.dark .boc-primary-menu .current-menu-item > a,
html.dark .boc-primary-menu .current_page_item > a,
html.dark .boc-mobile-menu a:hover,
html.dark .entry-content a:not([class]) {
  color: #ffd950;
}

html.dark .boc-primary-menu .sub-menu {
  border-color: rgba(226, 232, 240, 0.16);
  background: rgba(12, 27, 50, 0.96);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.26);
}

html.dark .boc-primary-menu .sub-menu a:hover,
html.dark .boc-mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
}

html.dark .entry-content > :where(h1, h2, h3, h4, h5, h6):not([class]) {
  color: #f8fafc;
}

/* Fully clickable homepage card grids (Business Systems Framework & Core Business Software Categories) */
#framework article,
#software article {
  position: relative;
  cursor: pointer;
}

#framework article a,
#software article a {
  position: static;
}

#framework article a::after,
#software article a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}
/* 1. Establish absolute positioning context for each card */
.grid article {
  position: relative;
  cursor: pointer;
}

/* 2. Remove inline-flex bounding box restrictions from the anchor link */
.grid article a {
  position: static;
}

/* 3. Generate a full-size invisible clickable overlay inside the card */
.grid article a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}

/* 1. Make the Transparency box relative and change the cursor to a hand on hover */
.border-primary\/30.bg-primary\/10 {
  position: relative;
  cursor: pointer;
}

/* 2. Remove standard bounds from the link inside */
.border-primary\/30.bg-primary\/10 a {
  position: static;
}

/* 3. Generate a full-size invisible clickable layer across the entire box */
.border-primary\/30.bg-primary\/10 a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}

.entry-content.prose.prose-boc.max-w-none h1,
.entry-content.prose.prose-boc.max-w-none h2,
.entry-content.prose.prose-boc.max-w-none h3,
.entry-content.prose.prose-boc.max-w-none h4,
.entry-content.prose.prose-boc.max-w-none h5,
.entry-content.prose.prose-boc.max-w-none h6 {
    font-weight: 900;
    line-height: 1.3;
    color: rgb(6 30 73 / var(--tw-text-opacity, 1));    margin-top: 32px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;

}

.entry-content.prose.prose-boc.max-w-none h1 span,
.entry-content.prose.prose-boc.max-w-none h2 span,
.entry-content.prose.prose-boc.max-w-none h3 span,
.entry-content.prose.prose-boc.max-w-none h4 span,
.entry-content.prose.prose-boc.max-w-none h5 span,
.entry-content.prose.prose-boc.max-w-none h6 span{
    font-weight: 900!important;

}
.entry-content.prose.prose-boc.max-w-none h1 {
    font-size: 42px;
}

.entry-content.prose.prose-boc.max-w-none h2 {
    font-size: 34px;
}

.entry-content.prose.prose-boc.max-w-none h3 {
    font-size: 28px;
}

.entry-content.prose.prose-boc.max-w-none h4 {
    font-size: 24px;
}

.entry-content.prose.prose-boc.max-w-none h5 {
    font-size: 20px;
}

.entry-content.prose.prose-boc.max-w-none h6 {
    font-size: 18px;
}

/* =========================================
   Paragraph
========================================= */


.entry-content.prose.prose-boc.max-w-none ul {
    list-style: disc
}
