/*
Theme Name: LifeVibe
Theme URI: https://themes.developer.com/lifevibe
Author: Developer
Description: Fresh modern theme with dual cyan-blue and green accents, featured showcase, and trending layout. Elementor compatible.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lifevibe
Tags: blog, news, magazine, grid-layout, custom-logo, custom-menu, featured-images, footer-widgets, elementor
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', sans-serif; color: #1a1a2e; background: #f8f9fa; line-height: 1.7; overflow-x: hidden; }
a { color: #0fb7ee; text-decoration: none; transition: color 0.2s; }
a:hover { color: #0a9dd0; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', sans-serif; color: #1a1a2e; line-height: 1.3; font-weight: 700; }

/* ===== LAYOUT ===== */
.site-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.content-area { display: flex; gap: 30px; padding: 30px 0; }
.main-content { flex: 1; min-width: 0; }
.sidebar-area { width: 300px; flex-shrink: 0; }
@media (max-width: 991px) { .content-area { flex-direction: column; } .sidebar-area { width: 100%; } }

/* ===== HEADER ===== */


.accent-bar { height: 3px; background: linear-gradient(90deg, #0fb7ee, #57cc99); position: fixed; top: 0; left: 0; right: 0; z-index: 1001; }
.site-header { top: 3px; }
body { padding-top: 73px; }
.site-header { background: #ffffff; color: #1a1a2e; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding .custom-logo { max-height: 40px; width: auto; }
.site-title { font-family: 'Inter', sans-serif; font-size: 26px; font-weight: 700; color: #1a1a2e; letter-spacing: -0.5px; }
.site-title a { color: inherit; } .site-title a:hover { color: #0fb7ee; }
.site-description { font-size: 12px; color: #999; margin-top: 2px; }

/* ===== HEADER SEARCH ===== */
.header-search { position: relative; }
.header-search input { background: #f5f5f5; border: 1px solid #eee; color: #1a1a2e; padding: 9px 16px; border-radius: 4px; font-size: 13px; width: 220px; transition: all 0.2s; font-family: 'Inter', sans-serif; }
.header-search input:focus { border-color: #0fb7ee; outline: none; width: 280px;  }
.header-search input::placeholder { color: #999; }

/* ===== MAIN NAVIGATION ===== */
.main-nav { background: #ffffff; border-bottom: 1px solid #eee; }
.main-nav .site-container { display: flex; align-items: center; justify-content: space-between; }
.nav-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 0; }
.nav-menu li { position: relative; }
.nav-menu li a { display: block; padding: 14px 18px; color: #1a1a2e; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.2s; border-bottom: 3px solid transparent; }
.nav-menu li a:hover, .nav-menu li.current-menu-item a, .nav-menu li.current_page_item a { color: #0fb7ee; border-bottom-color: #0fb7ee; }
.nav-menu li ul { display: none; position: absolute; top: 100%; left: 0; background: #ffffff; min-width: 220px; z-index: 200; border-top: 3px solid #0fb7ee; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.nav-menu li:hover > ul { display: block; }
.nav-menu li ul li a { padding: 10px 18px; font-size: 13px; text-transform: none; border-bottom: 1px solid #eee; }
.menu-toggle { display: none; background: none; border: none; color: #1a1a2e; font-size: 24px; cursor: pointer; padding: 10px; }
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-menu { display: none; flex-direction: column; width: 100%; }
  .nav-menu.active { display: flex; }
  .nav-menu li a { border-bottom-color: transparent; border-left: 3px solid transparent; }
  .nav-menu li a:hover { border-left-color: #0fb7ee; }
  .nav-menu li ul { position: static; box-shadow: none; border-top: none; }
  .nav-menu li ul li a { padding-left: 36px; }
}

/* ===== TICKER ===== */


/* ===== HERO ===== */




.hero-showcase { position: relative; border-radius: 8px; overflow: hidden; min-height: 540px; margin-bottom: 30px; background: #ddd; }
.hero-showcase img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.hero-showcase .hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 36px; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.hero-showcase .hero-category { display: inline-block; padding: 4px 14px; border-radius: 3px; font-size: 11px; font-weight: 700; color: #fff; text-transform: uppercase; margin-bottom: 12px; background: #57cc99; }
.hero-showcase .hero-title { font-size: 32px; font-weight: 700; color: #fff; line-height: 1.3; font-family: 'Inter', sans-serif; }
.hero-showcase .hero-title a { color: #fff; } .hero-showcase .hero-title a:hover { color: #0fb7ee; }
.hero-showcase .hero-date { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 8px; }
.hero-showcase .no-thumb-hero { width: 100%; height: 100%; position: absolute; top: 0; left: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0fb7ee, #57cc99); color: white; font-size: 60px; font-weight: 700; opacity: 0.3; }
.trending-section { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.trending-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.trending-card .trending-thumb { height: 120px; overflow: hidden; }
.trending-card .trending-thumb img { width: 100%; height: 100%; object-fit: cover; }
.trending-card .trending-body { padding: 12px; }
.trending-card .trending-title { font-size: 13px; font-weight: 700; line-height: 1.3; }
.trending-card .trending-title a { color: #1a1a2e; } .trending-card .trending-title a:hover { color: #0fb7ee; }
@media (max-width: 991px) { .trending-section { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .trending-section { grid-template-columns: 1fr; } .hero-showcase { min-height: 350px; } }

/* ===== POST CARDS ===== */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .posts-grid { grid-template-columns: 1fr; } }
.post-card { background: #ffffff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.post-card .card-thumb { position: relative; overflow: hidden; aspect-ratio: 16/10; background: #e0e0e0; }
.post-card .card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; transform: scale(1); }
.post-card:hover .card-thumb img { transform: scale(1.05); }
.post-card .card-thumb .no-thumb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0fb7ee, #0a9dd0); color: white; font-family: 'Inter', sans-serif; font-size: 28px; font-weight: 700; opacity: 0.6; }
.post-card .card-body { padding: 18px; }
.post-card .card-category { display: inline-block; padding: 3px 10px; border-radius: 3px; font-size: 11px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.post-card .card-title { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.post-card .card-title a { color: #1a1a2e; } .post-card .card-title a:hover { color: #0fb7ee; }
.post-card .card-excerpt { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .card-meta { font-size: 12px; color: #999; display: flex; align-items: center; gap: 12px; }

/* Category colors */
.cat-color-1 { background: #0fb7ee; }
.cat-color-2 { background: #57cc99; }
.cat-color-3 { background: #ff6b6b; }
.cat-color-4 { background: #ffd93d; }
.cat-color-5 { background: #6c5ce7; }
.cat-color-6 { background: #fd79a8; }
.cat-color-7 { background: #00b894; }
.cat-color-8 { background: #e17055; }

/* ===== SECTION HEADERS ===== */
.section-header { display: flex; align-items: center; margin-bottom: 24px; border-bottom: 3px solid #0fb7ee; padding-bottom: 10px; }
.section-title { font-size: 20px; font-weight: 700; color: #1a1a2e; text-transform: uppercase; }

/* ===== SIDEBAR ===== */
.widget { background: #fff; border-radius: 6px; padding: 22px; margin-bottom: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.widget-title { font-size: 16px; font-weight: 700; color: #1a1a2e; text-transform: uppercase; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 3px solid #0fb7ee; }
.widget ul { list-style: none; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: #1a1a2e; display: flex; justify-content: space-between; }
.widget ul li a:hover { color: #0fb7ee; }
.widget ul li .count { color: #999; font-size: 12px; }
.widget-recent-post { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee; }
.widget-recent-post:last-child { border-bottom: none; }
.widget-recent-post .wrp-thumb { width: 70px; height: 70px; border-radius: 4px; overflow: hidden; flex-shrink: 0; background: #e0e0e0; }
.widget-recent-post .wrp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-recent-post .wrp-content { flex: 1; min-width: 0; }
.widget-recent-post .wrp-title { font-size: 13px; font-weight: 700; line-height: 1.4; margin-bottom: 4px; }
.widget-recent-post .wrp-title a { color: #1a1a2e; } .widget-recent-post .wrp-title a:hover { color: #0fb7ee; }
.widget-recent-post .wrp-date { font-size: 11px; color: #999; }

/* ===== SINGLE POST ===== */
.single-post-content { background: #fff; border-radius: 6px; padding: 36px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.single-post-header { margin-bottom: 24px; }
.single-post-header .post-category { display: inline-block; padding: 4px 14px; border-radius: 3px; font-size: 12px; font-weight: 700; color: #fff; text-transform: uppercase; margin-bottom: 16px; }
.single-post-header h1 { font-size: 32px; line-height: 1.3; margin-bottom: 16px; }
.single-post-header .post-meta { font-size: 14px; color: #999; display: flex; flex-wrap: wrap; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.single-featured-image { margin-bottom: 24px; border-radius: 6px; overflow: hidden; }
.single-featured-image img { width: 100%; }
.entry-content { font-size: 17px; line-height: 1.8; color: #333; }
.entry-content p { margin-bottom: 1.5em; }
.entry-content h2 { font-size: 26px; margin: 1.5em 0 0.8em; }
.entry-content h3 { font-size: 22px; margin: 1.3em 0 0.6em; }
.entry-content h4 { font-size: 18px; margin: 1.2em 0 0.5em; }
.entry-content blockquote { border-left: 4px solid #0fb7ee; padding: 16px 24px; margin: 1.5em 0; background: rgba(0,0,0,0.02); font-style: italic; font-size: 18px; }
.entry-content ul, .entry-content ol { margin: 1em 0; padding-left: 2em; }
.entry-content li { margin-bottom: 0.5em; }
.entry-content img { border-radius: 6px; margin: 1em 0; }
.entry-content a { color: #0fb7ee; text-decoration: underline; }
.entry-content pre { background: #212121; color: #fff; padding: 20px; border-radius: 6px; overflow-x: auto; font-size: 14px; margin: 1.5em 0; }
.entry-content code { background: rgba(0,0,0,0.06); padding: 2px 6px; border-radius: 3px; font-size: 14px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid #eee; text-align: left; }
.entry-content th { background: #f5f5f5; font-weight: 700; }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 40px 0; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 4px; font-size: 14px; font-weight: 500; background: #fff; color: #1a1a2e; border: 1px solid #eee; transition: all 0.2s; }
.pagination a:hover { background: #0fb7ee; color: #fff; border-color: #0fb7ee; }
.pagination .current { background: #0fb7ee; color: #fff; border-color: #0fb7ee; }

/* ===== FOOTER ===== */
.site-footer { background: #ffffff; color: #666; margin-top: 40px; }
.footer-links { padding: 30px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; border-bottom: 1px solid #eee; }
.footer-links a { color: #666; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: #0fb7ee; }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 13px; color: #999; }
.footer-bottom a { color: #0fb7ee; }

/* ===== ARCHIVE / SEARCH HEADER ===== */
.archive-header { background: #fff; border-radius: 6px; padding: 24px 30px; margin-bottom: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.archive-header h1 { font-size: 24px; margin-bottom: 4px; }
.archive-header p { color: #999; font-size: 14px; }

/* ===== 404 ===== */
.error-404 { text-align: center; padding: 80px 20px; background: #fff; border-radius: 6px; }
.error-404 h1 { font-size: 120px; color: #0fb7ee; line-height: 1; margin-bottom: 16px; }
.error-404 h2 { font-size: 28px; margin-bottom: 16px; }
.error-404 p { font-size: 16px; color: #999; margin-bottom: 24px; }
.error-404 .btn { display: inline-block; padding: 12px 28px; background: #0fb7ee; color: #fff; border-radius: 4px; font-weight: 700; }
.error-404 .btn:hover { background: #0a9dd0; color: #fff; }

/* ===== COMMENTS ===== */
.comments-area { background: #fff; border-radius: 6px; padding: 30px; margin-top: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.comments-area h2 { font-size: 22px; margin-bottom: 24px; }
.comment-list { list-style: none; }
.comment-body { padding: 16px 0; border-bottom: 1px solid #eee; }
.comment-meta { font-size: 13px; color: #999; margin-bottom: 8px; }
.comment-meta .fn { font-weight: 700; color: #1a1a2e; }
.comment-content p { font-size: 15px; margin-bottom: 8px; }
.comment-reply-link { font-size: 13px; color: #0fb7ee; font-weight: 700; }
.comment-respond { margin-top: 24px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px 14px; border: 1px solid #eee; border-radius: 4px; font-size: 14px; margin-bottom: 12px; font-family: 'Inter', sans-serif; }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .submit { background: #0fb7ee; color: #fff; border: none; padding: 12px 28px; border-radius: 4px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; }
.comment-form .submit:hover { background: #0a9dd0; }

/* ===== MISC ===== */
.breadcrumbs { font-size: 13px; color: #999; padding: 16px 0; }
.breadcrumbs a { color: #0fb7ee; }
.breadcrumbs .sep { margin: 0 8px; }
.no-results { text-align: center; padding: 60px 20px; background: #fff; border-radius: 6px; }
.no-results h2 { margin-bottom: 12px; }
.no-results p { color: #999; }
.search-form { display: flex; gap: 8px; }
.search-form .search-field { flex: 1; padding: 10px 14px; border: 1px solid #eee; border-radius: 4px; font-size: 14px; }
.search-form .search-submit { background: #0fb7ee; color: #fff; border: none; padding: 10px 20px; border-radius: 4px; font-weight: 700; cursor: pointer; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden; }
.alignleft { float: left; margin: 0 1.5em 1.5em 0; }
.alignright { float: right; margin: 0 0 1.5em 1.5em; }
.aligncenter { display: block; margin: 1.5em auto; }
.wp-block-image { margin: 1.5em 0; }
.post-tags { margin-top: 24px; padding-top: 16px; border-top: 1px solid #eee; }
.post-tags a { display: inline-block; background: #f5f5f5; color: #666; padding: 4px 12px; border-radius: 3px; font-size: 12px; margin: 4px 4px 4px 0; transition: all 0.2s; }
.post-tags a:hover { background: #0fb7ee; color: #fff; }
