/**
Theme Name: Bluenotary
Author: bluenotary.us
Author URI: http://bluenotary.us
Description: bluenotary.us WordPress Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bluenotary
Template: astra
*/

/* ========== CSS Variables ========== */
:root {
  --bg-light: #fffcf1;
  --primary-bg: #3b40d5;
  --primary-text: #3a3939;
  --primary-text-white: #ffffff;
  --primary-text-dark: #3a3939;
  --primary-text-dark-muted: #c2c2c7;
  --primary-text-dark-disabled: #e5e7eb;
  --secondary-bg: #3a3939;
  --secondary-text: #ffffff;
  --secondary-text-muted: #4a4a50;
  --light-text: #7d7d86;
  --gray-90: #2f2f33;
  --gray-70: #5d5c63;
  --gray-50: #a9a8ad;
  --brand-yellow: #f7f06e;
  --brand-light-red: #ff8484;
  --primary-color: #3b40d5;
  --primary-text-dark: #1d1d1f;
}

/* ========== Base Styles ========== */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Outfit", sans-serif;
}

a {
  color: unset;
  text-decoration: unset;
}

a:hover {
  color: unset;
}

body {
  background: #fffcf1 !important;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  --cs-wpadminbar-height: 0px;
  font-family: "Outfit", sans-serif;
}

button {
  transition: background-color 0.3s ease-in-out;
}

button:focus,
button:hover,
input[type="button"]:focus,
input[type="button"]:hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="submit"]:hover {
  background-color: #a9a9b77d;
  outline: none;
}

.ez-toc-open-icon {
  top: 20% !important;
}

/* ========== Utility Classes ========== */
.uppercase {
  text-transform: uppercase;
}

.pointer {
  cursor: pointer;
}

.text-white {
  color: white;
}

.w-100 {
  width: 100%;
}

.d-flex {
  display: flex;
}

.justify-content-between {
  justify-content: space-between;
}

.fw-semibold {
  font-weight: 500;
}

.row {
  margin: 0;
}

.border-secondary {
  border-color: #6c757d !important;
}

.border-bottom {
  border-bottom: 1px solid #dee2e6 !important;
}

/* ========== Navbar Container ========== */
.nb-navbar-container {
  display: flex;
  width: 100%;
  position: fixed !important;
  top: 0;
  justify-content: space-between;
  padding: 0;
  align-items: normal;
  background: transparent;
  z-index: 99;
}

/* WordPress Admin Bar Compatibility */
body:has(#wpadminbar) div#nb-navbar,
.admin-bar .nb-navbar-container {
  margin-top: 32px;
}

/* Navbar States */
body div#nb-navbar {
  padding: 0;
  background: rgb(0 0 0 / 10%);
  backdrop-filter: blur(8px);
}

#nb-navbar.scrolled {
  background: #fffcf1 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

div#nav-container {
  padding-bottom: 100px;
}

/* ========== Navbar Logo ========== */
.nb-logo {
  display: flex;
  margin-right: 1rem;
  padding: 0.7rem 1rem;
  margin-top: 0.3rem;
}

.nb-logo > a > img {
  width: 10rem;
  height: 30px;
}

.navbar-light-logo {
  display: none !important;
}

.navbar-light .navbar-dark-logo {
  display: block !important;
}

/* ========== Navbar Links ========== */
.nb-links {
  padding: 0.5rem 2rem;
  color: unset;
}

.nb-links svg {
  cursor: pointer;
}

.nb-links-container {
  display: flex;
  flex-grow: 1;
}

.homepagemain .nb-links-container a {
  font-weight: 500;
  color: #3a3939;
  padding: 0.5rem 2rem;
  font-size: 16px;
}

.homepagemain .nb-links-container a:hover {
  color: #3a3939;
}

.nb-links-item {
  display: flex;
  align-items: center;
  border-right: 1px solid #a9a8ad !important;
  cursor: pointer;
}

