/* Asbico - Insights page styles (extracted from inline <style>) */

    /* ── Insights Page Styles ── */

    /* ── Filter Bar ── */

    .news-page { padding: 20px 0 80px; }

    .news-filter-bar {

      display: flex; align-items: center; gap: 12px; flex-wrap: wrap;

      margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border);

    }

    .filter-label { font-size: .8rem; color: var(--text-light); font-weight: 600; margin-right: 4px; line-height: 34px; white-space: nowrap; }

    .category-select {

      height: 34px; padding: 0 26px 0 14px; border-radius: 20px; font-size: .82rem; cursor: pointer;

      border: 1px solid var(--border); background: #fff; color: var(--text-body);

      transition: all .2s; font-family: inherit; font-weight: 500; outline: none;

      min-width: 140px;

    }

    .category-select:hover, .category-select:focus { border-color: var(--primary); }

    .filter-search {

      margin-left: auto; position: relative; height: 34px; width: 240px; max-width: 100%;

    }

    .filter-search input {

      height: 34px; width: 100%; padding: 0 14px 0 32px; border: 1px solid var(--border); border-radius: 20px;

      font-size: .82rem; outline: none; font-family: inherit;

      transition: border-color .2s;

    }

    .filter-search input:focus { border-color: var(--secondary); }

    .filter-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-light); font-size: .8rem; }



    /* ── News Grid ── */

    .news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }

    @media(max-width:1024px) { .news-layout { grid-template-columns: 1fr; } }





    .news-list { display: flex; flex-direction: column; gap: 16px; }

    .no-results {

      text-align: center; padding: 60px 20px; color: var(--text-light);

      background: var(--bg-light); border-radius: 12px; border: 1px dashed var(--border);

    }

    .no-results i { font-size: 3rem; margin-bottom: 16px; opacity: .4; display: block; }



    /* ── News Card ── */

    .news-card-h {

      display: grid; grid-template-columns: 280px 1fr; border-radius: 12px;

      overflow: hidden; background: #fff; border: 1px solid var(--border);

      transition: all .3s; box-shadow: 0 2px 8px rgba(0,0,0,.05);

    }

    .news-card-h:hover { box-shadow: 0 8px 28px rgba(0,0,0,.12); transform: translateY(-2px); }

    .news-card-h.featured-card { grid-template-columns: 280px 1fr; align-items: stretch; }

    @media(max-width:760px) { .news-card-h, .news-card-h.featured-card { grid-template-columns: 1fr; } }



    .news-card-img {

      position: relative; background: var(--bg-gray); overflow: hidden;

      aspect-ratio: 16 / 9; min-height: 0; display: flex; align-items: center; justify-content: center;

    }

    .news-card-h.featured-card .news-card-img { aspect-ratio: 16 / 9; }

    .news-card-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

    .news-card-img .img-icon { font-size: 3rem; color: #ccc; }

    .news-cat-badge {

      position: absolute; top: 0; left: 0;

      background: var(--primary); color: #fff; font-size: .6rem; font-weight: 700;

      padding: 2px 6px; border-radius: 0; z-index: 1;

    }

    .news-tag-badge {

      position: absolute; top: 14px; right: 14px;

      background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700;

      padding: 3px 10px; border-radius: 20px; z-index: 1;

    }



    .news-card-body { padding: 14px; display: flex; flex-direction: column; justify-content: space-between; }

    .news-meta { display: flex; align-items: center; gap: 14px; font-size: .78rem; color: var(--text-light); margin-bottom: 6px; flex-wrap: wrap; }

    .news-meta i { color: var(--accent); margin-right: 4px; }

    .news-card-body h3 { font-size: .9rem; font-weight: 700; color: var(--text-dark); line-height: 1.4; margin-bottom: 4px; }

    .news-card-h.featured-card .news-card-body h3 { font-size: .9rem; }

    .news-card-body h3 a { color: inherit; }

    .news-card-body h3 a:hover { color: var(--primary); }

    .news-card-body p { color: var(--text-body); font-size: .8rem; line-height: 1.55; flex: 1; margin-bottom: 6px; }

    .news-read-link {

      display: inline-flex; align-items: center; gap: 6px;

      color: var(--secondary); font-weight: 600; font-size: .875rem;

      padding: 8px 0; border-bottom: 2px solid transparent; transition: all .2s;

      align-self: flex-start;

    }

    .news-read-link:hover { border-bottom-color: var(--secondary); }



    /* Pagination */

    .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }

    .page-btn {

      width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--border);

      background: #fff; font-size: .875rem; cursor: pointer; display: flex; align-items: center;

      justify-content: center; transition: all .2s; color: var(--text-body); font-family: inherit;

    }

    .page-btn.active, .page-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

    .page-btn:disabled { opacity: .4; cursor: not-allowed; }



    /* ── Sidebar ── */

    .news-sidebar { display: flex; flex-direction: column; gap: 24px; }

    .sidebar-widget {

      background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden;

    }

    .widget-header {

      padding: 16px 20px; background: var(--secondary); color: #fff;

      font-size: .9rem; font-weight: 700; display: flex; align-items: center; gap: 8px;

    }

    .widget-body { padding: 20px; }



    /* Category list */

    .cat-list { display: flex; flex-direction: column; gap: 4px; }

    .cat-list-item {

      display: flex; justify-content: space-between; align-items: center;

      padding: 9px 12px; border-radius: 8px; cursor: pointer; transition: all .2s;

      font-size: .875rem; color: var(--text-body);

    }

    .cat-list-item:hover, .cat-list-item.active { background: #fef6f5; color: var(--primary); font-weight: 600; }

    .cat-count { background: var(--bg-gray); padding: 2px 8px; border-radius: 10px; font-size: .75rem; }



    /* Latest articles */

    .recent-list { display: flex; flex-direction: column; gap: 14px; }

    .recent-item { display: flex; gap: 12px; align-items: flex-start; }

    .recent-img {

      width: 60px; height: 50px; flex-shrink: 0; border-radius: 6px; overflow: hidden;

      background: var(--bg-gray); display: flex; align-items: center; justify-content: center;

    }

    .recent-img img { width: 100%; height: 100%; object-fit: cover; }

    .recent-img i { font-size: 1.2rem; color: #bbb; }

    .recent-info h3 { font-size: .8rem; font-weight: 600; color: var(--text-dark); line-height: 1.45; margin-bottom: 4px; overflow-wrap: break-word; word-break: break-word; }

    .recent-info h3 a:hover { color: var(--primary); }

    .recent-date { font-size: .75rem; color: var(--text-light); }



    /* Tag cloud */

    .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

    .tag-item {

      padding: 5px 14px; border-radius: 20px; border: 1px solid var(--border);

      font-size: .78rem; cursor: pointer; transition: all .2s; color: var(--text-body);

    }

    .tag-item:hover { background: var(--primary); color: #fff; border-color: var(--primary); }



    /* ── Article Detail Page ── */

    .article-detail-section { padding: 56px 0 80px; }

    .back-link {

      display: inline-flex; align-items: center; gap: 6px;

      color: var(--text-light); font-size: .9rem; margin-bottom: 24px;

      text-decoration: none; transition: color .2s;

    }

    .back-link:hover { color: var(--primary); }

    .article-detail-img {

      display: none; width: 100%; height: 280px; background: var(--bg-gray);

      align-items: center; justify-content: center; overflow: hidden;

      border-radius: 16px; margin-bottom: 32px;

    }

    .article-detail-img img { width: 100%; height: 100%; object-fit: cover; }

    .article-detail-img .article-img-icon { font-size: 4rem; color: #ccc; }

    .article-detail-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }

    .article-detail-badge { font-size: .75rem; padding: 3px 12px; border-radius: 12px; font-weight: 700; }

    .badge-cat { background: var(--primary); color: #fff; }

    .badge-tag { background: var(--accent); color: #fff; }

    .article-detail-date { font-size: .85rem; color: var(--text-light); display: flex; align-items: center; gap: 6px; }

    .article-detail-title { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); line-height: 1.4; margin-bottom: 16px; }

    .article-detail-author { font-size: .8rem; color: var(--text-light); margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }

    .article-detail-body { font-size: .95rem; line-height: 1.9; color: var(--text-body); max-width: 900px; margin: 0 auto; }

.article-detail-body table { max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1em 0; }

.article-detail-body td, .article-detail-body th { border: 1px solid #e3e6ec; padding: 6px 10px; }

    .article-detail-body p { margin-bottom: 1em; text-indent: 2em; }

/* Quill indent: paragraphs with inline indentation drop first-line indent (avoid stacking) */

.article-detail-body p[style*="margin-left"], .article-detail-body div[style*="margin-left"] { text-indent: 0; }

.article-detail-body p.ql-indent-1, .article-detail-body div.ql-indent-1 { text-indent: 0; margin-left: 2em; }

.article-detail-body p.ql-indent-2, .article-detail-body div.ql-indent-2 { text-indent: 0; margin-left: 4em; }

.article-detail-body p.ql-indent-3, .article-detail-body div.ql-indent-3 { text-indent: 0; margin-left: 6em; }

.article-detail-body p.ql-indent-4, .article-detail-body div.ql-indent-4 { text-indent: 0; margin-left: 8em; }

.article-detail-body p.ql-indent-5, .article-detail-body div.ql-indent-5 { text-indent: 0; margin-left: 10em; }

    .article-detail-body ul, .article-detail-body ol { margin-bottom: 1em; padding-left: 1.5em; }

    .article-detail-body li { margin-bottom: .4em; }

    .article-detail-body blockquote { border-left: 3px solid var(--primary); padding: 8px 16px; margin: 0 0 1em; background: #f9f9f9; border-radius: 0 6px 6px 0; color: #555; }

    .article-detail-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 1em 0; }

    .article-detail-body .ql-font-roboto { font-family: 'Roboto', sans-serif; }

    .article-detail-body .ql-font-open-sans { font-family: 'Open Sans', sans-serif; }

    .article-detail-body .ql-font-lato { font-family: 'Lato', sans-serif; }

    .article-detail-body .ql-font-montserrat { font-family: 'Montserrat', sans-serif; }

    .article-detail-body .ql-font-oswald { font-family: 'Oswald', sans-serif; }

    .article-detail-body .ql-font-raleway { font-family: 'Raleway', sans-serif; }

    .article-detail-body .ql-font-poppins { font-family: 'Poppins', sans-serif; }

    .article-detail-body .ql-font-inter { font-family: 'Inter', sans-serif; }

    .article-detail-body .ql-font-merriweather { font-family: 'Merriweather', serif; }

    .article-detail-body .ql-font-playfair-display { font-family: 'Playfair Display', serif; }

    .article-detail-body .ql-font-nunito { font-family: 'Nunito', sans-serif; }

.article-detail-body .ql-align-center { text-align: center; }

.article-detail-body .ql-align-right { text-align: right; }

.article-detail-body .ql-align-justify { text-align: justify; }

.article-detail-body .ql-align-left { text-align: left; }

.article-detail-body img[data-align="center"] { display: block; margin-left: auto; margin-right: auto; }

.article-detail-body img[data-align="right"] { display: block; margin-left: auto; margin-right: 0; }

.article-detail-body img[data-align="left"] { display: block; margin-right: auto; margin-left: 0; }

.article-detail-body [data-align="center"] { text-align: center; }

.article-detail-body [data-align="right"] { text-align: right; }

.article-detail-body [data-align="left"] { text-align: left; }

    .article-detail-body strong { font-weight: 700; }

    .article-detail-body h1, .article-detail-body h2, .article-detail-body h3 { margin-bottom: .6em; font-weight: 700; line-height: 1.3; }

    .article-detail-body h1 { font-size: 1.5rem; }

    .article-detail-body h2 { font-size: 1.25rem; }

    .article-detail-body h3 { font-size: 1.1rem; }



    /* Related articles */

    .article-related { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }

    .related-title { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; }

    .article-related .recent-list { gap: 10px; }

    .related-item { padding: 10px 0; }



    /* Footer bottom */

    .results-info { font-size: .85rem; color: var(--text-light); margin-bottom: 20px; }

    strong.highlight { color: var(--primary); }


    @media(max-width:768px) { .news-sidebar { display: none; } .page-btn { min-width: 44px; min-height: 44px; }

      .news-filter-bar { gap: 8px; }

      .category-select { flex: 1; min-width: 0; height: 40px; }

      .filter-search { margin-left: 0; flex: 1; min-width: 0; width: auto; height: 40px; }

      .filter-search input { height: 40px; }

      .filter-label { line-height: 40px; }

    }
