/* ═══════════════════════════════════════════════════════════════
   DUBAILUX BLOG — visual system based on luxurycarrepairing.com
   ═══════════════════════════════════════════════════════════════ */

/* ── Layout ─────────────────────────────────────────────────── */
.blog-article     { padding: 50px 0 90px; background: #fff; }
.blog-container   { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ── Breadcrumbs ─────────────────────────────────────────────── */
.breadcrumbs {
  font-size: 13px; color: #999; margin-bottom: 28px;
  display: flex; align-items: center; gap: 6px;
}
.breadcrumbs a     { color: #999; text-decoration: none; }
.breadcrumbs a:hover { color: #c4952a; }
.breadcrumbs span  { color: #ccc; }

/* ── Article header ──────────────────────────────────────────── */
.article-category-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #c4952a;
  margin-bottom: 12px;
}
.article-header h1 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2; font-weight: 700;
  color: #111; margin: 0 0 24px;
}

/* ── Author box (top) ────────────────────────────────────────── */
/* Matches the card from screenshot 2 */
.author-box-top {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  border: 1px solid #e8e4dc;
  border-radius: 6px;
  background: #fdfcfa;
  margin-bottom: 28px;
}
.author-photo {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  background: #e0d8c8;
}
.author-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: #c4952a; color: #fff;
  font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.author-details   { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.author-label     { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #aaa; }
.author-name      { font-size: 16px; font-weight: 700; color: #111; }
.author-role      { font-size: 13px; color: #666; }
.article-dates    {
  text-align: right; font-size: 12px; color: #aaa; line-height: 1.8;
  flex-shrink: 0; white-space: nowrap;
}

/* ── Featured image ──────────────────────────────────────────── */
.article-image     { margin: 0 0 36px; }
.article-image img { width: 100%; border-radius: 6px; display: block; }

/* ── Article body ────────────────────────────────────────────── */
.article-body { line-height: 1.8; color: #333; font-size: 16px; }
.article-body h2 {
  font-size: 22px; font-weight: 700;
  margin: 40px 0 14px; color: #111;
}
.article-body h3 {
  font-size: 17px; font-weight: 700;
  margin: 28px 0 10px; color: #111;
}
.article-body p  { margin-bottom: 18px; }
.article-body a  { color: #c4952a; }
.article-body a:hover { text-decoration: underline; }
.article-body ul,
.article-body ol  { padding-left: 0; margin-bottom: 16px; list-style: none; }
.article-body li  { margin-bottom: 10px; padding-left: 20px; position: relative; }
.article-body ul li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px;
  background: #c4952a; border-radius: 50%;
}
.article-body ol  { counter-reset: list-counter; }
.article-body ol li { counter-increment: list-counter; }
.article-body ol li::before {
  content: counter(list-counter) '.';
  position: absolute; left: 0; top: 0;
  font-weight: 700; font-size: 14px; color: #c4952a;
}

/* ══════════════════════════════════════════════════════════════
   SPECIAL BLOCKS — matching the screenshots exactly
   ══════════════════════════════════════════════════════════════ */

/* KEY TAKEAWAYS / TL;DR
   → Matches screenshot 2 top box */
.article-body .tldr-box {
  border: 1px solid #e8e4dc;
  border-radius: 6px;
  padding: 24px 28px;
  margin: 0 0 32px;
  background: #fdfcfa;
}
.article-body .tldr-box .block-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #c4952a;
  margin-bottom: 14px; display: block;
}
.article-body .tldr-box ul { margin-bottom: 0; }
.article-body .tldr-box li { font-size: 15px; line-height: 1.6; }

/* INTRO ANSWER — first paragraph, larger */
.article-body .intro-answer {
  font-size: 17px; line-height: 1.75;
  color: #222; margin-bottom: 28px;
}

/* SYMPTOM / DATA TABLE
   → Matches the SYMPTOM DIAGNOSIS table in screenshot 2 */
.article-body .data-table {
  width: 100%; border-collapse: collapse;
  margin: 8px 0 24px; font-size: 14px;
}
.article-body .data-table caption {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #c4952a;
  text-align: left; padding: 0 0 10px;
}
.article-body .data-table thead tr {
  background: #111; color: #fff;
}
.article-body .data-table th {
  padding: 12px 16px; font-size: 13px;
  font-weight: 600; letter-spacing: .04em;
  text-align: left; border: none;
}
.article-body .data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #efefef;
  vertical-align: top; line-height: 1.6;
}
.article-body .data-table tr:last-child td { border-bottom: none; }
.article-body .data-table tr:nth-child(even) td { background: #fafafa; }

/* CHECKLIST BOX — "CHECK THESE YOURSELF FIRST"
   → Matches screenshot 1 top box */
.article-body .checklist-box {
  border: 1px solid #e8e4dc;
  border-radius: 6px;
  padding: 24px 28px;
  margin: 32px 0;
  background: #fdfcfa;
}
.article-body .checklist-box .block-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #888;
  margin-bottom: 16px; display: block;
}
.article-body .checklist-box ul { margin-bottom: 0; }
.article-body .checklist-box li {
  padding-left: 28px; margin-bottom: 14px; line-height: 1.6;
}
.article-body .checklist-box li::before {
  content: '\2713';
  position: absolute; left: 0; top: 1px;
  color: #c4952a; font-weight: 700; font-size: 14px;
}

/* WARNING BOX — "STOP DRIVING IF YOU NOTICE THIS"
   → Matches screenshot 1 bottom box with red left border */
.article-body .warning-box {
  border-left: 4px solid #d04030;
  padding: 20px 24px;
  margin: 32px 0;
  background: #fff8f7;
}
.article-body .warning-box .block-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #d04030;
  margin-bottom: 14px; display: block;
}
.article-body .warning-box ul { margin-bottom: 0; }
.article-body .warning-box li {
  padding-left: 0; margin-bottom: 12px; line-height: 1.65;
}
.article-body .warning-box li::before { display: none; }

/* PRO TIP / INFO BOX — amber left border */
.article-body .tip-box {
  border-left: 4px solid #c4952a;
  padding: 18px 22px;
  margin: 28px 0;
  background: #fffbf3;
  font-size: 15px; line-height: 1.7; color: #555;
}
.article-body .tip-box strong { color: #c4952a; }

/* FAQ ACCORDION ─────────────────────────────────────────────── */
.article-body .faq-section h2 {
  font-size: 20px; margin-bottom: 6px;
}
.article-body details {
  border-bottom: 1px solid #efefef; padding: 14px 0;
}
.article-body summary {
  font-weight: 600; font-size: 15px;
  cursor: pointer; list-style: none;
  padding-right: 32px; position: relative;
  color: #111;
}
.article-body summary::-webkit-details-marker { display: none; }
.article-body summary::after {
  content: '+';
  position: absolute; right: 0; top: 0;
  font-size: 20px; font-weight: 300; color: #c4952a;
  line-height: 1;
}
.article-body details[open] summary::after { content: '\2212'; }
.article-body details p {
  margin: 12px 0 4px; color: #555; font-size: 15px; line-height: 1.7;
}

/* AUTHOR CTA (bottom of article) ────────────────────────────── */
.article-body .author-cta {
  border: 1px solid #e8e4dc; border-radius: 6px;
  padding: 22px 26px; margin-top: 40px;
  background: #fdfcfa;
  font-size: 15px; line-height: 1.75; color: #444;
}
.article-body .author-cta strong { color: #111; }

/* ── Related CTA ─────────────────────────────────────────────── */
.article-related-cta {
  background: #111; color: #fff;
  border-radius: 8px; padding: 28px 32px; margin: 44px 0;
}
.article-related-cta h3 { color: #fff; margin: 0 0 16px; font-size: 18px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-cta-link {
  background: #c4952a; color: #fff; text-decoration: none;
  padding: 10px 20px; border-radius: 4px;
  font-size: 14px; font-weight: 600;
  transition: background .2s; white-space: nowrap;
}
.related-cta-link:hover { background: #a97820; }

/* ── Author box bottom ───────────────────────────────────────── */
.author-box-bottom {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px;
  border: 1px solid #e8e4dc; border-radius: 6px;
  margin-top: 44px; font-size: 14px; line-height: 1.75; color: #555;
  background: #fdfcfa;
}
.author-avatar-lg {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  background: #c4952a; color: #fff;
  font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════
   BLOG INDEX
   ═══════════════════════════════════════════════════════════════ */
.blog-index-section  { padding: 60px 0 90px; }
.blog-index-header   { margin-bottom: 44px; }
.blog-index-header h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; margin-bottom: 12px; color: #111;
}
.blog-intro { font-size: 16px; color: #666; max-width: 600px; line-height: 1.7; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  border: 1px solid #e8e4dc; border-radius: 8px;
  overflow: hidden; display: flex; flex-direction: column;
  background: #fff; transition: box-shadow .2s, transform .2s;
}
.blog-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.09);
  transform: translateY(-2px);
}
.blog-card-image-link img {
  width: 100%; display: block;
  height: 200px; object-fit: cover;
}
.blog-card-body     { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card-category {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #c4952a; margin-bottom: 8px;
}
.blog-card-title    {
  font-size: 17px; line-height: 1.35; margin: 0 0 10px;
  font-weight: 700; color: #111;
}
.blog-card-title a  { text-decoration: none; color: inherit; }
.blog-card-title a:hover { color: #c4952a; }
.blog-card-meta     {
  font-size: 13px; color: #777; flex: 1;
  line-height: 1.65; margin-bottom: 16px;
}
.blog-card-footer   {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #aaa; border-top: 1px solid #f0ece4; padding-top: 12px;
}
.blog-card-author   { font-weight: 600; color: #888; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 680px) {
  .author-box-top    { flex-wrap: wrap; }
  .article-dates     { text-align: left; margin-top: 4px; }
  .blog-grid         { grid-template-columns: 1fr; }
  .article-related-cta { padding: 22px 20px; }
  .article-body .data-table { font-size: 13px; }
  .article-body .data-table th,
  .article-body .data-table td { padding: 10px 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   CROSS-LINKING SECTIONS
   ═══════════════════════════════════════════════════════════════ */

/* ── Also Consider (brand pages) ────────────────────────────── */
.also-consider-section {
  padding: 48px 0;
  border-top: 1px solid #efefef;
  margin-top: 40px;
}
.also-consider-title    { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.also-consider-subtitle { font-size: 14px; color: #888; margin-bottom: 20px; }
.also-consider-grid     { display: flex; flex-wrap: wrap; gap: 10px; }
.also-consider-chip {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px; font-weight: 500;
  color: #333; text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.also-consider-chip:hover {
  border-color: #c4952a;
  color: #c4952a;
  background: #fffbf3;
}

/* ── Blog Resources (type/period pages) ─────────────────────── */
.blog-resources-section {
  padding: 48px 0;
  border-top: 1px solid #efefef;
  background: #fafaf8;
}
.blog-resources-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.blog-resources-grid  {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.blog-resource-card {
  display: flex; flex-direction: column;
  border: 1px solid #e8e4dc; border-radius: 8px;
  overflow: hidden; text-decoration: none; color: inherit;
  background: #fff;
  transition: box-shadow .2s;
}
.blog-resource-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.blog-resource-card img   { width: 100%; height: 160px; object-fit: cover; display: block; }
.blog-resource-body {
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.blog-resource-category {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #c4952a;
}
.blog-resource-title  { font-size: 14px; font-weight: 600; line-height: 1.4; color: #111; }
.blog-resource-author { font-size: 12px; color: #aaa; margin-top: 4px; }

/* ── Related Articles (blog article bottom) ─────────────────── */
.related-articles { padding: 40px 0 0; border-top: 1px solid #efefef; margin-top: 40px; }
.related-articles-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 20px;
}
.related-articles-header h3 { font-size: 18px; font-weight: 700; margin: 0; }
.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.related-article-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  border: 1px solid #e8e4dc; border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.related-article-card:hover { box-shadow: 0 3px 12px rgba(0,0,0,.08); }
.related-article-card img   { width: 100%; height: 120px; object-fit: cover; display: block; }
.related-article-title {
  padding: 12px 14px;
  font-size: 13px; font-weight: 600;
  line-height: 1.4; color: #111;
}

/* ── Homepage Blog Section ───────────────────────────────────── */
.homepage-blog-section { padding: 60px 0; background: #fafaf8; }
.homepage-blog-header  {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 28px;
}
.homepage-blog-header h2 { font-size: 24px; font-weight: 700; margin: 0; }
.view-all-link {
  font-size: 14px; font-weight: 600;
  color: #c4952a; text-decoration: none;
}
.view-all-link:hover { text-decoration: underline; }
.homepage-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.homepage-blog-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  border: 1px solid #e8e4dc; border-radius: 8px;
  overflow: hidden; background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.homepage-blog-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
  transform: translateY(-2px);
}
.homepage-blog-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.homepage-blog-body     { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.homepage-blog-title    { font-size: 15px; font-weight: 600; line-height: 1.4; color: #111; }
.homepage-blog-author   { font-size: 12px; color: #aaa; }

@media (max-width: 640px) {
  .also-consider-grid    { gap: 8px; }
  .also-consider-chip    { font-size: 13px; padding: 8px 14px; }
  .blog-resources-grid   { grid-template-columns: 1fr; }
  .related-articles-grid { grid-template-columns: repeat(2, 1fr); }
  .homepage-blog-grid    { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   AUTHOR PAGES
   ═══════════════════════════════════════════════════════════════ */
.author-page       { padding: 50px 0 90px; }

.author-header {
  display: flex; align-items: flex-start; gap: 24px;
  padding-bottom: 32px; border-bottom: 1px solid #efefef; margin-bottom: 32px;
}
.author-hero-avatar {
  width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0;
  background: #c4952a; color: #fff;
  font-size: 32px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.author-hero-info    { display: flex; flex-direction: column; gap: 6px; }
.author-hero-meta    { font-size: 13px; color: #999; letter-spacing: .02em; }
.author-hero-name    { font-size: clamp(26px, 4vw, 36px); font-weight: 700; margin: 0; color: #111; }
.author-hero-tagline { font-size: 16px; color: #555; line-height: 1.6; margin: 0; max-width: 540px; }

.author-credentials,
.author-bio-section,
.author-specialisations,
.author-articles    { margin-bottom: 36px; }

.author-page .block-label {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #c4952a; margin-bottom: 14px;
}

.credentials-list   { list-style: none; padding: 0; margin: 0; }
.credentials-list li {
  padding: 10px 0 10px 28px; position: relative;
  border-bottom: 1px solid #f5f5f5; font-size: 15px; color: #333; line-height: 1.5;
}
.credentials-list li::before {
  content: '\2713'; position: absolute; left: 0; top: 10px;
  color: #c4952a; font-weight: 700;
}
.credentials-list li:last-child { border-bottom: none; }

.author-bio-full {
  font-size: 16px; line-height: 1.85; color: #333;
  max-width: 680px; margin: 0;
}

.specialisation-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-chip {
  padding: 7px 14px;
  background: #f5f5f2; border: 1px solid #e8e4dc;
  border-radius: 4px; font-size: 13px; color: #555;
}

.author-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.author-article-card {
  display: flex; flex-direction: column;
  border: 1px solid #e8e4dc; border-radius: 8px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow .2s;
}
.author-article-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.author-article-card img   { width: 100%; height: 160px; object-fit: cover; display: block; }
.author-article-body {
  padding: 14px 16px; display: flex; flex-direction: column; gap: 4px;
}
.author-article-category {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #c4952a;
}
.author-article-title { font-size: 14px; font-weight: 600; line-height: 1.4; color: #111; }
.author-article-body time { font-size: 12px; color: #aaa; margin-top: 4px; }

.author-contact-cta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  background: #111; color: #fff;
  border-radius: 8px; padding: 24px 28px; margin-top: 40px;
}
.author-contact-cta p  { margin: 0; font-size: 15px; line-height: 1.6; }
.author-wa-btn {
  display: inline-block; background: #25d366; color: #fff;
  padding: 12px 22px; border-radius: 6px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  white-space: nowrap; transition: background .2s; flex-shrink: 0;
}
.author-wa-btn:hover { background: #1da851; }

.author-name-link { color: #c4952a; text-decoration: none; }
.author-name-link:hover { text-decoration: underline; }

/* ── Author photos ───────────────────────────────────────────── */
.author-hero-photo {
  width: 160px; height: 160px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 3px solid #e8e4dc;
}
.author-photo-lg {
  width: 60px; height: 60px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}

@media (max-width: 600px) {
  .author-header       { flex-direction: column; }
  .author-contact-cta  { flex-direction: column; text-align: center; }
  .author-articles-grid { grid-template-columns: 1fr; }
  .author-hero-photo   { width: 100px; height: 100px; }
}