.nb-links-item:not(:last-child) {
  flex-grow: 1;
}

.nav-link {
  font-family: Outfit, sans-serif;
  margin: 0 !important;
}

.nav-link:focus,
.nav-link:hover {
  color: inherit;
}

/* ========== Navbar Menu (Mobile) ========== */
.navbar-menu {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 25rem;
  background-color: #fffcf1;
  transform: translate(100%, 0px);
  color: #3a3939;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  flex-direction: column;
}

.navbar-menu.active {
  transform: translate(0, 0) !important;
  opacity: 1;
  visibility: visible;
}

.navbar-menu-item-img {
  width: 80px;
  padding: 0;
}

.navbar-menu-close {
  display: flex;
  justify-content: flex-end;
  padding: 1.5rem;
  cursor: pointer;
}

.nb-navbar-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.nb-navbar-content::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 5px;
  height: 0px;
}

.nb-navbar-content::-webkit-scrollbar-thumb:vertical {
  border-radius: 4px;
  background-color: rgba(59, 64, 213, 0.5);
  -webkit-box-shadow: 0 0 1px rgba(59, 64, 213, 0.5);
}

.navbar-menu-item {
  border-top: 1px solid #3a3939;
}

.navbar-menu-link {
  display: block;
  padding: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #3a3939;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}

.navbar-menu-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #3a3939;
}

/* ========== Accordion Styles ========== */
.navbar-accordion-item {
  margin-bottom: 0 !important;
  border: none;
  border-top: 1px solid #3a3939;
}

.navbar-accordion-item,
.navbar-accordion-item .accordion-button,
.homepagemain .navbar-accordion-item button {
  background-color: #fffcf1 !important;
  border-radius: 0;
}

.navbar-accordion-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #3a3939;
  text-transform: uppercase;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.navbar-accordion-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.navbar-accordion-button:focus,
#navbar-menu button:focus,
#navbar-menu button:hover {
  outline: none !important;
  box-shadow: none;
  background-color: #fffcf1;
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.navbar-accordion-button[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.plus-icon {
  padding: 1rem !important;
}

.navbar-accordion-item .accordion-button {
  font-size: 16px !important;
  height: 55px;
}

.navbar-accordion-item .accordion-body {
  padding: 0 !important;
  color: var(--primary-text-dark) !important;
}

.navbar-accordion-item .accordion-button::after,
#nav-container .accordion-button::after {
  display: none;
}

.navbar-accordion-item .accordion-button:not(.collapsed),
.homepagemain .accordion-button:not(.collapsed) {
  color: #3a3939;
  background-color: #fffcf1 !important;
  box-shadow: none;
}

.accordion-collapse-cust {
  transition: all 0.3s ease-in-out;
}

.accordion-collapse-cust.active {
  display: block;
}

.homepagemain .accordion-flush .accordion-item .accordion-button,
body .homepagemain button.accordion-button {
  border-top: 1px solid #6c757d !important;
  border-radius: unset !important;
  height: 55px;
}

.homepagemain .accordion-item {
  margin: 0;
  padding: 0;
  border: none;
}

body .homepagemain button {
  border-radius: unset;
  justify-content: space-between;
  font-weight: unset !important;
  font-style: unset !important;
  letter-spacing: unset !important;
}

#nav-container .accordion-body.border-secondary {
  color: #3a3939 !important;
  text-decoration: none !important;
  background-color: #fffcf1;
  font-family: "Outfit", sans-serif !important;
  padding-left: 10px !important;
}

#nav-container .accordion-body.border-secondary div {
  font-size: 16px;
}

/* Submenu Items */
.navbar-submenu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  padding-left: 2rem;
  font-size: 0.95rem;
  color: #3a3939;
  text-decoration: none;
  border-top: 1px solid #e5e5e5;
  transition: background-color 0.2s ease;
}

.navbar-submenu-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #3a3939;
}

.item-number {
  font-size: 0.875rem;
  color: #999;
}

