*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --cream: #f9f6f1;
    --warm-white: #fdfcf9;
    --charcoal: #2a2520;
    --mid: #7a7068;
    --light: #c5bfb5;
    --accent: #6b4f8e;
    --accent-light: #ede6f5;
    --card-shadow: 0 2px 20px rgba(42,37,32,0.08);
    --hover-shadow: 0 8px 40px rgba(42,37,32,0.15);
    --border: #e8e2da;
    --tag-bg: #ede6f5;
    --tag-active: #6b4f8e;
  }

  body {
    background: var(--warm-white);
    /* font-family: 'DM Sans', sans-serif; */
    color: var(--charcoal);
    min-height: 100vh;
  }

  /* ---- HEADER ---- */
  .page-header {
    text-align: center;
    padding: 56px 24px 32px;
    border-bottom: 1px solid var(--border);
    background: var(--warm-white);
  }
  .page-header h1 {
    /* font-family: 'Cormorant Garamond', serif; */
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 300;
    letter-spacing: 0.04em;
    color: var(--charcoal);
  }
  .page-header p {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--mid);
    font-weight: 300;
    letter-spacing: 0.02em;
  }

  /* ---- TOOLBAR ---- */
  .toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px;
    position: sticky;
    top: 108px;
    z-index: 1;
  }
  
  .toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .filters-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid);
  }
  .active-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
  }
  .active-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px 4px 12px;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s;
  }
  .active-tag:hover { background: #ddd3f0; }
  .active-tag .remove-tag {
    font-size: 0.9rem;
    line-height: 1;
    color: var(--accent);
    transition: transform 0.15s;
  }
  .active-tag:hover .remove-tag { transform: scale(1.2); }
  .clear-all {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--mid);
    cursor: pointer;
    letter-spacing: 0.05em;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
  }
  .clear-all:hover { color: var(--charcoal); }

  .toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .sort-label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid);
    font-weight: 500;
  }
  .sort-select {
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--warm-white);
    color: var(--charcoal);
    /* font-family: 'DM Sans', sans-serif; */
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 28px 6px 10px;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a7068' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color 0.2s;
  }
  .sort-select:hover { border-color: var(--accent); }

  /* ---- LAYOUT ---- */
  .layout {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
     align-items: flex-start !important; 
  }

  /* ---- SIDEBAR ---- */


.sidebar_blog {
  width: 260px;
  min-width: 240px;
  padding: 32px 24px 40px;
  border-right: 1px solid var(--border);
  position: sticky;
  top: 160px; /* 👈 reduce from 120px */
  height: fit-content; /* ✅ FIX */
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}


  .sidebar::-webkit-scrollbar { width: 4px; }
  .sidebar_blog::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

  .filter-section {
    margin-bottom: 28px;
  }
  .filter-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    user-select: none;
  }
  .filter-section-header span {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--charcoal);
  }
  .chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.25s;
    color: var(--mid);
  }
  .chevron.open { transform: rotate(180deg); }

  .filter-options {
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
  }
  .filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.8rem;
  }
  .filter-option input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--accent);
    cursor: pointer;
    border-radius: 4px;
  }
  .filter-option label {
    font-size: 0.82rem;
    color: var(--charcoal);
    cursor: pointer;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .filter-option label .count {
    font-size: 0.72rem;
    color: var(--light);
    margin-left: 4px;
  }
  .filter-option:hover label { color: var(--accent); }

  /* ---- MAIN CONTENT ---- */
  .main-content {
    flex: 1;
    padding: 32px 32px 60px;
    min-width: 0;
  }

  /* ---- GRID ---- */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
  }

  /* ---- CARD ---- */
  .blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s, transform 0.3s;
    cursor: pointer;
    position: relative;
    animation: fadeUp 0.4s ease both;
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .blog-card:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-4px);
  }

  .card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--cream);
    font-size: 0.8rem;
  }
  .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
  }
  .blog-card:hover .card-img-wrap img {
    transform: scale(1.06);
  }

  .wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.92);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: background 0.2s, transform 0.15s;
    z-index: 2;
  }
  .wishlist-btn:hover { background: #fff; transform: scale(1.1); }
  .wishlist-btn.active svg path { fill: #e74c3c; stroke: #e74c3c; }
  .wishlist-btn svg {
    width: 16px; height: 16px;
  }
  .wishlist-btn svg path {
    fill: none;
    stroke: var(--charcoal);
    stroke-width: 1.8;
    transition: fill 0.2s, stroke 0.2s;
  }

  .card-body {
    padding: 18px 18px 20px;
  }
  .card-category-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    padding: 3px 8px;
    border-radius: 100px;
    margin-bottom: 10px;
  }
  .card-title {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--charcoal);
    margin-bottom: 10px;
    transition: color 0.2s;
  }
  .blog-card:hover .card-title { color: var(--accent); }
  .card-meta {
    font-size: 0.72rem;
    color: var(--mid);
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .card-meta .dot {
    width: 3px; height: 3px;
    background: var(--light);
    border-radius: 50%;
    display: inline-block;
  }

  /* ---- EMPTY STATE ---- */
  .empty-state {
    display: none;
    text-align: center;
    padding: 80px 20px;
    color: var(--mid);
  }
  .empty-state.visible { display: block; }
  .empty-state svg { opacity: 0.25; margin-bottom: 16px; }
  .empty-state p { font-size: 0.9rem; font-weight: 300; }

  /* ---- RESULTS COUNT ---- */
  .results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
  }
  .results-count {
    font-size: 0.78rem;
    color: var(--mid);
    font-weight: 300;
    letter-spacing: 0.02em;
  }
  .results-count strong {
    color: var(--charcoal);
    font-weight: 500;
  }
  
