:root {
            /* --- VARIABLES --- */
            --c-bg: #f8fafc;
            --c-surface: #ffffff;
            
            --c-text-main: #0f172a;
            --c-text-body: #475569;
            --c-text-light: #94a3b8;
            
            --c-brand: #3b82f6;
            --theme-color: #8b5cf6; 
            --theme-glow: rgba(139, 92, 246, 0.4);
            
            --verdict-glow: var(--v-toxic-bg);
            
            --v-toxic: #ef4444; --v-toxic-bg: #fee2e2; --v-toxic-text: #991b1b;
            --v-safe: #10b981;  --v-safe-bg: #d1fae5; --v-safe-text: #065f46;
            --v-caution: #f97316; --v-caution-bg: #ffedd5; --v-caution-text: #9a3412;

            --radius-xl: 32px; --radius-lg: 24px; --radius-md: 16px;
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            
            --font-main: 'Plus Jakarta Sans', sans-serif;
        }

        /* --- RESET & BASE --- */
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            background-color: var(--c-bg); 
            color: var(--c-text-main); 
            font-family: var(--font-main);
            line-height: 1.7; 
            overflow-x: hidden; /* Prevent horizontal scroll on body */
            -webkit-font-smoothing: antialiased;
        }

        /* Ambient Background Effect */
        body::before {
            content: ''; position: fixed; top: -20%; left: -10%; width: 60%; height: 60%;
            background: radial-gradient(circle, var(--theme-glow) 0%, transparent 70%);
            filter: blur(90px); z-index: -1; opacity: 0.4;
            pointer-events: none;
        }

        .container { 
            max-width: 1200px; 
            margin: 0 auto; 
            padding: 0 24px; 
            width: 100%;
        }
        
        img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
        a { text-decoration: none; color: inherit; transition: 0.2s; }


        .logo { font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
        .logo-dot { width: 10px; height: 10px; background: var(--c-brand); border-radius: 50%; }

        /* --- HERO SECTION --- */
        .article-hero { padding-top: 120px; padding-bottom: 60px; }
        
        .hero-card {
            background: #fff; border-radius: var(--radius-xl);
            padding: 40px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px;
            box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.5);
            align-items: center; position: relative; overflow: hidden;
        }
        
        /* Decorative Glow (Visible only on desktop) */
        .hero-card::after {
            content: ''; position: absolute; right: -50px; top: -50px; width: 300px; height: 300px;
            background: var(--verdict-glow, var(--v-toxic-bg)); border-radius: 50%; filter: blur(60px); opacity: 0.5; z-index: 0;
        }

        .hero-content { position: relative; z-index: 1; }
        
        .breadcrumb { 
            display: flex; align-items: center; gap: 8px; font-size: 0.9rem; 
            color: var(--c-text-light); font-weight: 600; margin-bottom: 20px; 
            text-transform: uppercase; letter-spacing: 0.5px; flex-wrap: wrap;
        }
        .bc-active { color: var(--theme-color); }

        h1 { 
            font-size: clamp(2rem, 5vw, 3.5rem); 
            line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; 
            color: var(--c-text-main);
        }
        
        .hero-meta { display: flex; gap: 20px; font-size: 0.95rem; color: var(--c-text-body); font-weight: 500; flex-wrap: wrap; }
        .meta-item { display: flex; align-items: center; gap: 6px; }

        /* --- VERDICT BOX --- */
        .verdict-box {
            background: var(--c-bg); border-radius: var(--radius-lg); padding: 30px;
            border: 1px solid #e2e8f0; position: relative; z-index: 1;
            height: 100%; display: flex; flex-direction: column; justify-content: center;
        }
        
        .verdict-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
        .verdict-label { font-size: 0.9rem; font-weight: 700; color: var(--c-text-light); text-transform: uppercase; }
        
        .verdict-badge {
            display: inline-flex; align-items: center; gap: 10px;
            padding: 8px 16px; border-radius: 12px;
            font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
        }
        .vb-toxic { background: var(--v-toxic); color: white; box-shadow: 0 8px 16px -4px rgba(239, 68, 68, 0.4); }

        .vb-safe { background: var(--v-safe); color: white; box-shadow: 0 8px 16px -4px rgba(16, 185, 129, 0.35); }
        .vb-caution { background: var(--v-caution); color: white; box-shadow: 0 8px 16px -4px rgba(249, 115, 22, 0.35); }


        .risk-meter-container { margin-top: auto; }
        .risk-labels { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 700; margin-bottom: 8px; color: var(--c-text-light); }
        .risk-bar { height: 12px; background: #e2e8f0; border-radius: 100px; overflow: hidden; position: relative; }
        .risk-fill { 
            height: 100%; width: 90%; 
            background: linear-gradient(90deg, #facc15 0%, #f97316 50%, #ef4444 100%);
            border-radius: 100px;
        }

        /* --- LAYOUT GRID --- */
        .layout-grid {
            display: grid; grid-template-columns: 2fr 1fr; gap: 60px;
            padding-bottom: 100px;
        }

        /* --- CONTENT AREA --- */
        .prose { width: 100%; min-width: 0; /* Critical for grid overflow prevention */ } 
        .prose h2 { font-size: 1.75rem; margin-top: 40px; margin-bottom: 20px; color: var(--c-text-main); line-height: 1.3; }
        .prose h3 { font-size: 1.35rem; margin-top: 30px; margin-bottom: 15px; color: var(--c-text-body); }
        .prose p { margin-bottom: 24px; font-size: 1.05rem; color: var(--c-text-body); }
        
        /* Alert Box */
        .alert-box {
            background: rgba(254, 242, 242, 0.8); border: 1px solid #fecaca;
            border-left: 6px solid var(--v-toxic); border-radius: 16px;
            padding: 24px; margin: 30px 0;
            display: flex; gap: 20px; align-items: flex-start;
            backdrop-filter: blur(4px);
        }
        .alert-icon { color: var(--v-toxic); flex-shrink: 0; margin-top: 2px; }
        .alert-title { color: var(--v-toxic-text); font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; display: block; }
        .alert-text { color: #7f1d1d; font-size: 0.95rem; margin: 0; }

        /* Symptoms Grid */
        .symptoms-grid {
            list-style: none; padding: 0; margin: 0;
            display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
            gap: 16px;
        }
        .symptom-item {
            background: #fff; padding: 16px; border-radius: 12px; border: 1px solid #e2e8f0; 
            display: flex; align-items: center; gap: 12px;
        }
        .symptom-icon {
            width: 32px; height: 32px; background: #fee2e2; border-radius: 50%;
            display: flex; justify-content: center; align-items: center; 
            color: #dc2626; flex-shrink: 0;
        }

        /* Clinical Table Wrapper (Crucial for Mobile) */
        .table-wrapper {
            width: 100%;
            overflow-x: auto; /* Enables horizontal scroll */
            margin: 40px 0;
            border-radius: 16px;
            box-shadow: var(--shadow-lg);
            border: 1px solid #e2e8f0;
            background: #fff;
            -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
        }
        /* Custom Scrollbar for Table */
        .table-wrapper::-webkit-scrollbar { height: 6px; }
        .table-wrapper::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
        .table-wrapper::-webkit-scrollbar-track { background: #f1f5f9; }

        .clinical-table {
            width: 100%; border-collapse: separate; border-spacing: 0;
            min-width: 600px; /* Forces scroll on small screens */
        }
        .clinical-table th {
            background: #f8fafc; padding: 16px 24px; text-align: left;
            font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--c-text-light);
            border-bottom: 1px solid #e2e8f0;
        }
        .clinical-table td { padding: 20px 24px; border-bottom: 1px solid #f1f5f9; font-size: 1rem; color: var(--c-text-body); }
        .clinical-table tr:last-child td { border-bottom: none; }
        
        .data-tag { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
        .dt-danger { background: var(--verdict-glow, var(--v-toxic-bg)); color: var(--v-toxic-text); }
        .dt-warn { background: var(--v-caution-bg); color: var(--v-caution-text); }
        .dt-safe { background: var(--v-safe-bg); color: var(--v-safe-text); }

        /* --- FAQ SECTION --- */
        .faq-section { margin-top: 60px; padding-top: 40px; border-top: 1px solid #e2e8f0; }
        .faq-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 30px; color: var(--c-text-main); }
        
        details {
            background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
            margin-bottom: 16px; overflow: hidden; transition: all 0.3s ease;
        }
        details:hover { border-color: #cbd5e1; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
        details[open] { border-color: var(--c-brand); box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.15); }

        summary {
            padding: 24px; font-weight: 700; font-size: 1.1rem; color: var(--c-text-main);
            cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
        }
        summary::after {
            content: '+'; font-size: 1.5rem; color: var(--c-brand); font-weight: 400;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        details[open] summary::after { transform: rotate(45deg); color: var(--c-text-main); }
        summary::-webkit-details-marker { display: none; }

        .faq-answer {
            padding: 0 24px 24px; color: var(--c-text-body); font-size: 1.05rem;
            animation: fadeIn 0.4s ease;
        }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

        /* --- SIDEBAR --- */
        .sidebar { position: sticky; top: 120px; height: fit-content; }
        
        .toc-widget {
            background: #fff; border-radius: var(--radius-lg); padding: 30px;
            border: 1px solid #e2e8f0; box-shadow: var(--shadow-lg); margin-bottom: 30px;
        }
        .widget-title { font-size: 0.9rem; font-weight: 800; text-transform: uppercase; color: var(--c-text-light); margin-bottom: 20px; letter-spacing: 1px; }
        
        .toc-list { list-style: none; position: relative; }
        .toc-list::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: #f1f5f9; }
        .toc-item { padding-left: 20px; margin-bottom: 16px; position: relative; }
        .toc-item::before {
            content: ''; position: absolute; left: -4px; top: 8px; width: 10px; height: 10px; 
            border-radius: 50%; background: #cbd5e1; border: 2px solid #fff; transition: 0.2s;
        }
        .toc-item.active::before { background: var(--c-brand); transform: scale(1.2); }
        .toc-link { font-weight: 600; color: var(--c-text-body); font-size: 0.95rem; }
        .toc-link:hover { color: var(--c-brand); }

        .related-card { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
        .related-img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; }
        .related-info h4 { font-size: 0.95rem; margin-bottom: 4px; font-weight: 700; }
        .related-info span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }

        /* FOOTER */
        footer { margin-top: 0; border-top: 1px solid #e2e8f0; padding: 60px 0; background: #fff; text-align: center; }

        /* =========================================
           RESPONSIVE BREAKPOINTS (MOBILE FIRST FIXES)
        ========================================= */
        
        /* Tablet & Small Laptops (Max 1024px) */
        @media (max-width: 1024px) {
            .layout-grid { gap: 40px; }
            .hero-card { grid-template-columns: 1fr 1fr; gap: 30px; }
        }

        /* Mobile & Tablets (Max 900px) */
        @media (max-width: 900px) {
            /* Layout Structure */
            .layout-grid { grid-template-columns: 1fr; padding-bottom: 60px; }
            .sidebar { display: none; } /* Hide sidebar to prevent clutter */

            /* Hero Adjustments */
            .article-hero { padding-top: 120px; padding-bottom: 40px; }
            .hero-card { 
                grid-template-columns: 1fr; /* Stack vertically */
                padding: 24px; gap: 30px;
            }
            .hero-card::after { display: none; } /* Remove decorative blur on mobile */
            
            /* Ensure Image fits */
            .verdict-box img { width: 100%; height: auto; max-height: 250px; }
        }

        /* Small Mobile (Max 600px) */
        @media (max-width: 600px) {
            .container { padding: 0 16px; }

            /* Header Compact */
            .site-header { 
                width: calc(100% - 32px); top: 16px; height: 64px; padding: 0 16px;
            }
            .site-header nav { display: none !important; }

            /* Typography */
            h1 { font-size: 2rem; }
            .prose h2 { font-size: 1.5rem; }
            
            /* Alert Box Stack */
            .alert-box { flex-direction: column; gap: 12px; }
            
            /* Symptoms Grid - Force 1 col on tiny screens if needed, otherwise 2 */
            .symptoms-grid { grid-template-columns: 1fr; }
            
            /* FAQ Click Area */
            summary { padding: 20px 16px; font-size: 1rem; }
            .faq-answer { padding: 0 16px 20px; }

            /* Table Wrapper - Ensure full width usage */
            .table-wrapper { 
                margin-left: -16px; margin-right: -16px; 
                width: calc(100% + 32px); 
                border-radius: 0; border-left: none; border-right: none;
            }
        }
            /* ===== PetSafe Header (DETAIL theme-matching, isolated) ===== */
    .psh-root{
      position:fixed; top:20px; left:50%; transform:translateX(-50%);
      width:calc(100% - 48px); max-width:1280px; height:72px; z-index:3000;
      background:rgba(255,255,255,.90); backdrop-filter:blur(16px);
      border:1px solid rgba(255,255,255,.60);
      border-radius:100px;
      box-shadow:0 8px 32px rgba(0,0,0,.04);
    }
    .psh-inner{
      height:100%;
      display:flex; align-items:center; justify-content:space-between;
      padding:0 24px; gap:14px;
    }
    .psh-left{display:flex; align-items:center; gap:18px; min-width:0;}
    .psh-brand{display:inline-flex; align-items:center; gap:10px; text-decoration:none; min-width:0;}
    .psh-brand img{height:38px; display:block;}

    .psh-nav{display:flex; align-items:center; gap:12px; min-width:0;}
    .psh-link{
      display:inline-flex; align-items:center;
      padding:10px 12px; border-radius:14px;
      font-weight:800; font-size:.92rem;
      color:var(--c-text-main,#0f172a);
      text-decoration:none;
      transition:background .15s ease, color .15s ease;
      white-space:nowrap;
    }
    .psh-link:hover{background:rgba(15,23,42,.04);}

    .psh-right{display:flex; align-items:center; gap:10px; min-width:0;}

    /* language dropdown */
    .psh-lang{position:relative;}
    .psh-langbtn{
      display:inline-flex; align-items:center; gap:8px;
      padding:10px 12px;
      border-radius:999px;
      border:1px solid rgba(148,163,184,.35);
      background:rgba(255,255,255,.95);
      font-weight:900; font-size:.86rem;
      color:var(--c-text-main,#0f172a);
      cursor:pointer; user-select:none;
      max-width:220px;
    }
    .psh-flag{display:inline-flex; flex:0 0 auto;}
    .psh-code{white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
    .psh-caret{width:16px; height:16px; flex:0 0 auto; opacity:.7;}

    .psh-langmenu{
      position:absolute; right:0; top:calc(100% + 12px);
      width:210px;
      background:#fff;
      border:1px solid rgba(148,163,184,.35);
      border-radius:18px;
      box-shadow:0 18px 45px rgba(15,23,42,.14);
      overflow:hidden;
      display:none;
    }
    .psh-lang.psh-open .psh-langmenu{display:block;}
    .psh-langopt{
      display:flex; align-items:center; gap:10px;
      padding:11px 12px;
      text-decoration:none;
      font-weight:900; font-size:.9rem;
      color:var(--c-text-body,#475569);
    }
    .psh-langopt:hover{background:rgba(15,23,42,.04); color:var(--c-text-main,#0f172a);}
    .psh-langopt.psh-active{background:rgba(59,130,246,.08); color:var(--c-text-main,#0f172a);}

    /* burger */
    .psh-burger{
      width:44px; height:44px;
      border-radius:999px;
      border:1px solid rgba(148,163,184,.35);
      background:rgba(255,255,255,.95);
      display:none;
      align-items:center; justify-content:center;
      cursor:pointer;
    }
    .psh-burger svg{width:18px; height:18px;}

    /* drawer */
    .psh-drawer{
      position:fixed; inset:0;
      background:rgba(15,23,42,.38);
      display:none;
      z-index:4000;
    }
    .psh-drawer.psh-open{display:block;}
    .psh-panel{
      position:absolute; left:16px; right:16px; top:92px;
      background:#fff;
      border:1px solid rgba(148,163,184,.35);
      border-radius:24px;
      box-shadow:0 25px 70px rgba(15,23,42,.22);
      padding:14px;
    }
    .psh-paneltop{display:flex; align-items:center; justify-content:space-between; gap:10px;}
    .psh-title{font-weight:950; color:var(--c-text-main,#0f172a);}
    .psh-close{
      width:44px; height:44px;
      border-radius:999px;
      border:1px solid rgba(148,163,184,.35);
      background:#fff;
      display:inline-flex; align-items:center; justify-content:center;
      cursor:pointer;
    }
    .psh-close svg{width:18px; height:18px;}

    .psh-grid{display:grid; gap:10px; margin-top:12px;}
    .psh-cardlink{
      display:flex; align-items:center; justify-content:space-between; gap:10px;
      padding:12px 12px;
      border-radius:18px;
      border:1px solid rgba(148,163,184,.28);
      text-decoration:none;
      color:var(--c-text-main,#0f172a);
      font-weight:900;
    }
    .psh-cardlink:hover{background:rgba(15,23,42,.03);}
    .psh-sub{margin-top:10px; font-weight:900; color:var(--c-text-body,#475569); font-size:.85rem;}
    .psh-grid2{display:grid; gap:8px; margin-top:8px;}
    .psh-mini{
      display:flex; align-items:center; gap:10px;
      padding:10px 12px;
      border-radius:16px;
      border:1px solid rgba(148,163,184,.22);
      text-decoration:none;
      color:var(--c-text-body,#475569);
      font-weight:900;
    }
    .psh-mini:hover{background:rgba(15,23,42,.03); color:var(--c-text-main,#0f172a);}

    /* responsive to match detail.css behavior */
    @media (max-width: 600px){
      .psh-root{top:16px; height:64px; width:calc(100% - 32px);}
      .psh-inner{padding:0 16px;}
      .psh-nav{display:none;}
      .psh-burger{display:inline-flex;}
      .psh-langbtn{max-width:150px; padding:8px 10px;}
    }

    /* safety: prevent flex overflow */
    .psh-root *{min-width:0;}