/* Action Buttons */
.navbar-menu-actions {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid #3a3939;
}

.navbar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.navbar-btn-outline {
  background: transparent;
  color: #3a3939;
  border: 1px solid #3a3939;
}

.navbar-btn-outline:hover {
  background-color: #3a3939;
  color: #fff;
}

.navbar-btn-primary {
  background-color: #3b40d5;
  color: #fff;
}

.navbar-btn-primary:hover {
  background-color: #2a2fb0;
}

.navbar-btn svg {
  width: 20px;
  height: 20px;
}

/* ========== Hamburger Button ========== */
.hamburger-btn {
  display: inline-flex;
  font-size: 1rem;
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  border: none;
  background-color: transparent;
  color: var(--primary-text);
}

div#hamburger-btn svg {
  color: var(--primary-text-dark);
}

div#hamburger-btn button:hover {
  background: none;
  color: #3a3939;
}

/* ========== Dropdown Styles ========== */
.dropdown-item {
  display: block;
  width: 70% !important;
  padding: 0.25rem 1rem;
  clear: both;
  font-weight: 400;
  color: #212529 !important;
  text-align: inherit;
  text-decoration: none !important;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.homepagemain .dropdown-item {
  font-size: 16px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
}

.dropdown-item.active,
.dropdown-item:active {
  color: unset;
  text-decoration: none;
  background-color: unset;
}

.dropdown-item:focus,
.dropdown-item:hover,
#navbar-menu .dropdown-item:focus,
#navbar-menu .dropdown-item:hover {
  background-color: rgb(255 252 241 / 90%);
}

.dropdown-menu {
  backdrop-filter: blur(1px);
  background-color: rgb(255 252 241 / 80%);
  min-width: calc(11rem + 1px);
  margin-top: 0 !important;
  margin-left: -1px !important;
  margin-right: -1px !important;
  border: 1px solid var(--primary-text-dark);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* ========== Button Styles ========== */
.brand-primary {
  background-color: var(--primary-bg);
  color: var(--primary-text-white);
  border: none;
}

.brand-secondary,
.brand-secondary:hover {
  background-color: var(--secondary-bg);
  color: var(--primary-text-white);
  border: none;
}

.brand-tertiary,
.brand-tertiary:hover {
  background-color: transparent;
  color: var(--primary-text-dark);
  border: 1px solid var(--secondary-bg);
}

.brand-btn-variable {
  display: inline-flex;
  justify-content: space-between;
  font-size: 1rem;
  place-items: end;
  min-height: 2rem;
  padding: 10px 20px;
}

.homepagemain .brand-btn-variable img {
  width: unset;
}

.NOTARIZE-btn {
  background: #3b40d5;
  padding-top: 20px;
  font-family: "Outfit", sans-serif;
  color: #fff;
}

.NOTARIZE-btn:hover {
  background: #3b40d5 !important;
}

.sign-btn-header {
  background: transparent;
  border: 1px solid #3a3939;
  color: #3a3939;
  text-decoration: none;
  padding-top: 20px;
  font-family: "Outfit", sans-serif;
}

.sign-btn-header:hover {
  color: #3a3939 !important;
}

/* ========== Z-Index Management ========== */
.modal-backdrop {
  z-index: 1000001;
}

.modal {
  z-index: 1000002;
}

.modal .close {
  top: 40px;
  right: 40px !important;
  position: absolute;
  border-radius: 50px;
  padding: 5px;
  z-index: 9999;
  background-color: white;
}

/* Cta Section */

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: auto;
  border-radius: 8px;
  padding: 40px;
  width: 100%;
  background-color: var(--primary-text-dark);
  max-height: 500px;
}

.cta-content h4 {
  color: #fff;
  font-size: 2rem;
}

