/* Blog Xpert Drive – stiluri suplimentare peste tema site-ului */
.xd-blog-section { padding: 90px 0 70px; }

/* titlu articol in banner (titlurile lungi nu incap la 66px) */
.page-title.xd-article-title h1 { font-size: 44px; line-height: 1.2; max-width: 900px; margin-left: auto; margin-right: auto; }
@media (max-width: 767px) {
  .page-title { padding: 70px 0; }
  .page-title.xd-article-title h1 { font-size: 28px; }
  .xd-blog-section { padding: 50px 0 40px; }
}

/* carduri lista */
.xd-card .image { margin-bottom: 25px; }
.xd-card .image img { aspect-ratio: 360 / 220; object-fit: cover; }
.xd-card .post-meta-info { margin-bottom: 18px; }
.xd-card h4 { margin-bottom: 15px; font-size: 22px; line-height: 30px; }
.xd-card .text { margin-bottom: 25px; }

/* meta articol */
.xd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 25px; color: #555; font-size: 15px; }
.xd-meta i { color: #ec2526; margin-right: 4px; }
.xd-cat { background: #ec2526; color: #fff; padding: 5px 16px; border-radius: 2px; font-weight: 600; text-transform: uppercase; font-size: 14px; }
.xd-cover { margin: 0 0 35px; }
.xd-cover img { width: 100%; height: auto; display: block; }

/* corpul articolului */
.xd-body { font-size: 18px; line-height: 1.75; color: #444; }
.xd-body p { margin: 0 0 22px; }
.xd-body h2 { font-size: 30px; font-weight: 700; margin: 45px 0 18px; color: #222; line-height: 1.25; }
.xd-body h3 { font-size: 23px; font-weight: 700; margin: 32px 0 14px; color: #222; }
.xd-body ul, .xd-body ol { margin: 0 0 24px; padding-left: 0; list-style: none; }
.xd-body ol { counter-reset: xd; }
.xd-body li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.xd-body ul li:before { content: ""; position: absolute; left: 6px; top: 12px; width: 10px; height: 10px; background: #ec2526; border-radius: 50%; }
.xd-body ol li { counter-increment: xd; }
.xd-body ol li:before { content: counter(xd); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #ec2526; color: #fff; font-size: 14px; font-weight: 700; line-height: 24px; text-align: center; }
.xd-body a { color: #ec2526; text-decoration: underline; text-underline-offset: 3px; }
.xd-body a:hover { color: #222; }
.xd-body strong { color: #222; }
.xd-body img { max-width: 100%; height: auto; margin: 10px 0 25px; }
.xd-body blockquote, .xd-note { border-left: 4px solid #ec2526; background: #f6f6f6; padding: 20px 25px; margin: 0 0 25px; font-size: 17px; }
.xd-body table { width: 100%; border-collapse: collapse; margin: 0 0 25px; font-size: 16px; }
.xd-body th, .xd-body td { border: 1px solid #e3e3e3; padding: 10px 14px; text-align: left; }
.xd-body th { background: #222; color: #fff; font-weight: 600; }
.xd-body tr:nth-child(even) td { background: #fafafa; }
@media (max-width: 767px) { .xd-body { font-size: 17px; } .xd-body h2 { font-size: 25px; } }

/* call to action la final */
.xd-cta { background: #222 url(../assets/images/background/bg-1.jpg) center/cover; background-blend-mode: multiply; color: #fff; padding: 35px 35px 30px; margin: 40px 0 25px; }
.xd-cta h3 { color: #fff; font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.xd-cta p { color: #ddd; margin-bottom: 20px; }
.xd-cta-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 30px; }
.xd-cta .theme-btn, .xd-card .theme-btn { text-transform: none; }
.xd-cta .xd-phone { color: #fff; font-size: 22px; font-weight: 700; }
.xd-cta .xd-phone i { color: #ec2526; margin-right: 6px; }
.xd-back a { font-weight: 600; }

/* sidebar */
.xd-sidebar { position: sticky; top: 110px; }
.xd-widget { background: #f6f6f6; padding: 28px 28px 22px; margin-bottom: 30px; }
.xd-widget h4 { font-size: 21px; font-weight: 700; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid #ec2526; display: inline-block; }
.xd-widget-red { background: #ec2526; color: #fff; }
.xd-widget-red h4 { color: #fff; border-bottom-color: #fff; }
.xd-widget-red p { color: #fff; margin-bottom: 15px; }
.xd-big-phone { display: block; color: #fff; font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.xd-big-phone:hover { color: #222; }
.xd-wa { display: inline-block; background: #fff; color: #222; padding: 8px 18px; font-weight: 600; border-radius: 2px; }
.xd-wa i { color: #25d366; }
.xd-recent { list-style: none; padding: 0; margin: 0; }
.xd-recent li { padding: 10px 0; border-bottom: 1px solid #e3e3e3; line-height: 1.4; }
.xd-recent li:last-child { border-bottom: 0; }
.xd-recent a { color: #222; font-weight: 600; display: block; }
.xd-recent a:hover { color: #ec2526; }
.xd-recent span { font-size: 14px; color: #888; }
.xd-links { list-style: none; padding: 0; margin: 0; }
.xd-links li { border-bottom: 1px solid #e3e3e3; }
.xd-links li:last-child { border-bottom: 0; }
.xd-links a { display: flex; justify-content: space-between; padding: 9px 0; color: #222; }
.xd-links a:hover { color: #ec2526; }
.xd-links b { color: #ec2526; }
@media (max-width: 991px) { .xd-sidebar { position: static; margin-top: 40px; } }
