:root { --primary: #059eff; --secondary: #def3ff; --text-dark: #000000; --text-body: #4a4a4a; --bg-page: #f8f9fa; --border-color: #e5e9f0; } .blog-index-page { background-color: var(--bg-page); min-height: 100vh; } .container-1200 { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; } .section-padding { padding: 60px 0; } /* --- Hero Banner --- */ .op-hero { position: relative; min-height: 200px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; } .op-hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.3); z-index: 1; } .op-hero-content { position: relative; z-index: 2; padding: 60px 24px; } .op-hero-content h1 { color: #fff; font-size: 42px; font-weight: 800; margin: 0; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); } /* --- Main Layout --- */ .bi-main-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; } /* --- Left Column: Blog Grid --- */ .bi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; } .bi-card { background: #ffffff; border-radius: 4px; overflow: hidden; transition: box-shadow 0.3s ease, transform 0.3s ease; display: flex; flex-direction: column; } .bi-card:hover { box-shadow: 0 10px 20px rgba(5, 158, 255, 0.1); transform: translateY(-5px); border-color: #29c3d4; } .bi-card-img-wrap { display: block; height: 220px; overflow: hidden; position: relative; } .bi-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } .bi-card:hover .bi-card-img-wrap img { transform: scale(1.05); } .bi-card-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--secondary), #f0f8ff); } /* Card overlay on hover */ .bi-card-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; } .bi-card-img-wrap:hover .bi-card-overlay { opacity: 1; } .bi-read-label { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 10px 20px; border: 2px solid #fff; border-radius: 4px; } .bi-card-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; } .bi-card-title { font-size: 18px; font-weight: 700; margin: 0; line-height: 1.4; } .bi-card-title a { color: var(--text-dark); text-decoration: none; transition: color 0.3s; } .bi-card-title a:hover { color: #e74c3c; } .bi-empty { grid-column: 1 / -1; text-align: center; color: var(--text-body); font-size: 16px; padding: 40px 0; } /* --- Right Column: Sidebar --- */ .bi-sidebar { display: flex; flex-direction: column; gap: 35px; } .bi-widget { background: #ffffff; border: 1px solid var(--border-color); padding: 25px; border-radius: 4px; } .bi-widget-title { font-size: 16px; font-weight: 400; color: #000000; letter-spacing: 1px; padding: 10px 0; margin-bottom: 20px; text-transform: uppercase; word-spacing: 1px; position: relative; border-bottom: 2px solid var(--border-color); } .bi-widget-title span { color: #2ab0dd; } /* Categories Widget */ .bi-category-list { list-style: none; padding: 0; margin: 0; } .bi-category-list li { border-bottom: 1px solid #f0f0f0; } .bi-category-list li:last-child { border-bottom: none; } .bi-category-list a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; color: var(--text-body); font-size: 14px; font-weight: 600; text-decoration: none; transition: color 0.3s; } .bi-category-list a:hover, .bi-category-list a.is-active { color: #e74c3c; } .bi-category-list a span { font-weight: 400; color: #999; } /* Recent Posts Widget */ .bi-recent-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 15px; } .bi-recent-list li { display: flex; align-items: center; gap: 15px; } .bi-recent-list img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border-color); } .bi-recent-list a { color: var(--text-dark); font-size: 13px; font-weight: 600; text-decoration: none; line-height: 1.4; transition: color 0.3s; } .bi-recent-list a:hover { color: #e74c3c; } .bi-recent-info a { color: var(--text-dark); font-size: 13px; font-weight: 600; text-decoration: none; line-height: 1.4; transition: color 0.3s; } .bi-recent-info a:hover { color: #e74c3c; } /* Tags Cloud Widget */ .bi-tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; } .bi-tags-cloud a { display: inline-block; padding: 6px 12px; background: #ffffff; border: 1px solid var(--border-color); color: var(--text-body); font-size: 11px; font-weight: 600; text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: all 0.3s ease; } .bi-tags-cloud a:hover { color: #fff; background: #e74c3c; border-color: #e74c3c; } /* --- Responsive Queries --- */ @media (max-width: 1024px) { .bi-main-layout { grid-template-columns: 1fr 280px; gap: 30px; } } @media (max-width: 991px) { .bi-main-layout { grid-template-columns: 1fr; } .bi-sidebar { order: 2; } } @media (max-width: 767px) { .op-hero-content h1 { font-size: 28px; } .bi-grid { grid-template-columns: 1fr; } }