.cta-content p {
  color: #fff;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.ctaButton {
  background-color: #fff !important;
  color: var(--primary-text-dark) !important;
  font-size: 1.3rem;
  text-align: center;
  width: 100%;
  border-radius: 0;
  padding: 18px;
  border-radius: 6px;
}

/* ========== Footer Styles ========== */
footer {
  font-family: "Outfit", sans-serif;
  line-height: 1.6;
}

footer a {
  text-decoration: unset;
  color: #3a3939 !important;
}

footer a:hover {
  text-decoration: unset;
  color: #3a3939;
}

.footer-contents img {
  padding: 12px;
  margin: 0 auto;
  display: flex;
}

.footer-last-div {
  margin-bottom: 36px;
}

.footer-contents {
  padding-top: 37px;
}

.gap-column-footer {
  padding: 0px 24px 0px 16px;
}

/* ========== Responsive Styles ========== */
@media (max-width: 991px) {
  .homepagemain .nb-links-item {
    border-right: 0 !important;
  }
}

@media (max-width: 767px) {
  .desktop-only {
    display: none !important;
  }

  .nb-navbar-container {
    border-bottom: none;
  }
}

@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .dropdown-item {
    width: 66% !important;
  }

  footer#footer .row {
    margin: 0 !important;
    padding: 0 !important;
  }
}

@media (max-width: 575px) {
  .navbar-menu {
    min-width: 100%;
  }

  .brand-btn-variable {
    width: 100%;
  }

  .brand-tertiary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .navbar-menu {
    min-width: 100%;
  }
}

