/* ============================================================
   CarrierSource Blog — Child CSS (Listicle Styles)
   Updated: 2026-04-06
   ============================================================ */

/* ---------- Layout: Blog Wrapper + TOC ---------- */
.blogWrapper {
  display: flex;
  gap: 40px;
}

/* ---------- Table of Contents ---------- */
.toc {
  align-self: flex-start;
  flex: 0 0 auto;
  font-size: 13px;
  position: sticky;
  top: 80px;
  width: 240px;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 20px 24px;
}
.toc-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0b1110;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8eaed;
}
.toc ul {
  list-style-type: none;
  padding: 0;
}
.toc li {
  margin: 6px 0 0;
}
.toc a {
  color: #5a6068;
  line-height: 1.5;
  display: block;
  transition: color 0.15s;
}
.toc a:hover {
  color: #2b8fd9;
}

/* ---------- Blog Content: Typography ---------- */
.blogContent {
  min-width: 0;
}
.blogContent > p {
  font-weight: 400;
}
.blogContent h2 {
  font-size: 22px;
  font-weight: 600;
  color: #0b1110;
  margin-top: 0;
  line-height: 1.3;
}

/* ---------- Carrier Card ---------- */
.carrier-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  transition: box-shadow 0.2s;
}
.carrier-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.carrier-card h2 {
  margin-top: 0;
}
.carrier-card .carrier-rank {
  color: #2b8fd9;
}

/* ---------- Carrier Header (with logo) ---------- */
.carrier-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
.carrier-logo-wrapper {
  align-items: center;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  display: flex;
  float: none;
  height: 72px;
  width: 72px;
  min-width: 72px;
  justify-content: center;
  margin-bottom: 0;
  margin-right: 0;
  overflow: hidden;
  background: #fff;
}
.carrier-logo {
  max-height: 60px;
  max-width: 60px;
  object-fit: contain;
}
.carrier-header blockquote {
  overflow: hidden;
}
.carrier-header blockquote p {
  margin-bottom: 0;
}
.carrier-header h2 {
  margin-top: 0;
}

/* ---------- Blockquote / Review Quote ---------- */
.blogContent blockquote {
  background: #f4f8fc;
  border-left: 4px solid #2b8fd9;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 0 0 24px 0;
}
.blogContent blockquote p {
  font-size: 15px;
  line-height: 1.6;
  color: #4a5060;
  margin-bottom: 0;
}

/* ---------- Quick Table (Carrier Data) ---------- */
.quickTable {
  width: 100%;
  float: none;
  margin-left: 0;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 24px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.quickTable td {
  padding: 10px 16px;
  border: none;
  border-bottom: 1px solid #f0f1f3;
}
.quickTable td:first-child {
  font-weight: 500;
  color: #5a6068;
  background: #fafbfc;
  width: 160px;
}
.quickTable td:last-child {
  color: #0b1110;
}
.quickTable tr:last-child td {
  border-bottom: none;
}

/* ---------- Editorial (What stands out / Best for) ---------- */
.carrier-card .editorial p,
.carrier-card p {
  font-size: 15px;
  margin-bottom: 12px;
}
.carrier-card p strong {
  color: #0b1110;
}

/* ---------- HR (remove inside cards, keep between intro/sections) ---------- */
.carrier-card hr {
  display: none;
}
.blogContent > hr {
  border: none;
  height: 1px;
  background: #e8eaed;
  margin: 32px 0;
}

/* ---------- Terminal Carriers ---------- */
.terminalCarriers {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}
.terminalCarriers h2 {
  margin-top: 0;
}
.terminalCarriers > p {
  color: #5a6068;
  font-size: 14px;
}
.terminalTable {
  width: 100%;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  font-size: 14px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.terminalTable th {
  background: #f4f8fc;
  border: none;
  border-bottom: 2px solid #e8eaed;
  text-align: left;
  white-space: nowrap;
  font-weight: 600;
  color: #3a3f47;
  font-size: 13px;
  padding: 12px 16px;
}
.terminalTable td {
  padding: 12px 16px;
  border: none;
  border-bottom: 1px solid #f0f1f3;
  vertical-align: top;
}
.terminalTable td:first-child a {
  font-weight: 500;
}
.terminalTable tr:last-child td {
  border-bottom: none;
}
.terminalTable tr:hover td {
  background: #fafbfc;
}

/* ---------- Methodology ---------- */
.blogContent h2#how-i-picked-these-carriers,
.blogContent .methodology h2 {
  font-size: 22px;
}

/* ---------- FAQ Section ---------- */
.faqs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faqs details {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  overflow: hidden;
}
.faqs details summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 16px;
  color: #0b1110;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faqs details summary::-webkit-details-marker {
  display: none;
}
.faqs details summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: #8a8f96;
  flex-shrink: 0;
  margin-left: 16px;
}
.faqs details[open] summary::after {
  content: '\2212';
}
.faqs details .faq-answer,
.faqs details p {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #3a3f47;
  margin: 0; 
}
/* Fallback: if FAQ still uses h3/p structure (old articles) */
.faqs h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0b1110;
  margin-bottom: 8px;
  margin-top: 20px;
}
.faqs h3:first-child {
  margin-top: 0;
}
.faqs > p {
  font-size: 15px;
  padding: 0;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, #f4f8fc 0%, #eef3fb 100%);
  border: 1px solid #d6e4f0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  text-align: center;
  margin-top: 24px;
}
.cta-section h2 {
  margin-top: 0;
}
.cta-section p {`
  color: #5a6068;
  font-size: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.15s;
  text-decoration: none;
}
.cta-btn.primary {
  background: #2b8fd9;
  color: #fff;
}
.cta-btn.primary:hover {
  background: #1a6fb5;
  text-decoration: none;
}
.cta-btn.secondary {
  background: #fff;
  color: #2b8fd9;
  border: 1px solid #d6e4f0;
}
.cta-btn.secondary:hover {
  background: #f4f8fc;
  text-decoration: none;
}

/* ---------- Author Bio (bottom of article) ---------- */
.author-bio-wrapper {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
}
.author-bio__image {
  border-radius: 50%;
  object-fit: cover;
}
.author-bio__name {
  font-weight: 600;
  color: #0b1110;
  font-size: 16px;
}
.author-bio__description {
  margin-top: 8px;
  font-size: 14px;
  color: #5a6068;
  line-height: 1.6;
}
.bottom-article-content {
  margin-left: 284px;
}
.bottom-article-content hr {
  margin-bottom: 30px;
}

/* ---------- Tags ---------- */
.blog-post__tags {
  margin-top: 20px;
}
.blog-post__tag-link {
  font-size: 13px;
  padding: 5px 14px;
  background: #f0f1f3;
  color: #5a6068;
  border-radius: 20px;
  text-decoration: none;
  display: inline-block;
  margin: 4px 4px 4px 0;
  transition: background 0.15s;
}
.blog-post__tag-link:hover {
  background: #e8eaed;
}

/* ============================================================  
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  .blogWrapper {
    flex-direction: column;
    gap: 24px;
  }
  .toc {
    align-self: auto;
    position: static;
    width: 100%;
  }
  .quickTable {
    float: none;
    margin-left: 0;
  }
  .carrier-card {
    padding: 20px;
  }
  .carrier-header {
    flex-direction: column;
    gap: 12px;
  }
  .carrier-logo-wrapper {
    float: none;
    margin-right: 0;
  }
  .terminalCarriers {
    padding: 20px;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .bottom-article-content {
    margin-left: 0;
  }
  .author-bio-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}