.blog_img h1 {
    font-size: 35px;
    font-weight: 500;
}

.blog_img {
    padding: 20px;
}

.blog_img {
    padding: 20px;
    text-align: center;
}

  /* SCROLLBAR */
  .main-content::-webkit-scrollbar { width: 4px; }


/* ─── heroblog ────────────────────────────────── */

.heroblog::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgb(0 0 0 / 0%), rgb(0 0 0 / 0%)), url(https://www.macawpaints.com/theme/cms/assets/images/blog_banner.jpg) center / cover no-repeat;
    z-index: 0;
}

.heroblog::after {
    content: '';
    position: absolute;
    inset: 0;
}

.heroblog {
    position: relative;
    min-height: 44vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--brand-dark);
    padding: 40px;
}

.heroblog_mobile {
    position: relative;
    min-height: 44vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--brand-dark);
    padding: 40px;
}




.heroblog_mobile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgb(0 0 0 / 0%), rgb(0 0 0 / 0%)), url(https://www.macawpaints.com/theme/cms/assets/images/blog_banner_mobile.jpg) center / cover no-repeat;
    z-index: 0;
}


.heroblog_mobile {
    position: relative;
    min-height: 44vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--brand-dark);
    padding: 40px;
}


.heroblog_mobile::after {
    content: '';
    position: absolute;
    inset: 0;
}

.heroblog h1, .heroblog_mobile h1 {
  font-size:clamp(2rem,4vw,3.2rem);font-weight:800;
  color:#fff;line-height:1.1;letter-spacing:-.03em;margin-bottom:14px;
}
.heroblog h1 em, .heroblog_mobile h1 em {
    color: #fff;
    font-style: normal;
}
.heroblog p, .heroblog_mobile p {
    color: rgba(255, 255, 255, .65);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 520px;
}



.heroblog_mobile {
    display: none;
}

/* ==================================Blog Detail page======================================================= */

/* .heroblog_detail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgb(0 0 0 / 0%), rgb(0 0 0 / 0%)), url(https://www.macawpaints.com/theme/cms/assets/images/blog-pic/blog_detail.jpg) center / cover no-repeat;
    z-index: 0;
} */

/* .heroblog_detail::after {
    content: '';
    position: absolute;
    inset: 0;
} */

/* .heroblog_detail {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--brand-dark);
    padding: 40px;
} */

.heroblog_detail {
    /* position: relative; */
    /* min-height: 60vh; */
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--brand-dark);
    /* padding: 40px; */
}