.ast-container {
  width: 100%;
  padding-right: 24px;
  padding-left: 24px;
  margin-right: auto;
  margin-left: auto;
  max-width: var(--cs-mobile-container, 576px);
}
@media (min-width: 768px) {
  .ast-container {
    max-width: var(--cs-tablet-container, 992px);
  }
}
@media (min-width: 992px) {
  .ast-container {
    max-width: var(--cs-laptop-container, 1200px);
  }
}
@media (min-width: 1200px) {
  .ast-container {
    max-width: var(--cs-desktop-container, 1648px);
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .ast-container {
    padding-right: 3rem;
    padding-left: 3rem;
  }
}
@media (min-width: 1200px) and (max-width: 1659.98px) {
  .ast-container {
    padding-right: 3rem;
    padding-left: 3rem;
  }
}

/* ========== Posts Grid Shortcode Styles ========== */

.homepage-posts-section .left-column {
  width: 60%;
}

.homepage-posts-section .right-column {
  width: 40%;
}

.left-column .post-title {
  font-size: 2rem !important;
  line-height: 1.3;
}

.right-column .bluenotary-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.bluenotary-post-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bluenotary-post-item .post-thumbnail {
  width: 100%;
}

.bluenotary-post-item .post-thumbnail img {
  width: 100%;
  transition: 0.3s ease;
  border-radius: 10px;
}

.post-thumbnail:hover img {
  box-shadow: rgb(0 0 0 / 0.45) 0 25px 20px -20px;
  transform: scale(1.02);
}

.bluenotary-post-item .post-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.bluenotary-post-item .post-title a {
  color: var(--primary-text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.bluenotary-post-item .post-meta {
  display: flex;
  gap: 0.4rem;
  margin: 0.5rem 0;
  font-size: 0.875rem;
  color: black;
}

.bluenotary-post-item .post-author a {
  color: var(--primary-text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.bluenotary-post-item .post-author a{
  color: var(--primary-color);
}

.bluenotary-post-item .post-author a:hover {
  color: var(--primary-color);
}


/* ========== Global Post Card Styles - Horizontal Layout ========== */
.bluenotary-archive-post {
  display: flex;
  align-items: center!important;
  grid-template-columns: 45% 1fr;
  gap: 30px;
  margin-bottom: 40px;
  align-items: start;
  background: transparent!important;
  border-bottom: 1px solid #e5e7eb!important;
  padding-bottom: 40px!important;
  border-radius: 0px!important;
}

.bluenotary-archive-post .post-thumbnail {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  width: 50%!important;
}

.bluenotary-archive-post .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform 0.3s ease;
}

.bluenotary-archive-post:hover .post-thumbnail img {
  transform: scale(1.05);
}

.bluenotary-archive-post .post-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 50%!important;
  padding: 0!important;
}

.bluenotary-archive-post .post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px 0;
  font-size: 15px;
  color: #616162;
  font-weight: 500;
  order: 1;
}

.bluenotary-archive-post .post-meta .post-author {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bluenotary-archive-post .post-meta .post-author a {
  color: var(--primary-text-dark);
  text-decoration: none;
  font-weight: 500;
}

.bluenotary-archive-post .post-meta .post-author a:hover {
  color: var(--primary-color);
}

.bluenotary-archive-post .post-meta .meta-separator {
  color: #cbd5e0;
  margin: 0 4px;
}

.bluenotary-archive-post .post-meta .post-date {
  color: #616162;
  font-weight: 400;
}

.bluenotary-archive-post .post-title {
  margin: 0 0 16px 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  order: 2;
}

.bluenotary-archive-post .post-title a {
  color: var(--primary-text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.bluenotary-archive-post .post-title a:hover {
  color: var(--primary-color);
}

.bluenotary-archive-post .post-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #616162;
  margin: 0 0 16px 0;
  order: 3;
}

.bluenotary-archive-post .post-excerpt p {
  margin: 0;
}

.bluenotary-archive-post .post-categories {
  order: 4;
  margin: 0;
}

.bluenotary-archive-post .post-categories a {
  display: inline-block;
  background: #f1f3f5;
  color: #495057;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.bluenotary-archive-post .post-categories a:hover {
  background: #e9ecef;
  color: #212529;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .bluenotary-archive-post {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .bluenotary-archive-post .post-title {
    font-size: 22px;
  }
}

/* ========== Homepage Search Form ========== */
.homepage-search-form {
  margin-bottom: 2rem;
}

.homepage-search-form .search-form {
  width: 100%;
}

.homepage-search-form .search-input-wrapper {
  display: flex;
  align-items: center;
  background: #f5f5f7;
  border: none;
  border-radius: 3rem;
  overflow: hidden;
  padding: 0.25rem;
}

.homepage-search-form .search-field {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: "Outfit", sans-serif;
  box-shadow: none !important;
  background: transparent;
  color: var(--primary-text-dark);
}

.homepage-search-form .search-field:focus {
  background: transparent !important;
  border: none !important;
}

.homepage-search-form .search-field::placeholder {
  color: #999;
}

.homepage-search-form .search-submit {
  padding: 1rem 2.5rem;
  background: var(--primary-text-dark);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.3s ease;
  font-family: "Outfit", sans-serif;
}

.homepage-search-form .search-submit:hover {
  background: #333;
}

.homepage-search-form .search-submit svg {
  display: none;
}

@media (max-width: 768px) {
  .bluenotary-posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 922px) {
  .page-template-template-homepage .site-content .ast-container {
    display: block !important;
  }
}

/* ========== Category Filter Section ========== */
.category-filter-section {
  padding: 3rem 0;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.category-tab {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid #3a3939;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Outfit", sans-serif;
  color: #3a3939;
}

.category-tab:hover {
  background: #3a3939;
  color: #fff;
}

.category-tab.active {
  background: var(--primary-text-dark);
  color: #fff;
  border-color: var(--primary-text-dark);
}

/* Posts Container */
#posts-container {
  min-height: 400px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.category-post-item {
  transition: transform 0.3s ease;
}

.category-post-item .post-thumbnail {
  width: 100%;
  margin-bottom: 1rem;
}

.category-post-item .post-thumbnail img {
  width: 100%;
  border-radius: 0.625rem;
  transition: 0.3s ease;
}

.category-post-item:hover .post-thumbnail img {
  box-shadow: rgb(0 0 0 / 0.45) 0 1.5625rem 1.25rem -1.25rem;
  transform: scale(1.02);
}

.category-post-item .post-meta {
  display: flex;
  gap: 0.4rem;
  margin: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--primary-text-dark);
}

.category-post-item .post-author a {
  color: var(--primary-text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.category-post-item .post-author a:hover {
  color: var(--primary-color);
}

.category-post-item .post-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.category-post-item .post-title a {
  color: var(--primary-text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.category-post-item .post-title a:hover {
  color: var(--primary-color);
}

/* Loading State */
.posts-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 1rem;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-text-dark);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.posts-loading p {
  font-size: 1rem;
  color: #666;
}

.no-posts,
.error-message {
  text-align: center;
  padding: 3rem;
  font-size: 1.125rem;
  color: #666;
}

.error-message {
  color: #ff0000;
}

/* Load More Button */
.load-more-container {
  text-align: center;
  margin-top: 2rem;
}

.load-more-btn {
  padding: 1rem 3rem;
  background: var(--primary-text-dark);
  color: #fff;
  border: none;
  border-radius: 3rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.05em;
}

.load-more-btn:hover {
  background: #333;
}

.load-more-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Single Page Styles */

.single .entry-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.single .entry-content p {
  font-size: 20px;
  font-weight: 500!important;
}

#ez-toc-container {
  margin: 0 auto;
}

.ast-right-sidebar #primary {
  border-right: none !important;
}

.ast-right-sidebar #secondary {
  border-left: none !important;
}

.sidebar-main .wp-block-heading {
  font-weight: 500;
}

.sidebar-main .wp-block-latest-posts img {
  border-radius: 10px !important;
}

.sidebar-main .wp-block-latest-posts__post-title {
  text-decoration: none;
  color: var(--primary-text-dark);
  font-weight: 500;
  font-size: 18px;
}

.sidebar-main .wp-block-latest-posts__post-date {
  color: #616162;
}

/* Responsive */
@media (max-width: 768px) {
  .category-tabs {
    justify-content: flex-start;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .category-tab {
    font-size: 0.75rem;
    padding: 0.625rem 1.25rem;
  }
}

/* Single Page Styles */

.ast-single-entry-banner {
  border-radius: 10px;
}

@media (min-width: 991px) {
  .ast-single-entry-banner .ast-container {
    width: 50% !important;
    margin-left: 0;
  }
}

/* ==== Single page style ==== */

.site .ast-single-related-posts-container {
  padding: 0 !important;
  padding-top: 2.5em !important;
}

.ast-single-related-posts-container {
  background: transparent;
}

.ast-related-posts-title {
  font-weight: 500 !important;
}

/* Custom Related Posts Styling - matching design */
.ast-single-related-posts-container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.ast-related-posts-title-section {
    margin-bottom: 30px;
}

.ast-related-posts-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

.ast-related-posts-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 50px !important;
    grid-template-columns: none !important; /* Override Astra's grid */
}

.ast-related-post {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ast-related-post-content {
    display: grid !important;
    grid-template-columns: 45% 1fr;
    grid-template-areas: 
        "image header"
        "image content";
    gap: 0 40px;
    align-items: start;
}

.ast-related-post-featured-section {
    grid-area: image;
    margin: 0 !important;
}

.ast-related-post-featured-section img {
    border-radius: 12px !important;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.related-entry-header {
    grid-area: header;
    margin-bottom: 0px !important;
    padding: 0 !important;
}

.entry-content {
    grid-area: content;
    padding: 0 !important;
}

/* Meta Styling */

.ast-related-post-title a{
  font-weight: 500!important;
  font-size: 26px!important;
}

.bluenotary-related-meta {
    font-size: 14px;
    font-weight: 700;
    color: #666;
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: 0;
}

.bluenotary-related-meta strong {
    color: #333;
}

.meta-sep {
    margin: 0 5px;
    color: #ccc;
}

/* Title Styling */
.ast-related-post-title {
    font-size: 26px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    margin: 0 0 15px 0 !important;
}

.ast-related-post-title a {
    color: #1a1a1a !important;
    text-decoration: none !important;
}

/* Excerpt Styling */
.ast-related-post-excerpt {
    font-size: 17px !important;
    line-height: 1.6;
    color: #6c757d !important;
    margin-bottom: 20px !important;
}

/* Categories/Tags Styling */
.bluenotary-related-categories,
.bluenotary-related-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.related-cat-pill,
.related-tag-pill {
    background: #f1f3f5 !important;
    color: #495057 !important;
    padding: 6px 14px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.2s ease;
}

.related-cat-pill:hover,
.related-tag-pill:hover {
    background: #e9ecef !important;
    color: #212529 !important;
}

/* Hide Astra's default read more and containers that might interfere */
.ast-related-post-cta,
.ast-related-posts-inner-section .entry-content {
    display: none !important;
}

/* Ensure our injected content is visible */
.ast-related-post-content {
    display: grid !important;
    grid-template-columns: 45% 1fr;
    grid-template-areas: 
        "image text";
    gap: 0 40px;
    align-items: start;
}

.ast-related-post-featured-section {
    grid-area: image;
}

.related-entry-header {
    grid-area: text;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ast-related-post-content {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "image"
            "text";
        gap: 20px;
    }
    
    .ast-related-post-title {
        font-size: 22px !important;
    }
}


/* ==== Sidebar Style ==== */
.sidebar-main #block-6 .cta-content {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

.sidebar-main #block-6 .cta-content .col-md-6 {
  width: 100% !important;
}

/**
 * Single Post Footer Styles
 */
.bluenotary-single-post-footer {
    clear: both;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}

.bluenotary-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.post-foot-cat-pill {
    background: #f1f4f6 !important;
    color: #5c646d !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    line-height: 1;
    transition: all 0.2s ease;
}

.post-foot-cat-pill:hover {
    background: #e2e8f0 !important;
    color: #1a202c !important;
}

.bluenotary-post-author-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: inherit;
}

.author-by-text {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
}

.author-avatar-img img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
}

.footer-author-name {
    font-weight: 800;
    color: #1a1a1a;
}

.footer-meta-sep {
    color: #cbd5e0;
    font-size: 20px;
    line-height: 1;
}

.footer-updated-on {
    color: #4a5568;
    font-weight: 700;
}

@media (max-width: 600px) {
    .bluenotary-post-author-meta {
        flex-wrap: wrap;
    }
    
    .author-details-content {
        flex-wrap: wrap;
        line-height: 1.4;
    }
    
    .footer-meta-sep {
        display: none;
    }
}

.ast-single-entry-banner .entry-meta{
  padding: 15px 0;
}

.ast-single-entry-banner .entry-meta,
.ast-single-entry-banner .entry-meta span{
  font-size: 18px!important;
  color: #ffffffb8!important;
}

.ast-single-entry-banner .entry-meta a{
  text-decoration: none;
}

.ast-single-entry-banner .entry-meta a:hover span{
  color: #fff!important;
}

.ast-single-entry-banner .author-designation{
  font-weight: 300!important;
  color: #fff!important;
}

.ast-single-entry-banner .ast-author-avatar{
  margin-left: 0;
}

.bluenotary-post-tags{
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  font-weight: 500;
}

.related-entry-header{
  margin-top: 0px!important;
}

.footer-user-meta .author-avatar{
  border-radius: 50%;
  width: 30px;
  margin-right: 10px;
}
.footer-user-meta .author-info,
.footer-user-meta .author-info span,
.footer-user-meta .author-info strong,
.footer-user-meta .author-info a{
  color: #1d1d1f!important;
  text-decoration: none;
}

.footer-user-meta .author-info{
  color:#616162!important;
}


/* ========== Disclaimer Section ========== */
.bluenotary-disclaimer-section {
  border-top: 1px solid var(--ast-single-post-border, var(--ast-border-color));
  padding: 24px 0px;
  margin-top: 40px;
  margin-bottom: 0px;
}

.disclaimer-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--primary-text-dark);
  margin-bottom:0 ;
  text-transform: uppercase;
}

