/* bw-blog-index.css — extracted from inline <style> during CSS centralisation.
 * Loaded alongside bw-base.css. Cascade order: bw-base.css first,
 * this file second (page-type rules win where they overlap).
 */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; overflow-x: hidden; }

        .skip-link { position: absolute; top: -40px; left: 0; background: #000; color: #fff; padding: 0.6rem 1rem; z-index: 10000; text-decoration: none; border-radius: 0 0 4px 0; }
        .skip-link:focus { top: 0; outline: 2px solid #FDB827; }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
            background: #fafafa;
            color: #1a1a1a;
            overflow-x: hidden;
            line-height: 1.6;
        }

        :root {
            --blue: #009CD9;
            --green: #3BB54A;
            --amber: #FDB827;
            --red: #EE3826;
            --purple: #7E3FB0;
            --text-dark: #1a1a1a;
            --text-body: #4a4a4a;
            --text-muted: #6b7280;
            --line: #e6e6e6;
        }

        a { color: inherit; text-decoration: none; }
        img { max-width: 100%; display: block; }

        /* NAVBAR (matches site standard, dark) */
        .navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0.6rem 2rem; background: rgba(15,15,15,0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: flex; justify-content: space-between; align-items: center; transition: padding 0.3s; border-bottom: 1px solid rgba(255,255,255,0.04); }
        .navbar.scrolled { padding: 0.4rem 2rem; background: rgba(15,15,15,0.98); }
        .navbar-logo img { height: 56px; width: auto; }
        .nav-links { display: flex; list-style: none; gap: 1.8rem; align-items: center; }
        .nav-links a { color: rgba(255,255,255,0.92); font-size: 0.92rem; font-weight: 500; padding: 0.5rem 0; position: relative; transition: color 0.3s; }
        .nav-links a:hover, .nav-links a.active { color: var(--amber); }
        .nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: center; transition: transform 0.3s; }
        .nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

        .menu-toggle { display: none; background: none; border: none; color: white; font-size: 1.4rem; cursor: pointer; }
        .mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15,15,15,0.98); z-index: 999; flex-direction: column; padding: 6rem 2rem 2rem; gap: 0.4rem; transform: translateX(-100%); transition: transform 0.4s ease-in-out; }
        .mobile-menu.open { display: flex; transform: translateX(0); }
        .mobile-menu a { color: white; font-size: 1.1rem; padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); text-decoration: none; }
        .mobile-menu-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

        @media (max-width: 900px) {
            .nav-links { display: none; }
            .menu-toggle { display: block; }
        }

        /* PAGE HEADER */
        .page-header { position: relative; background: #0f0f0f url('images/hero/hero-3.jpg') center/cover no-repeat; background-attachment: fixed; color: white; padding: 9rem 2rem 5rem; text-align: center; overflow: hidden; }
        .page-header::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,15,0.55) 0%, rgba(15,15,15,0.85) 100%), radial-gradient(circle at 30% 50%, rgba(0,156,217,0.2) 0%, transparent 60%), radial-gradient(circle at 70% 50%, rgba(253,184,39,0.15) 0%, transparent 60%); pointer-events: none; }
        .page-header-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
        .breadcrumb { display: inline-flex; justify-content: center; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 1.25rem; letter-spacing: 0.05em; text-transform: uppercase; }
        .breadcrumb a { color: rgba(255,255,255,0.7); transition: color 0.3s; }
        .breadcrumb a:hover { color: var(--amber); }
        .breadcrumb i { font-size: 0.65rem; opacity: 0.5; }
        .page-title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; margin-bottom: 1.25rem; line-height: 1.05; letter-spacing: -0.02em; text-shadow: 0 4px 30px rgba(0,0,0,0.5); }
        .page-subtitle { font-size: clamp(1rem, 1.5vw, 1.15rem); color: rgba(255,255,255,0.9); max-width: 650px; margin: 0 auto; line-height: 1.7; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }

        @media (max-width: 768px) {
            .page-header { padding: 6rem 1.25rem 3rem; background-attachment: scroll; }
            .page-title { font-size: 2.1rem; }
            .page-subtitle { font-size: 0.95rem; }
        }

        /* BLOG GRID */
        .blog-section { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
        /* min(340px, 100%) — on screens narrower than 340px (after section
           padding), the grid item floor drops to 100% of available space
           instead of forcing 340px. Without this the 340px floor pushes the
           grid wider than a 375px viewport. */
        .blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 2rem; }
        .blog-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,0.05); transition: transform 0.35s ease, box-shadow 0.35s ease; border: 1px solid var(--line); display: flex; flex-direction: column; }
        .blog-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(0,0,0,0.12); }
        .blog-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
        .blog-card-image { height: 200px; background-size: cover; background-position: center; position: relative; }
        .blog-card-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.25)); }

        .blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
        .blog-card-meta { display: flex; gap: 1rem; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.85rem; }
        .blog-card-meta i { margin-right: 0.3rem; opacity: 0.8; }
        .blog-card-body h2 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.85rem; color: var(--text-dark); }
        .blog-card-body p { font-size: 0.92rem; color: var(--text-body); line-height: 1.6; margin-bottom: 1.25rem; flex: 1; }
        .blog-card-cta { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 700; color: #9a6d09; transition: gap 0.3s; }
        .blog-card-cta i { font-size: 0.75rem; transition: transform 0.3s; }
        .blog-card:hover .blog-card-cta { gap: 0.7rem; }
        .blog-card:hover .blog-card-cta i { transform: translateX(3px); }

        /* FOOTER */
        .footer { background: #0a0a0a; color: rgba(255,255,255,0.65); margin-top: 4rem; }
        .footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 3.5rem 2rem; max-width: 1200px; margin: 0 auto; align-items: center; }
        .footer-main img { max-width: 280px; opacity: 0.85; }
        .footer-search h3 { color: white; font-size: 1.2rem; margin-bottom: 0.75rem; font-weight: 600; }
        .footer-search p { font-size: 0.92rem; color: rgba(255,255,255,0.65); margin-bottom: 1.25rem; }
        .footer-search .search-form { display: flex; gap: 0; }
        .footer-search input { flex: 1; padding: 0.7rem 0.9rem; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); color: white; font-size: 0.9rem; border-radius: 6px 0 0 6px; outline: none; }
        .footer-search input::placeholder { color: rgba(255,255,255,0.4); }
        .footer-search button { padding: 0.7rem 1.5rem; background: #1f6b27; color: white; border: none; cursor: pointer; font-size: 0.9rem; font-weight: 700; border-radius: 0 6px 6px 0; }
        .footer-search button:hover { background: #185220; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 1.5rem 2rem; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
        .footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.3s; }
        .footer-bottom a:hover { color: var(--amber); }

        @media (max-width: 768px) {
            .footer-main { grid-template-columns: 1fr; gap: 2rem; text-align: center; padding: 2.5rem 1.25rem; }
            .footer-main > div:first-child { display: flex; justify-content: center; }
        }

        /* Products dropdown */
        .nav-links > li { position: relative; }
        .nav-links .has-dropdown > a .chev { font-size: 0.6rem; margin-left: 0.4rem; transition: transform 0.25s; opacity: 0.75; }
        .nav-links .has-dropdown:hover > a .chev { transform: rotate(180deg); opacity: 1; }
        .dropdown { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(-6px); background: rgba(15,15,15,0.98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); min-width: 230px; padding: 0.4rem 0; border-radius: 10px; list-style: none; box-shadow: 0 18px 45px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.06); opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; pointer-events: none; }
        .nav-links .has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
        .dropdown li { padding: 0; }
        .nav-links .dropdown a { display: block; padding: 0.7rem 1.5rem; font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.88); border-left: 3px solid transparent; transition: background 0.15s, color 0.15s, border-left-color 0.15s; }
        .nav-links .dropdown a:hover { background: rgba(255,255,255,0.04); color: var(--amber, #FDB827); border-left-color: var(--amber, #FDB827); }
        .nav-links .dropdown a::after { display: none !important; }
        .dropdown-divider { border-top: 1px solid rgba(255,255,255,0.08); margin: 0.35rem 0; pointer-events: none; }
        .mobile-section { font-weight: 700 !important; }
        .mobile-sub { padding-left: 1.25rem !important; font-size: 0.95rem !important; opacity: 0.92; }
