/* ==================================================
   AUTHOR PAGE – FLEX GRID (THEME SAFE)
================================================== */

.aap-author {
  padding: var(--wp--style--block-gap, 2rem);
}
h1{
    font-size: 55px !important;
    line-height: 1 !important;
    font-family: 'Saira', sans-serif !important;
    font-weight: 600 !important;
    margin: 0;
    text-align: center;
    color: #7c0000 !important;
    padding-left: 15px !important;
  text-transform: uppercase;}
h2{
    font-size: 24px !important;
    line-height: 1 !important;
    font-family: 'Saira', sans-serif !important;
    font-weight: 600!important;
    margin: 0;
    text-align: sleft;
  text-transform: uppercase;}
/* ---------- AUTHOR HEADER ---------- */
h3{font-size: 18px !important;}

.aap-author-header {
  margin-bottom: 3rem;
}

.aap-author-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.aap-author-meta img {
  border-radius: 50%;
}

.aap-author-title {
  margin: 0;
  opacity: 0.8;
}

.aap-author-bio {
  margin-top: 1.5rem;
  max-width: 100%;
}

/* ---------- FLEX GRID ---------- */

.aap-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* 3-column desktop */
.aap-post-card {
  flex: 1 1 calc(33.333% - 1.5rem);
  max-width: calc(33.333% - 1.5rem);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
  background: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}

/* Hover */
.aap-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ---------- CARD CONTENT ---------- */

.aap-post-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Featured image */
.aap-post-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Text */
.aap-post-content {
  padding: 1rem;
  flex-grow: 1;
}

.aap-post-title {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
}

.aap-post-date {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .aap-post-card {
    flex: 1 1 calc(50% - 1.5rem);
    max-width: calc(50% - 1.5rem);
  }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
  .aap-post-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .aap-author-meta {
    flex-direction: column;
    text-align: center;
  }
}
    h1, h2, h3 {
      line-height: 1.3;
    }

    section {
      padding: 1rem 1rem;
      background: #ffffff;
    }

    .container {
      max-width: 1100px;
      margin: auto;
    }

    /* HERO */
    .hero h1 {
      font-size: 2.1rem;
      font-weight: 700;
    }

    .hero p {
      font-size: 1.05rem;
      color: #334155;
    }

    .hero img {
      width: 100%;
      margin: 2.5rem 0;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    /* AUTHOR BOX */
.author-box {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: #f9fafb;
  padding: 2rem;
  border-radius: 14px;
  margin-top: 3rem;
}

.author-box img {
  width: 280px;
  height: 280px;
    border: 2px solid #e5e7eb;
  flex-shrink: 0; 
}

.author-meta {
  flex: 1;
}

.author-meta h3 {
  margin: 0;
  font-size: 1.4rem;
}

.author-meta .role {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #7c0000;
  font-weight: 600;
  margin: 0.5rem 0 1rem;
}

.author-meta p {
  margin: 0 0 1rem;
}

.author-links {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Mobile */
@media (max-width: 700px) {
  .author-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .author-meta .role {
    justify-content: center;
  }
}

    /* LISTS */
    ul {
      padding-left: 1rem;
    }

    li {
      margin-bottom: 5px!important;
    }

    /* RESPONSIVE */
    @media (max-width: 700px) {
     
      .author-box img {
        margin: auto;
      }
     
    }
@media (min-width: 993px) {
    .ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary {
        margin: 0 0!important;
        padding: 0;
    }
}
.aap-author-meta, .aap-author-name{display:none!important;}/* HERO HEADER */
.hero-banner {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
   background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Light overlay for legal / EEAT tone */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
}
@media (max-width: 700px) {
  .author-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
.author-meta {
  flex: 1;
}

.author-meta h3 {
  margin-top: 0;
}

  .author-meta .role {
    justify-content: center;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  padding: 2.5rem 2rem;
}

/* Name */
.hero-content h1 {
  font-size: 2.7rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

/* Breadcrumb credentials */
.credential-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #7c0000;
  margin-bottom: 1.2rem;
}

.credential-breadcrumb .divider {
  color: #94a3b8;
}

/* Subtitle */
.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #334155;
  margin: 0 auto;
  max-width: 860px;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .credential-breadcrumb {
    font-size: 0.85rem;
  }
}
.ast-separate-container .ast-separate-posts.ast-article-post {
    margin-bottom: 0.5em!important;
}

.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single, .ast-separate-container .comment-respond {
    padding: 1em!important;
}

.aap-post-content {
    padding: .8rem .2rem!important;
    flex-grow: 1!important;
}
/* =========================
   Author Page – Hero Layout
   ========================= */

.author-hero {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 2.5rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.author-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

/* Author Image */
.author-media img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Content Area */
.author-content {
  flex: 1;
}

/* Eyebrow */
.author-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

/* Name */
.author-content h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0.2rem 0 0.4rem;
}

/* Tagline */
.author-tagline {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 1rem;
}

/* Intro Text */
.author-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1f2937;
  margin-bottom: 1.2rem;
}

/* Credential List */
.author-cred-list {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
}

.author-cred-list li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: #374151;
}

/* Links */
.author-links {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.author-links a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.author-links a:hover {
  text-decoration: underline;
}

/* Updated Date */
.author-updated {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.3rem;
}

/* =========================
   Responsive Fixes
   ========================= */

@media (max-width: 768px) {
  .author-hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-media img {
    width: 140px;
    height: 140px;
  }

  .author-content h1 {
    font-size: 1.9rem;
  }

  .author-cred-list {
    padding-left: 0;
    list-style-position: inside;
  }
}
/* =========================
   Author Page – Content Fix
   Scope: Author archive page
   ========================= */

/* Limit width & improve rhythm */
.author-template-default .entry-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Headings */
.author-template-default .entry-content h2 {
  font-size: 1.6rem;
  line-height: 1.3;
  margin: 3rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.author-template-default .entry-content h3 {
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 2rem 0 0.8rem;
  color: #374151;
}

/* Paragraphs */
.author-template-default .entry-content p {
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
  color: #1f2937;
}

/* Unordered Lists */
.author-template-default .entry-content ul {
  margin: 0 0 1.6rem 1.2rem;
  padding-left: 1.2rem;
  list-style: disc!important;
}

.author-template-default .entry-content ul li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

/* Ordered Lists */
.author-template-default .entry-content ol {
  margin: 0 0 1.6rem 1.2rem;
  padding-left: 1.2rem;
}

.author-template-default .entry-content ol li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

/* Nested Lists */
.author-template-default .entry-content ul ul,
.author-template-default .entry-content ol ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Remove excessive left padding from theme */
.author-template-default .entry-content ul,
.author-template-default .entry-content ol {
  padding-left: 1.2rem !important;
}

/* Clean strong text */
.author-template-default .entry-content strong {
  font-weight: 600;
}

/* Fix link styles */
.author-template-default .entry-content a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.author-template-default .entry-content a:hover {
  text-decoration-thickness: 2px;
}

/* =========================
   Mobile Adjustments
   ========================= */

@media (max-width: 768px) {
  .author-template-default .entry-content {
    padding: 0 1rem;
  }

  .author-template-default .entry-content h2 {
    font-size: 1.4rem;
  }

  .author-template-default .entry-content h3 {
    font-size: 1.1rem;
  }
}

