                                                                                                                                                                               /*
Theme Name: Lawyer Theme - Персидський Владислав
Theme URI: https://example.com
Author: Developer
Description: Професійна тема для сайту адвоката
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: lawyer-theme
*/

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'EB Garamond', serif;
  
  --primary: #373a40;
  --primary-foreground: #f8fafc;
  --secondary: #334155;
  --accent: #E31625;
  --accent-foreground: #0f172a;
  --background: #ffffff;
  --foreground: #373a40;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: #e31625;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: #e90c1c;
  transition: color 0.3s ease;
}

.main-nav__list{
  display:flex;
  gap:24px;
  align-items:center;
  list-style:none;
  margin:0;
  padding:0;
}

.main-nav__list > li { margin:0; padding:0; }
.main-nav__list a { text-decoration:none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 14px;
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background-color: #e31625;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}

.btn-outline:hover {
  background-color: rgba(255,255,255,0.1);
}

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  line-height: 1;
}

.logo-subtitle {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d1d5db;
}

.site-header.scrolled .logo-title {
  color: var(--primary);
}

.site-header.scrolled .logo-subtitle {
  color: var(--muted-foreground);
}

.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #e5e7eb;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a:hover::after {
  width: 100%;
}
.main-nav.is-open {
  display: flex;
}

.site-header.scrolled .main-nav a {
  color: #374151;
}

.header-actions {
  display: none;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .desktop-phone-link,
  .mobile-phone-link {
    display: none;
  }
}

.mobile-toggle {
  display: flex;
  padding: 8px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.site-header.scrolled .mobile-toggle {
  color: var(--primary);
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}
@media (max-width: 1023px) {
    .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .header-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .mobile-phone-link {
    display: block;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.9;
  }
  .desktop-phone-link {
    display: none;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--primary);
    padding: 16px 24px;
    z-index: 50;
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav a {
    padding: 12px 0;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero-consultation-button {
    display: inline-flex;
  }
  .hero-mobile-phone {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.9;
    margin-top: -4px;
  }
}
@media (min-width: 1024px) {
  .hero-mobile-phone {
    display: none;
  }
}

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  background-color: var(--primary);
  color: #fff;
  display: flex;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-inner {
    flex-direction: row;
  }
}

.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 120px 24px 48px;
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 0 48px 0 80px;
  }
}

.hero-text {
  max-width: 760px;
}

.hero-label {
  color: #fff;
  font-size: 48px;
  font: EB Garamond, serif;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin: 8px 0 32px;
  text-align: center;
      line-height: 1.1;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
}

.hero-quote {
  font-size: 20px;
  color: #E31625;
  font-style: italic;
  margin-bottom: 40px;
  line-height: 1.6;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
  justify-content: space-around;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  justify-content: space-around;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 46px;
  font-weight: 700;
  color: fff;
  font-family: Inter;
}

.stat-label {
  font-size: 12px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-accent {
  color: var(--accent);
}
@media (min-width: 380px) {
    .hero-stats {
  gap: 10px;
    }
    
.hero-image {
  flex: 1;
  position: relative;
  min-height: 400px;
}

@media (min-width: 1024px) {
  .hero-image {
    min-height: auto;
  }
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--primary) 0%, transparent 50%);
}

@media (min-width: 1024px) {
  .hero-image-overlay {
    background: linear-gradient(to right, var(--primary) 0%, transparent 30%);
  }
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 80px 0;
}

.section-dark {
  background-color: var(--primary);
  color: #fff;
}

.section-gray {
  background-color: var(--muted);
}

.section-header {
  margin-bottom: 48px;
}

.section-header.centered {
  text-align: center;
}

.section-title {
  font-size: 36px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 48px;
  }
}

.section-dark .section-title {
  color: #fff;
}

/* ==================== ABOUT ==================== */
.about-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-card {
  height: 256px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.about-card-dark {
  background-color: var(--primary);
  color: #fff;
}

.about-card-light {
  background-color: #fff;
  border: 1px solid #f3f4f6;
}

.about-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  opacity: 0.8;
}

.about-card-dark .about-card-icon {
  color: var(--accent);
}

.about-card-light .about-card-icon {
  color: var(--primary);
}

.about-card-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.about-card-dark .about-card-title {
  color: #fff;
}

.about-card-text {
  font-size: 14px;
  opacity: 0.7;
}

