/*
Theme Name: Bankruptcy.com Theme
Theme URI: https://bankruptcy.com
Author: Your Name
Description: Custom boilerplate theme modeled after Debt.com, with Bootstrap
Version: 1.1
License: GNU General Public License v2 or later
Text Domain: bankruptcy-theme

/* ---- Base ---- */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #f8f9fa;
  color: #212529;
  font-size: 1rem;
  line-height: 1.7; /* improved readability */
  margin: 0;
}

.site-header {
  background: #fff;
  padding: 1rem 0;
  position: relative;
  z-index: 1020;
  border-bottom: none; /* remove any hard border */
}

/* Optional: if you want a true gradient instead of shadow */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px; /* thickness of gradient */
  background: linear-gradient(to bottom, rgba(200,200,200,0.4), rgba(200,200,200,0));
}


.site-footer {
  background: #222;
  color: #ccc;
  padding: 2rem 0;
}

.btn-primary {
  border: none;
}

/* Sticky call bar */
.sticky-top {
  z-index: 1030;
  font-size: 0.95rem;
}
.sticky-top .btn {
  font-weight: bold;
}
@media (max-width: 576px) {
  .sticky-top .btn {
    display: none;
  }
}

/* ---- Hero ---- */
.hero {
  background-color: #fff;
  background-image: url('https://bankruptcycom.wpenginepowered.com/wp-content/uploads/hero.png');
  background-position: center;
  background-size: cover;
  min-height: 600px;
  padding: 60px 0;
}

.hero h2 {
  text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}
.hero-cta {
   margin: 0 auto; /* Center on mobile by default */
}

@media (min-width: 992px) {
  .hero-cta {
    margin: 0 0 0 25%; /* Left margin on desktop */
  }
}
/* ---- Navigation ---- */

/* Hide Bootstrap's default caret */
.navbar .dropdown-toggle::after {
  display: none;
}


.navbar-nav .sub-menu,
.navbar-nav .dropdown-menu {
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  border: 0;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.navbar-nav .sub-menu li a,
.navbar .dropdown-menu .dropdown-item {
  display: block;
  padding: 8px 20px;
  color: #333;
  text-decoration: none;
}
.navbar-nav .sub-menu li a:hover,
.navbar .dropdown-menu .dropdown-item:hover {
  background: #f8f9fa;
}

/* Desktop hover dropdown */
@media (min-width: 992px) {
  .navbar-nav {
    flex-direction: row !important;
    align-items: center;
  }

  .navbar-nav .nav-item {
    margin-left: 0.8rem;
    position: relative; /* required for absolute submenu positioning */
  }

  .navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 200px;
  }

  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* Mobile toggle (Bootstrap default keeps this working) */
.navbar .dropdown-menu.show {
  display: block;
}
/* Post meta styling */
.post-meta {
  color: #6c757d; /* muted gray */
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

.post-meta .author-link {
  color: #212529;
  font-weight: 500;
}

.post-meta .author-link:hover {
  color: #0056b3;
}

.post-meta .last-updated {
  color: #666;
  font-size: 0.85rem;
}

/* Stack author and last updated vertically on mobile */
@media (max-width: 576px) {
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #212529;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

h1 { font-size: 2.75rem; } /* ~44px */
h2 { font-size: 2.25rem; } /* ~36px */
h3 { font-size: 1.75rem; } /* ~28px */
h4 { font-size: 1.5rem; }  /* ~24px */
h5 { font-size: 1.25rem; } /* ~20px */
h6 {
  font-size: 1rem;         /* ~16px */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
}


/* Paragraphs and lists */
p {
  margin-bottom: 1.25rem;  /* adds more space between paragraphs */
}

ul, ol {
  margin-bottom: 2rem; /* ⬅️ added extra space after closing </ul> or </ol> */
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem; /* small space between list items */
}

/* Blockquotes */
blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  color: #555;
  margin: 1.5rem 0;
  font-style: italic;
}

/* Links */
a {
  color: #0056b3;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Responsive typography */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.9rem; }
  h3 { font-size: 1.6rem; }
  h4 { font-size: 1.4rem; }
  h5 { font-size: 1.2rem; }
  h6 { font-size: 0.95rem; }

  p { margin-bottom: 1rem; }
}
/* ---- Footer Social Icons ---- */
.footer-social a {
  color: #ccc;
  transition: color 0.3s ease;
}
.footer-social a:hover {
  color: #fff;
}
.screen-reader-text,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.screen-reader-text:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.5em 1em;
  background: #f1f1f1;
  color: #000;
  z-index: 10000;
}
