 /*
Theme Name: Astra Child
Theme URI: http://example.com/
Description: Astra Child Theme
Author: Your Name
Author URI: http://example.com/
Template: astra
Version: 1.0.0
*/

body {
  background: #f9f9f9;
}

.avocat-page {
  padding: 60px 0;
}

.avocat-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr; /* main content wider than sidebar */

gap: 56px;
  align-items: flex-start;
}

/* MAIN CARD */

.avocat-main {
  background: #ffffff;
  border-radius: 28px;
  padding: 42px 44px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

/* HEADER */

.avocat-header {
  display: flex;
  justify-content: space-between;
  gap: 36px;
}

.header-left-group {
  display: flex;
  gap: 22px;
}

/* AVATAR */

.avocat-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
}

.avocat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* IDENTITY */

.avocat-identite {
  max-width: 520px;
}

.avocat-nom {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #0f172a;
}

.avocat-job-title {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 10px;
}

/* SPECIALITY TAG */

.avocat-specialites-tags {
  margin-bottom: 12px;
}

.avocat-specialites-tags .tag {
  display: inline-block;
  background: #eef2ff;
  color: #4338ca;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

/* CONTACT */

.contact-info {
  font-size: 14px;
  color: #374151;
  margin-bottom: 18px;
}

.contact-info p {
  margin: 2px 0;
}

/* SECTIONS */

.avocat-section {
  margin-top: 18px;
}

.avocat-section-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #0f172a;
}

/* PRESENTATION TEXT */

.avocat-excerpt {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
}

/* LANGUAGES */

.avocat-langues {
  margin-top: 22px;
  font-size: 15px;
  color: #0f172a;
}

.avocat-langues strong {
  font-weight: 700;
}

.langue-tag {
  font-weight: 500;
  margin-left: 8px;
  color: #475569;
}

/* QR */

.avocat-qr img {
  width: 90px;
  background: #fff;
  padding: 8px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* DIVIDER */

.section-divider {
  margin: 42px 0;
  border: none;
  height: 1px;
  background: #e5e7eb;
}

/* SIDEBAR */

.avocat-sidebar {
  background: #f7f8fd;
  border-radius: 28px;
  padding: 32px;
}

/* JOIN BOX */

.rejoindre-box {
  background: #C6B9E1;
  border-radius: 22px;
  padding: 26px;
  text-align: center;
}

.rejoindre-box .box-sub {
  font-size: 14px;
  color: #000;
}

.rejoindre-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 10px;
}

/* ARTICLES */

.articles-recents {
  margin-top: 36px;
}

.articles-recents h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

/* ARTICLE CARD */

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.article-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform .2s ease;
}

.article-card:hover {
  transform: translateY(-3px);
}

.article-thumb {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
}

.article-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.article-meta h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.article-meta p {
  font-size: 13px;
  color: #64748b;
}

.arrow-link {
  float: right;
  opacity: .6;
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .avocat-layout {
    grid-template-columns: 1fr;
  }

  .avocat-sidebar {
    margin-top: 40px;
  }

  .avocat-header {
    flex-direction: column;
  }

  .avocat-qr {
    margin-top: 20px;
  }
}
/*listing lawyers */ 
/* Overall layout */
.lawyers-layout {
  display: grid;
  grid-template-columns: 280px 1fr; /* Sidebar + main content */
  gap: 40px;
  align-items: start;
  margin: 40px 0;
}

/* Sidebar */
.lawyers-sidebar {
  background: #f7f8fd;
  padding: 20px;
  border-radius: 20px;
}

.lawyers-filter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.lawyers-filter-form input,
.lawyers-filter-form select,
.lawyers-filter-form button,
.lawyers-filter-form .reset-btn {
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.lawyers-filter-form button {
  background: #43386e;
  color: #fff;
  border: none;
  cursor: pointer;
}

.lawyers-filter-form .reset-btn {
  text-decoration: none;
  color: #43386e;
  margin-top: 5px;
}

/* Lawyers grid */
.lawyers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
  gap: 30px;
}

/* Lawyer card */
.lawyer-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.lawyer-card .avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #FAC02D;
}

.lawyer-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lawyer-name {
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0 4px;
}

.lawyer-job {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.lawyer-tags {
  margin: 10px 0;
}

.lawyer-tags .tag {
  display: inline-block;
  background: #e0e0e0;
  color: #333;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin: 2px;
}

.book-btn {
  display: inline-block;
  background: #43386e;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 991px) {
  .lawyers-layout {
    grid-template-columns: 1fr;
  }
  .lawyers-grid {
    grid-template-columns: 1fr;
  }
}
