:root {
  --navy: #0a1f5c;
  --blue: rgba(11, 94, 215, 1);
  --blue-light: #2d55e8;
  --blue-tag: #e8eeff;
  --blue-tag-text:rgba(11, 94, 215, 1);
  --text: #111827;
  --muted: #6b7280;
  --muted-light: #9ca3af;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --white: #ffffff;
  --radius: 12px;
}




/* ═══════════ LAYOUT ═══════════ */
.layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 48px 0;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

.main-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.side-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.byline-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    border-radius: 40px;
}
/* Article card */
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 36px 32px;
}

.art-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 12px;
  background: rgba(239, 246, 255, 1);
    padding: 4px 10px;
    border-radius: 10px;
}

.art-cat-badge svg {
  width: 13px;
  height: 13px;
  fill: var(--blue);
}

.art-title {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

.art-excerpt {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.art-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}

.byline-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.byline-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c7d2fe, #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.byline-avatar svg {
  width: 25px;
  height: 25px;
  fill: rgba(255, 255, 255, 0.9);
}

.byline-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.byline-meta {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.byline-meta svg {
  width: 12px;
  height: 12px;
  fill: var(--muted-light);
}

.byline-actions {
  display: flex;
  gap: 8px;
}

.byline-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.byline-btn:hover {
  border-color: var(--blue);
}

.byline-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--muted);
}

/* highlighted intro */
.art-intro {
  /* background: var(--blue-tag); */
  border-left: 4px solid rgba(11, 94, 215, 1);
  border-radius: 0 8px 8px 0;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.art-intro p {
  font-size: 14px;
  color: var(--blue-tag-text);
  line-height: 1.75;
  margin: 0;
}

.art-body h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 26px 0 12px;
}

.art-body h2:first-child {
  margin-top: 0;
}

.art-body p {
  font-size: 14px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 16px;
}

.art-body ul {
  list-style: none;
  margin: 0 0 16px;
}

.art-body ul li {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}

.art-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.art-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.art-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 20px;
}

.art-tag svg {
  width: 13px;
  height: 13px;
  fill: var(--muted-light);
}

/* About author */
.author-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 36px 28px;
}

.author-card h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
}

.author-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.author-block .a-avatar {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, #c7d2fe, #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-block .a-avatar svg {
  width: 34px;
  height: 34px;
  fill: rgba(255, 255, 255, 0.9);
}

.author-card .author-block .author-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  align-items: flex-start !important;
}

.author-info .a-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.author-info .a-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
}

.author-info .a-bio {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ═══════════ SIDEBAR ═══════════ */
.side-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.side-panel h3.side-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.related-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.related-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-item:first-of-type {
  padding-top: 0;
}

.related-thumb {
  width: 56px;
  height: 48px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-thumb svg {
  width: 28px;
  height: 26px;
  opacity: 0.45;
}

.rt-1 {
  background: linear-gradient(160deg, #4a2f12, #2d1b07);
}

.rt-1 svg {
  fill: #d4a96a;
}

.rt-2 {
  background: linear-gradient(160deg, #1f2937, #374151);
}

.rt-2 svg {
  fill: #9ca3af;
}

.rt-3 {
  background: linear-gradient(160deg, #3a2410, #5c3317);
}

.rt-3 svg {
  fill: #c9a86a;
}

.related-text .r-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
}

.related-text .r-title:hover {
  color: var(--blue);
}

.related-text .r-time {
  font-size: 12px;
  color: var(--muted-light);
}

/* Blue CTA box with bullets */
.cta-panel {
  background: linear-gradient(135deg, rgba(12, 85, 196, 1) 0%, rgba(11, 56, 134, 1) 100%);
  border-radius: var(--radius);
  padding: 24px;
}

.cta-panel h3 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
  line-height: 1.4;
}

.cta-bullets {
  list-style: none;
  margin-bottom: 16px;
}

.cta-bullets li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
  margin-bottom: 9px;
}

.cta-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}

.cta-desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  margin-bottom: 18px;
}

.cta-btn {
  display: block;
  width: 100%;
  background: white;
  color: var(--blue);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  padding: 12px;
  border-radius: 9px;
  text-decoration: none;
  transition: background 0.15s;
}

.cta-btn:hover {
  background: #f0f4ff;
}

/* Helpful Links */
.links-list {
  list-style: none;
}

.links-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  /* border-bottom: 1px solid var(--border); */
  font-size: 13.5px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}

.links-list li:last-child a {
  border-bottom: none;
  padding-bottom: 0;
}

.links-list li:first-child a {
  padding-top: 0;
}

.links-list li a:hover {
  color: var(--blue);
}

.links-list li a svg {
  width: 14px;
  height: 14px;
  fill: var(--muted-light);
}

/* Newsletter */
.newsletter h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
}

.newsletter label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  display: block;
  margin-bottom: 7px;
}

.newsletter .nl-input {
  position: relative;
}

.newsletter .nl-input svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  fill: var(--muted-light);
}

.newsletter input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 11px 12px 11px 36px;
  font-size: 13.5px;
  font-family: "Outfit", sans-serif;
  outline: none;
  transition: border 0.15s;
}

.newsletter input:focus {
  border-color: var(--blue);
}

/* ═══════════ FIND LAWYER CTA BANNER ═══════════ */
.find-cta {
  max-width: 1200px;
  margin: 40px auto 60px;
  padding: 0 48px;
}

.find-cta-inner {
  background: linear-gradient(120deg, #0a1f5c 0%, #11286e 45%, #1a3ecf 100%);
  border-radius: 16px;
  padding: 36px 40px;
}

.find-cta-inner h2 {
  font-size: 23px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.find-cta-inner p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

section {
  max-width: 1600px !important;
}

/* ═══════════ RESPONSIVE 1024 ═══════════ */
@media (max-width: 1024px) {

  .layout {
    padding: 24px 28px 0;
    grid-template-columns: 1fr 300px;
    gap: 22px;
  }

  .article-card {
    padding: 26px 28px 28px;
  }

  .find-cta {
    padding: 0 28px;
  }

}

/* ═══════════ RESPONSIVE 768 ═══════════ */
@media (max-width: 768px) {


  /* single column, sidebar below */
  .layout {
    grid-template-columns: 1fr;
    padding: 22px 20px 0;
    gap: 18px;
  }

  .art-title {
    font-size: 22px;
  }

  .article-card {
    padding: 22px 22px 26px;
  }

  .author-card {
    padding: 22px 22px;
  }

  .find-cta {
    padding: 0 20px;
    margin: 32px auto 40px;
  }

  .find-cta-inner {
    padding: 26px 22px;
  }

  .find-cta-inner h2 {
    font-size: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  footer {
    padding: 36px 20px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ═══════════ RESPONSIVE 480 ═══════════ */
@media (max-width: 480px) {
  .art-title {
    font-size: 20px;
  }

  .art-body h2 {
    font-size: 17px;
  }

  .byline-actions {
    order: 2;
  }

  .author-block {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}