/* BQC India Blog — sits on top of the main site's style.css.
   Brand colours taken from bqcindia.com: blue #4d8eff, yellow #f8b600, dark #222222, grey #777777, light #f9f9ff. */
:root {
    --bqc-blue: #4d8eff;
    --bqc-blue-dark: #2f6fe0;
    --bqc-yellow: #f8b600;
    --bqc-dark: #222222;
    --bqc-grey: #777777;
    --bqc-light: #f9f9ff;
    --bqc-line: #e6e9f2;
}

body.bqc-blog { font-family: "Roboto", sans-serif; color: #555; background: #fff; }
.bqc-main p, .bqc-main li { text-align: left; }

/* Logged-in admin bar: keep the site header below it instead of hidden under it */
.admin-bar .header_area { top: 32px; }
@media (max-width: 782px) { .admin-bar .header_area { top: 46px; } }
.bqc-blog a { transition: color .2s, background .2s, border-color .2s; }

/* ---------- Banner (matches main site inner pages) ---------- */
.bqc-banner .banner_inner { min-height: 330px; padding-top: 120px; padding-bottom: 30px; }
.bqc-banner .banner_inner .overlay { background-size: cover; }
.bqc-banner .banner_inner .overlay::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(34, 34, 34, .55), rgba(77, 142, 255, .35));
}
.bqc-banner .bqc-banner-title { color: #fff; font-size: 44px; font-weight: 700; margin-bottom: 10px; }
.banner_area.bqc-banner .banner_inner .banner_content .page_link a { margin-right: 6px; }
.banner_area.bqc-banner .banner_inner .banner_content .page_link a:before { display: none; }
.banner_area.bqc-banner .banner_inner .banner_content .page_link a + a:before {
    display: inline; content: "/"; font-family: inherit; position: static; transform: none;
    margin-right: 8px; opacity: .7;
}
@media (max-width: 767px) {
    .bqc-banner .bqc-banner-title { font-size: 30px; }
    .bqc-banner .banner_inner { min-height: 240px; padding-top: 100px; }
}

/* ---------- Layout ---------- */
.bqc-main { padding: 60px 0 80px; background: #fff; }
@media (max-width: 767px) { .bqc-main { padding: 30px 0 50px; } }
.bqc-intro { font-size: 16px; color: var(--bqc-grey); margin-bottom: 20px; }
.bqc-intro p { margin: 0; }

/* Topic chips */
.bqc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.bqc-chips a {
    border: 1px solid var(--bqc-line); border-radius: 20px; padding: 5px 14px;
    font-size: 13px; font-weight: 500; color: var(--bqc-dark); background: #fff;
}
.bqc-chips a:hover, .bqc-chips a.active { background: var(--bqc-blue); border-color: var(--bqc-blue); color: #fff; }

/* ---------- Cards ---------- */
.bqc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 767px) { .bqc-grid { grid-template-columns: 1fr; } }
.bqc-card {
    background: #fff; border: 1px solid var(--bqc-line); border-radius: 6px; overflow: hidden;
    display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
    transition: box-shadow .2s, transform .2s;
}
.bqc-card:hover { box-shadow: 0 10px 30px rgba(77, 142, 255, .15); transform: translateY(-2px); }
.bqc-card-img { display: block; aspect-ratio: 16 / 9; background: var(--bqc-light); overflow: hidden; }
.bqc-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bqc-card-placeholder {
    display: flex; align-items: center; justify-content: center; height: 100%;
    font-size: 26px; font-weight: 700; color: #fff; letter-spacing: 1px;
    background: linear-gradient(135deg, var(--bqc-blue), #38a4ff 60%, #4cd3e3);
}
.bqc-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.bqc-card-title { font-size: 18px; line-height: 1.4; font-weight: 600; margin: 8px 0 10px; }
.bqc-card-title a { color: var(--bqc-dark); }
.bqc-card-title a:hover { color: var(--bqc-blue); }
.bqc-card-excerpt { font-size: 14px; line-height: 1.65; color: var(--bqc-grey); margin-bottom: 14px; flex: 1; }

.bqc-tag {
    display: inline-block; align-self: flex-start; background: rgba(248, 182, 0, .15); color: #8a6500;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
    padding: 3px 10px; border-radius: 3px;
}
.bqc-tag:hover { background: var(--bqc-yellow); color: var(--bqc-dark); }
.bqc-meta { font-size: 13px; color: #999; margin: 0; }
.bqc-meta .fa { color: var(--bqc-blue); margin-right: 3px; }

/* ---------- Pagination ---------- */
.bqc-pagination { margin-top: 40px; }
.bqc-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.bqc-pagination .page-numbers {
    display: inline-block; min-width: 38px; padding: 7px 12px; text-align: center;
    border: 1px solid var(--bqc-line); border-radius: 4px; color: var(--bqc-dark); font-size: 14px;
}
.bqc-pagination .page-numbers.current, .bqc-pagination a.page-numbers:hover { background: var(--bqc-blue); border-color: var(--bqc-blue); color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Single post ---------- */
.bqc-post-header { margin-bottom: 24px; }
.bqc-post-title { font-size: 34px; line-height: 1.3; color: var(--bqc-dark); font-weight: 700; margin: 12px 0 12px; }
@media (max-width: 767px) { .bqc-post-title { font-size: 26px; } }
.bqc-post-image { margin: 0 0 28px; }
.bqc-post-image img { width: 100%; height: auto; border-radius: 6px; }

.bqc-content { font-size: 16px; line-height: 1.8; color: #444; }
.bqc-content > * + * { margin-top: 1em; }
.bqc-content h2 { font-size: 26px; color: var(--bqc-dark); font-weight: 700; margin-top: 1.8em; padding-left: 14px; border-left: 4px solid var(--bqc-blue); scroll-margin-top: 90px; }
.bqc-content h3 { font-size: 20px; color: var(--bqc-dark); font-weight: 600; margin-top: 1.5em; }
.bqc-content h4 { font-size: 17px; color: var(--bqc-dark); font-weight: 600; }
.bqc-content a { color: var(--bqc-blue); text-decoration: underline; text-underline-offset: 2px; }
.bqc-content a:hover { color: var(--bqc-blue-dark); }
.bqc-content ul, .bqc-content ol { padding-left: 1.4em; }
.bqc-content li + li { margin-top: .35em; }
.bqc-content img { max-width: 100%; height: auto; border-radius: 4px; }
.bqc-content blockquote {
    border-left: 4px solid var(--bqc-yellow); background: #fffaf0; padding: 14px 20px; margin: 1.5em 0;
    font-style: normal; color: #555;
}
.bqc-content table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.5em 0; display: block; overflow-x: auto; }
.bqc-content table th { background: var(--bqc-blue); color: #fff; font-weight: 600; }
.bqc-content table th, .bqc-content table td { border: 1px solid var(--bqc-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.bqc-content table tr:nth-child(even) td { background: var(--bqc-light); }
.bqc-content .wp-block-table { overflow-x: auto; }
.bqc-content details { border: 1px solid var(--bqc-line); border-radius: 4px; padding: 12px 16px; }
.bqc-content details + details { margin-top: 8px; }
.bqc-content summary { font-weight: 600; color: var(--bqc-dark); cursor: pointer; }

/* Note boxes: add class "bqc-note" or "bqc-warning" to a paragraph/group block */
.bqc-content .bqc-note { background: #f1f9ff; border-left: 4px solid var(--bqc-blue); padding: 14px 18px; border-radius: 3px; }
.bqc-content .bqc-warning { background: #fff7e0; border-left: 4px solid var(--bqc-yellow); padding: 14px 18px; border-radius: 3px; }

/* Table of contents */
.bqc-toc { background: var(--bqc-light); border: 1px solid var(--bqc-line); border-radius: 6px; padding: 18px 22px; margin: 0 0 1.5em; }
.bqc-toc-title { font-weight: 700; color: var(--bqc-dark); margin: 0 0 8px; text-transform: uppercase; font-size: 13px; letter-spacing: .8px; }
.bqc-toc ol { margin: 0; padding-left: 1.2em; }
.bqc-toc a { text-decoration: none; color: var(--bqc-dark); }
.bqc-toc a:hover { color: var(--bqc-blue); }

.bqc-tags { margin-top: 28px; font-size: 14px; }
.bqc-tags a { display: inline-block; border: 1px solid var(--bqc-line); padding: 2px 10px; border-radius: 3px; color: var(--bqc-grey); margin: 0 4px 4px 0; }
.bqc-tags a:hover { border-color: var(--bqc-blue); color: var(--bqc-blue); }

.bqc-share { display: flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 500; color: var(--bqc-dark); }
.bqc-share a {
    width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--bqc-light); border: 1px solid var(--bqc-line); color: var(--bqc-dark);
}
.bqc-share a:hover { background: var(--bqc-blue); border-color: var(--bqc-blue); color: #fff; }

.bqc-related { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--bqc-line); }
.bqc-related h2 { font-size: 22px; color: var(--bqc-dark); font-weight: 700; margin-bottom: 20px; }

/* ---------- Call to action ---------- */
.bqc-cta {
    margin-top: 36px; padding: 26px 28px; border-radius: 6px; color: #fff;
    background: linear-gradient(135deg, var(--bqc-blue), #38a4ff);
    box-shadow: 0 10px 30px rgba(77, 142, 255, .25);
}
.bqc-cta h4 { color: #fff; font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.bqc-cta p { color: rgba(255, 255, 255, .92); font-size: 14px; margin-bottom: 16px; }
.bqc-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bqc-btn { display: inline-block; padding: 9px 18px; border-radius: 4px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.bqc-btn-primary { background: var(--bqc-yellow); color: var(--bqc-dark); }
.bqc-btn-primary:hover { background: #ffc828; color: var(--bqc-dark); }
.bqc-btn-wa { background: #25d366; color: #fff; }
.bqc-btn-wa:hover { background: #1eb455; color: #fff; }
.bqc-btn-ghost { border: 1px solid rgba(255, 255, 255, .8); color: #fff; }
.bqc-btn-ghost:hover { background: #fff; color: var(--bqc-blue); }
.bqc-cta-compact { margin: 0 0 30px; padding: 22px; }
.bqc-cta-compact h4 { font-size: 18px; }

/* ---------- Sidebar ---------- */
.bqc-sidebar { padding-left: 10px; }
@media (max-width: 991px) { .bqc-sidebar { padding-left: 0; margin-top: 50px; } }
.bqc-widget { margin-bottom: 30px; }
.bqc-widget-title {
    font-size: 16px; font-weight: 700; color: var(--bqc-dark); text-transform: uppercase; letter-spacing: .6px;
    padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--bqc-line); position: relative;
}
.bqc-widget-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 50px; height: 2px; background: var(--bqc-blue); }
.bqc-cat-list, .bqc-recent { list-style: none; padding: 0; margin: 0; }
.bqc-cat-list li a {
    display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--bqc-line);
    color: var(--bqc-dark); font-size: 14px;
}
.bqc-cat-list li a:hover { color: var(--bqc-blue); }
.bqc-cat-list li a span { color: #999; font-size: 13px; }
.bqc-recent li { padding: 10px 0; border-bottom: 1px dashed var(--bqc-line); }
.bqc-recent li a { display: block; color: var(--bqc-dark); font-size: 14px; font-weight: 500; line-height: 1.45; }
.bqc-recent li a:hover { color: var(--bqc-blue); }
.bqc-recent time { font-size: 12px; color: #999; }

.bqc-search { display: flex; border: 1px solid var(--bqc-line); border-radius: 4px; overflow: hidden; }
.bqc-search input { flex: 1; border: 0; padding: 11px 14px; font-size: 14px; outline: none; min-width: 0; }
.bqc-search button { border: 0; background: var(--bqc-blue); color: #fff; padding: 0 16px; cursor: pointer; }
.bqc-search button:hover { background: var(--bqc-blue-dark); }

.bqc-empty { text-align: center; padding: 40px 20px; max-width: 520px; margin: 0 auto; }
.bqc-empty h2 { color: var(--bqc-dark); font-size: 24px; }

/* Floating WhatsApp button */
.bqc-wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 999; width: 52px; height: 52px; border-radius: 50%;
    background: #25d366; color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.bqc-wa-float:hover { color: #fff; background: #1eb455; }

/* Footer link colour (email added) */
.footer-area .single-footer-widget p a { color: #fff; }
.footer-area .single-footer-widget p a:hover { color: var(--bqc-yellow); }