/* New About Layout (Two-Column) */
.about-layout {
  display: grid;
  gap: 48px;
}

@media (min-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.about-bio {
  max-width: 600px;
  text-align: justify;
}

.about-bio p {
  font-size: 20px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 20px;
}

.about-bio strong {
  color: var(--primary);
  font-weight: 600;
}

.about-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.about-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  transition: box-shadow 0.3s ease;
}

.about-badge:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.about-badge svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.badge-title {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 2px;
}

.badge-text {
  display: block;
  font-size: 13px;
  color: var(--muted-foreground);
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-card-new {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.about-card-new:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.about-card-accent {
  background-color: #e31625;
  border-color: #e31625;
}

.about-card-light {
  background-color: #fff;
  border-color: var(--border);
}

.about-card-icon-new {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: #fff;
}

.about-card-light .about-card-icon-new {
  color: #e31625;
}

.about-card-title-new {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

.about-card-accent .about-card-title-new {
  color: #fff;
}

.about-card-text-new {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.about-card-accent .about-card-text-new {
  color: #fff;
}

.about-card-light .about-card-title-new {
  color: var(--primary);
}

.about-card-light .about-card-text-new {
  color: var(--muted-foreground);
}

/* ==================== CERTIFICATES ==================== */
.certificates-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.certificate-card {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  max-width: 288px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.certificate-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.certificate-image {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-image svg {
  width: 64px;
  height: 64px;
  color: var(--accent);
  opacity: 0.5;
}

.certificate-title {
  font-size: 14px;
  color: var(--muted-foreground);
}

.certificates-note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted-foreground);
}

/* ==================== SERVICES ==================== */
.section-light {
  background-color: #fff;
}

.section-subtitle {
  font-size: 18px;
  color: var(--muted-foreground);
  margin-top: 8px;
}

.services-grid {
  display: grid;
  gap: 24px;
}

.service-hidden {
  display: none;
}

.services-toggle {
  margin-top: 48px;
  text-align: center;
}

.btn-outline-dark {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: #e31625;
  border: 1px solid #e31625;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  background: var(--muted);
  border-color: #e31625;
}

/* Light service cards */
.service-card-light {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.service-card-light:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.service-icon-wrapper {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;   /* центрируем сам wrapper */
  display: flex;         /* центрируем содержимое */
  align-items: center;
  justify-content: center;
}

.service-icon-light {
  width: 48px;
  height: 48px;
  color: var(--accent);
}

.service-title-light {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  text-align: center;
}

.service-text-light {
  font-size: 20px;
  color: #333;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}

.service-card:hover {
  background-color: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 16px;
}

.service-title {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}

.service-text {
  font-size: 14px;
  color: #9ca3af;
}

/* ==================== HOW WE WORK ==================== */
.how-we-work {
  position: relative;
  overflow: hidden;
}

.how-we-work-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.how-we-work-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.85);
}

.how-we-work-content {
  position: relative;
  z-index: 10;
}

.steps-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-item {
  text-align: center;
}

.step-number {
  font-size: 64px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.step-text {
  font-size: 14px;
  color: #d1d5db;
  line-height: 1.6;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  fill: var(--accent);
}

.testimonial-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

/* ==================== CONTACT ==================== */
.contact-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-list svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-form {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--foreground);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-sans);
  transition: border-color 0.3s ease;
  background-color: #f9fafb;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-textarea {
  min-height: 120px;
  resize: none;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background-color: #373a40;
  color: #fff;
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  gap: 48px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand-icon {
  background-color: var(--accent);
  padding: 6px;
  border-radius: 6px;
  display: flex;
}

.footer-brand-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
}

.footer-description {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.6;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: #9ca3af;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span,
.footer-contact-item a {
  font-size: 14px;
  color: #9ca3af;
}

.footer-hours {
  list-style: none;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ==================== BLOG CARDS (Home Page) ==================== */
.section-subtitle {
  font-size: 18px;
  color: var(--muted-foreground);
  margin-top: -8px;
}

.blog-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.blog-card-image {
  display: block;
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: var(--muted);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.blog-card-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
  opacity: 0.4;
}

.blog-card-content {
  padding: 24px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.blog-card-date {
  font-size: 12px;
  color: var(--muted-foreground);
}

.blog-card-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  background-color: rgba(201, 162, 39, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
}

.blog-card-title {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.blog-card-title a {
  color: var(--primary);
}

.blog-card-title a:hover {
  color: var(--accent);
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.blog-card-link:hover {
  color: #b8931f;
}

.blog-card-link svg {
  transition: transform 0.3s ease;
}

.blog-card-link:hover svg {
  transform: translateX(4px);
}

.blog-more {
  text-align: center;
  margin-top: 48px;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background-color: transparent;
  border: 2px solid #e31625;
  color: #e31625;
  font-weight: 600;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  background-color: #e31625;
  color: #fff;
}

/* ==================== BLOG ARCHIVE (LAWYER THEME STYLE) ==================== */
.blog-section .blog-archive-grid {
  display: grid !important;
  gap: 30px !important;
  grid-template-columns: repeat(1, 1fr) !important;
  padding: 40px 0 !important;
}

@media (min-width: 768px) {
  .blog-section .blog-archive-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  .blog-section .blog-archive-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.blog-section .blog-card-lawyer {
  background: #fff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid #f1f5f9 !important;
  text-align: left !important;
}

.blog-section .blog-card-lawyer:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.blog-section .blog-card-image-wrap {
  position: relative !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
}

.blog-section .blog-card-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
}

.blog-section .blog-card-lawyer:hover .blog-card-image-wrap img {
  transform: scale(1.05) !important;
}

.blog-section .blog-card-date-badge {
  position: absolute !important;
  top: 15px !important;
  left: 15px !important;
  background: var(--accent) !important;
  color: var(--primary) !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  text-align: center !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
  z-index: 2 !important;
}

.blog-section .blog-card-date-badge .day {
  display: block !important;
  font-size: 18px !important;
}

.blog-section .blog-card-date-badge .month {
  display: block !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  margin-top: 2px !important;
}

.blog-section .blog-card-body {
  padding: 20px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.blog-section .blog-card-category-link {
  display: inline-block !important;
  font-size: 12px !important;
  color: var(--accent) !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 10px !important;
  text-decoration: none !important;
}

.blog-section .blog-card-title-lawyer {
  font-size: 20px !important;
  line-height: 1.4 !important;
  margin-bottom: 12px !important;
  font-weight: 700 !important;
  font-family: var(--font-serif) !important;
}

.blog-section .blog-card-title-lawyer a {
  color: var(--primary) !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.blog-section .blog-card-title-lawyer a:hover {
  color: var(--accent) !important;
}

.blog-section .blog-card-excerpt-lawyer {
  font-size: 14px !important;
  color: var(--muted-foreground) !important;
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
  flex: 1 !important;
}

.blog-section .blog-card-footer-lawyer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 15px !important;
  border-top: 1px solid #f1f5f9 !important;
}

.blog-section .blog-card-stats {
  display: flex !important;
  gap: 15px !important;
}

.blog-section .blog-card-stats .stat-item {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 12px !important;
  color: #94a3b8 !important;
}

.blog-section .blog-card-readmore {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--primary) !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: color 0.3s ease !important;
}

.blog-section .blog-card-readmore:hover {
  color: var(--accent) !important;
}

/* ==================== PAGE HEADER (Blog Archive) ==================== */
.page-header {
  background-color: var(--primary);
  padding: 140px 0 60px;
}

.page-header-content {
  max-width: 800px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: #9ca3af;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumb-separator {
  color: #4b5563;
}

.breadcrumbs span:last-child {
  color: #d1d5db;
}

.page-title {
  font-size: 48px;
  color: #fff;
  margin-bottom: 16px;
}

.page-subtitle {
  font-size: 18px;
  color: #9ca3af;
}
.footer-messengers{display:flex;gap:10px;align-items:center}
.footer-messengers a{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center
      
  }
/* ==================== BLOG CATEGORIES ==================== */
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.category-tag {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-foreground);
  background-color: var(--muted);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.category-tag:hover {
  background-color: var(--primary);
  color: #fff;
}

.category-tag.active {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* ==================== BLOG ARCHIVE GRID ==================== */
.blog-section {
  padding-top: 60px;
}

.blog-archive-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .blog-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .blog-archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-archive-card {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-archive-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.blog-archive-image {
  display: block;
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--muted);
}

.blog-archive-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-archive-card:hover .blog-archive-image img {
  transform: scale(1.05);
}

.blog-archive-content {
  padding: 28px;
}

.blog-archive-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.blog-archive-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted-foreground);
}

.blog-archive-date svg {
  opacity: 0.6;
}

.blog-archive-category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  background-color: rgba(201, 162, 39, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.blog-archive-title {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.blog-archive-title a {
  color: var(--primary);
}

.blog-archive-title a:hover {
  color: var(--accent);
}

.blog-archive-excerpt {
  font-size: 15px;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-archive-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.blog-archive-link:hover {
  color: #b8931f;
}

.blog-archive-link svg {
  transition: transform 0.3s ease;
}

.blog-archive-link:hover svg {
  transform: translateX(4px);
}

/* No Posts */
.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
}

.no-posts svg {
  color: var(--muted-foreground);
  opacity: 0.3;
  margin-bottom: 24px;
}

.no-posts h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.no-posts p {
  color: var(--muted-foreground);
}

/* ==================== BLOG PAGINATION ==================== */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 64px;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.blog-pagination a {
  color: var(--foreground);
  background-color: #fff;
  border: 1px solid var(--border);
}

.blog-pagination a:hover {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.blog-pagination .current {
  background-color: var(--accent);
  color: var(--accent-foreground);
  border: 1px solid var(--accent);
}

.blog-pagination .prev,
.blog-pagination .next {
  gap: 8px;
}

/* ==================== SINGLE ARTICLE ==================== */
.article-header {
  background-color: var(--primary);
  padding: 80px 0 40px;
}

.article-header-content {
  max-width: 900px;
}

.article-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.article-category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-foreground);
  background-color: var(--accent);
  padding: 6px 12px;
  border-radius: 4px;
}

.article-date,
.article-reading-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #9ca3af;
}

.article-title {
  font-size: 40px;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .article-title {
    font-size: 52px;
  }
}

.article-excerpt {
  font-size: 20px;
  color: #d1d5db;
  line-height: 1.6;
}

/* Featured Image */
.article-featured-image {
  margin-top: -40px;
  padding-bottom: 40px;
}

.article-image-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.article-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article Layout */
.article-section {
  padding: 60px 0 80px;
}

.article-layout {
  display: grid;
  gap: 48px;
}

@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: 280px 1fr;
  }
}

/* Article Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

@media (max-width: 1023px) {
  .article-sidebar {
    display: none;
  }
}

.article-toc {
  background-color: var(--muted);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.toc-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--primary);
}

.toc-list {
  list-style: none;
}

.toc-item {
  margin-bottom: 8px;
}

.toc-item a {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.5;
  display: block;
  padding: 4px 0;
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -12px;
  transition: all 0.3s ease;
}

.toc-item a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
}

.toc-h3 {
  padding-left: 16px;
}

.toc-h3 a {
  font-size: 13px;
}

/* Share Buttons */
.article-share {
  background-color: var(--muted);
  border-radius: 12px;
  padding: 24px;
}

.share-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--primary);
}

.share-buttons {
  display: flex;
  gap: 12px;
}

.share-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-facebook {
  background-color: #1877f2;
  color: #fff;
}

.share-facebook:hover {
  background-color: #0d65d9;
}

.share-telegram {
  background-color: #0088cc;
  color: #fff;
}

.share-telegram:hover {
  background-color: #006da3;
}

.share-copy {
  background-color: #fff;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
}

.share-copy:hover {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Article Content */
.article-content {
  max-width: 800px;
}

.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: #374151;
}

.article-body h2 {
  font-size: 32px;
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--primary);
}

.article-body h3 {
  font-size: 24px;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--primary);
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  background-color: var(--muted);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--secondary);
}

.article-body img {
  border-radius: 12px;
  margin: 32px 0;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
}

.article-body a:hover {
  color: #b8931f;
}

/* Article Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.tags-label {
  font-weight: 600;
  color: var(--primary);
}

.tag-item {
  font-size: 13px;
  color: var(--muted-foreground);
  background-color: var(--muted);
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.tag-item:hover {
  background-color: var(--primary);
  color: #fff;
}

/* Author Box */
.author-box {
  display: flex;
  gap: 20px;
  margin-top: 48px;
  padding: 32px;
  background-color: var(--muted);
  border-radius: 16px;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted-foreground);
}

.author-name {
  font-size: 20px;
  margin: 4px 0 8px;
  color: var(--primary);
}

.author-bio {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Related Posts */
.related-posts {
  margin-top: 0;
}