.disclaimer-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--primary-text-dark);
  margin: 0 0 12px 0;
}

.disclaimer-updated {
  font-size: 13px;
  color: #adb5bd;
  margin: 0;
}

@media (max-width: 768px) {
  .bluenotary-disclaimer-section {
    padding: 20px;
  }
  
  .disclaimer-text {
    font-size: 14px;
  }
}



/* ========== Author Bio Box Styles ========== */
.bluenotary-author-bio-box {
    background: linear-gradient(135deg, #1e22aa 0%, #3b40d5 100%);
    border-radius: 12px;
    padding: 24px;
    margin-top: 40px;
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.bluenotary-author-bio-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.bio-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.bio-avatar {
    flex-shrink: 0;
}

.bio-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.bio-meta {
    flex-grow: 1;
}

.bio-author-line {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.bio-by {
    font-weight: 400;
    opacity: 0.9;
    margin-right: 4px;
}

.bio-name {
    font-weight: 700;
    font-size: 1.2rem;
}

.bio-designation {
    opacity: 0.9;
    font-weight: 500;
}

.bio-sep {
    opacity: 0.6;
    margin: 0 4px;
}

.bio-date {
    opacity: 0.8;
    font-size: 0.95em;
}

.bio-content-wrapper {
    position: relative;
}

.bio-description {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 0px;
}

.bio-description p {
    margin-bottom: 0.5em;
}

.bio-description.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bio-read-more {
    background: transparent !important;
    border: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0;
    margin-top: 8px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.2s ease;
    display: inline-block;
}

.bio-read-more:hover {
    opacity: 0.8;
    background: transparent !important;
}


@media (min-width: 993px) {
    .ast-right-sidebar #primary {
        padding-right: 0px!important;
    }
}

@media (max-width: 576px) {
    .bluenotary-author-bio-box {
        padding: 20px;
    }

    .bio-header {
        flex-direction: column;
        gap: 15px;
    }

    .bio-avatar img {
        width: 60px;
        height: 60px;
    }
}

/* ========== Author Archive Header ========== */
.bluenotary-author-archive-header {
    padding: 0px 0 40px;
    max-width: 800px;
}

.author-header-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.author-avatar-large {
    flex-shrink: 0;
}

.author-avatar-large img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    padding: 5px;
}

.author-info-section {
    flex: 1;
}

.author-name {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 10px 0;
    color: var(--primary-text-dark);
}

.author-designation-large {
    font-size: 20px;
    font-weight: 300;
    color: #616162;
    margin: 0;
}

.author-bio-section {
    margin-bottom: 30px;
}

.author-bio-section p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--primary-text-dark);
    margin: 0;
}

.author-post-count {
    font-size: 20px;
    font-weight: 500;
    color: #616162;
    margin-bottom: 40px;
}

.author-post-count strong {
    color: var(--primary-text-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .author-header-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .author-avatar-large img {
        width: 140px;
        height: 140px;
    }
    
    .author-name {
        font-size: 40px;
    }
    
    .author-designation-large {
        font-size: 22px;
    }
    
    .author-bio-section p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .author-avatar-large img {
        width: 120px;
        height: 120px;
    }
    
    .author-name {
        font-size: 32px;
    }
    
    .author-designation-large {
        font-size: 18px;
    }
}

/* ========== Category Archive Post Count ========== */

.ast-archive-description{
  background: transparent!important;
  padding: 0!important;
}

.category-post-count {
    font-size: 16px;
    font-weight: 600!important;
    color: #616162;
    margin: 10px 0 0 0;
    padding: 0;
}