.blog_details_box .hero-inner {
    position: absolute;
    z-index: 1;
    max-width: 740px;
    padding: 0px 0px 0px 55px;
}

/* .heroblog_detail_mobile {
    position: relative;
    min-height: 44vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--brand-dark);
    padding: 40px;
} */


.heroblog_detail_mobile::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background: linear-gradient(rgb(0 0 0 / 0%), rgb(0 0 0 / 0%)), url(https://www.macawpaints.com/theme/cms/assets/images/blog-pic/best_paint.jpeg) center / cover no-repeat; */
    z-index: 0;
}


/* .heroblog_detail_mobile {
    position: relative;
    min-height: 44vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--brand-dark);
    padding: 40px;
} */


.heroblog_detail_mobile::after {
    content: '';
    position: absolute;
    inset: 0;
}

.heroblog_detail h1, .heroblog_detail.heroblog_detail_mobile h1 {
  font-size:clamp(2rem,4vw,3.2rem);font-weight:800;
  color:#fff;line-height:1.1;letter-spacing:-.03em;margin-bottom:14px;
}

.heroblog_detail h1 em, .heroblog_detail h1 em {
    color: #fff;
    font-style: normal;
}

.heroblog_detail p, .heroblog_detail_mobile p {
    font-size: 1rem;
    line-height: 1.65;
    max-width: 520px;
    color: #fff;
}
 .heroblog_detail_mobile {display: none;}


 section.heroblog_detail img {width: 100%;}

/* ========================================================================================= */


.hero-inner{position:relative;z-index:1;max-width:740px}
.breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:20px;font-size:.78rem;color:rgba(255,255,255,.5)}
.breadcrumb a{color:rgba(255,255,255,.5);text-decoration:none}
.breadcrumb a:hover{color:#fff}
.breadcrumb span{color:rgba(255,255,255,.3)}


.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);
  border-radius:100px;padding:6px 14px;
  font-size:.75rem;font-weight:600;color:#fff;
  margin-bottom:22px;letter-spacing:.04em;text-transform:uppercase;
}
.hero-badge::before{content:'';width:6px;height:6px;border-radius:50%;background:#f87171;animation:pulse 1.6s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.3)}}


  @media (max-width: 768px) {
    .heroblog {display: none;}
    .heroblog_mobile {display: block;}
    .heroblog_detail{display: none;}
    .heroblog_detail {display: none;}
    .heroblog_detail_mobile {display: block;}
    .sidebar_blog { display: none; }
    .toolbar { padding: 12px 16px;top: 65px;}
    .main-content { padding: 20px 16px 40px; }
    .blog-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
    
  }

/* ====================================================================== */

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --ap-red: #C41E3A;
    --ap-red-light: #f5e6e8;
    --ap-red-dark: #9b1630;
    --ap-gold: #E8A020;
    --ap-navy: #1a2540;
    --ap-text: #1e1e1e;
    --ap-muted: #6b7280;
    --ap-light: #f8f6f2;
    --ap-white: #ffffff;
    --ap-border: #e8e0d5;
    --ap-tag-bg: #fdf0e0;
    --ap-tag-color: #b5640a;
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --max-w: 1200px;
    --content-w: 800px;
    --sidebar-w: 320px;
  }

  html { scroll-behavior: smooth; font-size: 16px; }

  body {
    color: var(--ap-text);
    background: var(--ap-white);
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ── HEADER ─────────────────────────────────── */
  header {
    background: var(--ap-white);
    border-bottom: 1px solid var(--ap-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
  }

  .header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 64px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    background: var(--ap-red);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -1px;
  }

  .logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--ap-navy);
    letter-spacing: -0.3px;
  }

  .logo-text span { color: var(--ap-red); }

  nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ap-muted);
    text-decoration: none;
    transition: color .2s;
  }

  nav a:hover { color: var(--ap-red); }

  .header-cta {
    background: var(--ap-red);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: background .2s !important;
  }

  .header-cta:hover { background: var(--ap-red-dark) !important; }

  /* ── HERO BANNER ─────────────────────────────── */
  .hero-banner {
    position: relative;
    height: 420px;
    overflow: hidden;
  }

  .hero-slides {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform .7s cubic-bezier(.4,0,.2,1);
  }

  .hero-slide {
    width: 25%;
    height: 100%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
  }

  .hero-slide:nth-child(1) { background-image: url('https://images.unsplash.com/photo-1570129477492-45c003edd2be?w=1400'); }
  .hero-slide:nth-child(2) { background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1400'); }
  .hero-slide:nth-child(3) { background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1400'); }
  .hero-slide:nth-child(4) { background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1400'); }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,37,64,.65) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
  }

  .hero-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: all .3s;
    border: none;
  }

  .hero-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
  }

  .hero-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 5;
  }

  .hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    border: 1.5px solid rgba(255,255,255,.6);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    backdrop-filter: blur(4px);
  }

  .hero-arrow:hover { background: rgba(255,255,255,.35); }

  /* ── BREADCRUMB ──────────────────────────────── */
  .breadcrumb-bar {
    background: var(--ap-light);
    border-bottom: 1px solid var(--ap-border);
  }

  .breadcrumb-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: .65rem 2rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ap-muted);
  }

  .breadcrumb-inner a {
    color: var(--ap-muted);
    text-decoration: none;
    transition: color .2s;
  }

  .breadcrumb-inner a:hover { color: var(--ap-red); }
  .breadcrumb-inner .sep { color: #c4bdb5; font-size: 11px; }
  .breadcrumb-inner .current { color: var(--ap-text); font-weight: 500; }

  /* ── MAIN LAYOUT ─────────────────────────────── */
  .page-wrapper {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 3rem 0rem;
    display: grid;
    grid-template-columns: 1fr var(--sidebar-w);
    gap: 1rem;
    align-items: start;
  }

  /* ── ARTICLE ─────────────────────────────────── */
  .article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.25rem;
  }

  .tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .7px;
    text-transform: uppercase;
    border: 1.5px solid currentColor;
  }

  .tag-paint { color: var(--ap-red); background: var(--ap-red-light); border-color: var(--ap-red); }
  .tag-service { color: #0f6e56; background: #e1f5ee; border-color: #0f6e56; }

  h1.article-title {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ap-navy);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
  }

  .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--ap-border);
    border-bottom: 1px solid var(--ap-border);
    margin-bottom: 2rem;
  }

  .author-info {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ap-red);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .author-name { font-weight: 600; font-size: 14px; color: var(--ap-navy); }
  .meta-sep { width: 1px; height: 24px; background: var(--ap-border); }

  .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--ap-muted);
  }

  .meta-item i { font-size: 15px; }

  .share-row {
    margin-left: auto;
    display: flex;
    gap: 8px;
  }

  .share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--ap-border);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ap-muted);
    font-size: 16px;
    transition: all .2s;
  }

  .share-btn:hover { border-color: var(--ap-red); color: var(--ap-red); background: var(--ap-red-light); }
  .share-btn.liked { color: var(--ap-red); border-color: var(--ap-red); background: var(--ap-red-light); }

  /* ── ARTICLE BODY ────────────────────────────── */
  .article-body { color: #333; }

  .article-body p {
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 1.4rem;
    color: #3a3a3a;
  }

  .article-body a {
    color: var(--ap-red);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .article-body h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ap-navy);
    margin: 2.5rem 0 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--ap-red);
    display: inline-block;
    margin-top: 1rem;
  }

  .sidebar_blog_info {
    position: sticky;
    top: 120px;
  }

  .article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ap-navy);
    margin: 2rem 0 .75rem;
  }

  .article-body ul, .article-body ol {
    margin: 1rem 0 1.4rem 1.5rem;
  }

  .article-body li {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: .5rem;
    color: #3a3a3a;
  }

  .article-body li::marker { color: var(--ap-red); }

  /* callout */
  .callout {
    background: var(--ap-light);
    border-left: 4px solid var(--ap-red);
    border-radius: 0 8px 8px 0;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
  }

  .callout-title {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--ap-red);
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .callout p {
    font-size: 15px !important;
    margin-bottom: 0 !important;
    color: #555 !important;
  }

  /* region cards */
  .region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
  }

  .region-card {
    border: 1.5px solid var(--ap-border);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    cursor: pointer;
  }

  .region-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    transform: translateY(-3px);
  }

  .region-card-header {
    padding: 1rem 1.25rem .75rem;
    background: var(--ap-navy);
    color: #fff;
  }

  .region-card-header h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 3px;
  }

  .region-card-header .region-subtitle {
    font-size: 12px;
    opacity: .7;
  }

  .region-card-body {
    padding: .75rem 1.25rem 1rem;
  }

  .region-card-body p {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #555 !important;
    margin-bottom: 0 !important;
  }

  .region-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 8px;
    background: var(--ap-red-light);
    color: var(--ap-red-dark);
  }

  /* paint table */
  .paint-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    border: 1.5px solid var(--ap-border);
    margin: 2rem 0;
  }

  .paint-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }

  .paint-table th {
    background: var(--ap-navy);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: .3px;
  }

  .paint-table th:first-child { border-radius: 8px 0 0 0; }
  .paint-table th:last-child { border-radius: 0 8px 0 0; }

  .paint-table td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--ap-border);
    vertical-align: middle;
    color: #3a3a3a;
  }

  .paint-table tr:last-child td { border-bottom: none; }
  .paint-table tr:nth-child(even) td { background: #fafafa; }
  .paint-table tr:hover td { background: var(--ap-light); }

  .rating-stars {
    display: inline-flex;
    gap: 2px;
  }

  .rating-stars i { color: var(--ap-gold); font-size: 14px; }
  .rating-stars i.empty { color: #ddd; }

  /* image in body */
  .article-img-block {
    margin: 2rem -2rem;
    position: relative;
  }

  .article-img-block img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
  }

  .article-img-caption {
    font-size: 13px;
    color: var(--ap-muted);
    text-align: center;
    padding: .6rem;
    background: var(--ap-light);
    border-bottom: 1px solid var(--ap-border);
  }

  /* tips grid */
  .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
  }

  .tip-card {
    background: var(--ap-light);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
  }

  .tip-card .tip-icon {
    width: 48px;
    height: 48px;
    background: var(--ap-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border: 1.5px solid var(--ap-border);
    font-size: 22px;
    color: var(--ap-red);
  }

  .tip-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ap-navy);
    margin-bottom: 6px;
  }

  .tip-card p {
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: var(--ap-muted) !important;
    margin-bottom: 0 !important;
  }

  /* article footer */
  .article-footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ap-border);
  }

  .footer-tag {
    font-size: 13px;
    padding: 5px 14px;
    background: var(--ap-light);
    border: 1px solid var(--ap-border);
    border-radius: 20px;
    color: var(--ap-muted);
    cursor: pointer;
    transition: all .2s;
  }

  .footer-tag:hover { background: var(--ap-red-light); color: var(--ap-red); border-color: var(--ap-red); }

  /* ── SIDEBAR ─────────────────────────────────── */
  .sidebar { position: sticky; top: 80px; }

  .sidebar-card {
    background: var(--ap-white);
    border: 1.5px solid var(--ap-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
  }

  /* promo card */
  .promo-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #f0a030 0%, #d06020 100%);
  }

  .promo-card-body {
    padding: 1.25rem;
    text-align: center;
  }

  .promo-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--ap-red);
    margin-bottom: 6px;
  }

  .promo-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ap-navy);
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .btn-red {
    display: inline-block;
    background: var(--ap-red);
    color: #fff !important;
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    text-decoration: none;
    transition: background .2s;
    border: none;
    cursor: pointer;
  }

  .btn-red:hover { background: var(--ap-red-dark); }

  .btn-outline {
    display: inline-block;
    background: none;
    color: var(--ap-red);
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    text-decoration: none;
    border: 1.5px solid var(--ap-red);
    cursor: pointer;
    transition: all .2s;
  }

  .btn-outline:hover { background: var(--ap-red-light); }

  /* contact card */
  .contact-card { padding: 1.5rem; }
  .contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ap-navy);
    margin-bottom: .5rem;
  }

  .contact-card p {
    font-size: 13.5px;
    color: var(--ap-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
  }

  .contact-form label {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ap-navy);
    margin-bottom: 5px;
    margin-top: 12px;
  }

  .contact-form input,
  .contact-form select {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--ap-border);
    border-radius: 6px;
    font-size: 13.5px;
    color: var(--ap-text);
    background: #fafaf9;
    transition: border-color .2s;
    outline: none;
  }

  .contact-form input:focus,
  .contact-form select:focus { border-color: var(--ap-red); background: #fff; }

  .contact-form .submit-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 10px;
    font-size: 14px;
    text-align: center;
  }

  /* table of contents */
  .toc-card { padding: 1.25rem 1.5rem; }
  .toc-card h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--ap-navy);
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--ap-red);
    display: inline-block;
  }

  .toc-list { list-style: none; padding: 0; margin: 0; }

  .toc-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: .5rem;
  }

  .toc-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ap-border);
    transition: background .2s;
  }

  .toc-list li:hover::before { background: var(--ap-red); }

  .toc-list a {
    font-size: 13.5px;
    color: var(--ap-muted);
    text-decoration: none;
    transition: color .2s;
    line-height: 1.5;
  }

  .toc-list a:hover { color: var(--ap-red); }
  .toc-list a.active { color: var(--ap-red); font-weight: 600; }

  /* related articles */
  .related-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 2.5rem 2rem 4rem;
    border-top: 1px solid var(--ap-border);
  }

  .section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ap-navy);
    /* margin-bottom: 1.75rem; */
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--ap-border);
  }

  .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
  }

  .related-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid var(--ap-border);
    transition: box-shadow .25s, transform .25s;
    cursor: pointer;
    text-decoration: none;
    display: block;
    background: #fff;
  }

  .related-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    transform: translateY(-4px);
  }

  .related-card-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
  }

  .related-card-body { padding: 1.1rem 1.25rem 1.25rem; }
  .related-card-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--ap-red);
    margin-bottom: 6px;
  }

  .related-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ap-navy);
    line-height: 1.35;
    margin-bottom: 8px;
  }

  .related-card-excerpt {
    font-size: 13px;
    color: var(--ap-muted);
    line-height: 1.6;
    margin-bottom: .75rem;
  }

  .read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--ap-red);
    display: flex;
    align-items: center;
    gap: 4px;
  }

  /* progress bar */
  .read-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--ap-red);
    z-index: 200;
    transition: width .1s linear;
  }

  /* chat widget */
  .chat-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 50;
  }

  .chat-btn {
    width: 52px;
    height: 52px;
    background: var(--ap-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(26,37,64,.35);
    transition: background .2s, transform .2s;
    border: none;
  }

  .chat-btn:hover { background: var(--ap-red); transform: scale(1.08); }

  /* fade-in */
  .fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s ease, transform .55s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: none;
  }

  .sidebar-card img {
    padding-top: 35px;
}



  .blog_details_box .sidebar {
      padding-top: 0px;
  }


ul.article-tags-box {
    display: flex;
    margin-bottom: 20px;
    gap: 10px;
    flex-flow: wrap;
}

ul.article-tags-box li {
    border: solid 1px #000;
    padding: 10px;
}


.blog_content_wrapper ul li {
  list-style: none;
}

.blog_content_wrapper ul li::before {
  content: "\2192"; /* right arrow */
  margin-right: 8px;
  color: #c41e3a;
  
}

  /* ── RESPONSIVE ──────────────────────────────── */
  @media (max-width: 900px) {
    .page-wrapper {
      grid-template-columns: 1fr;
      padding: 2rem 1.25rem;
    }
    .sidebar { position: static; }
    .hero-banner { height: 260px; }
    nav { display: none; }
    .article-img-block { margin: 2rem 0; }

    .article-body p {font-size: 13px;}
h1.article-title {font-size: 1.2rem;}
.article-body h2 {font-size: 1.1rem;}

.blog_details_box .hero-inner {
    top: 40px;
}
  }


