/*
Theme Name: Smartvariety Master Child
Version: 1.1.0
*/

body { background-color: #f0f2f5 !important; font-family: 'Sarabun', sans-serif !important; }

.container-main { max-width: 1100px; margin: 0 auto; padding: 20px; }

/* Top Nav */
.top-nav { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 15px 25px; border-radius: 15px; margin-bottom: 25px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.logo-icon { background: #007bff; color: #fff; padding: 5px 12px; border-radius: 8px; font-weight: bold; margin-right: 10px; }
.logo-name { font-weight: 700; font-size: 1.2rem; color: #333; }
.search-box input { background: #f1f3f5; border: none; padding: 10px 20px; border-radius: 20px; width: 300px; outline: none; }

/* Hero Section */
.hero-section { background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); padding: 40px; border-radius: 20px; margin-bottom: 30px; text-align: center; border: 1px solid #e9ecef; }
.hero-section h1 { font-size: 1.8rem; color: #1a1a1a; margin-bottom: 10px; }
.hero-section p { color: #6c757d; margin-bottom: 25px; }
.vuth-grid { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.vuth-item { background: #fff; border: 1px solid #dee2e6; padding: 12px 25px; border-radius: 30px; color: #495057; text-decoration: none; font-weight: 600; transition: 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.vuth-item:hover { border-color: #007bff; color: #007bff; transform: translateY(-2px); }

/* Common Cards */
.title-bar { font-size: 1.2rem; color: #333; margin-bottom: 20px; font-weight: 700; border-left: 5px solid #007bff; padding-left: 15px; }
.flex-header { display: flex; justify-content: space-between; align-items: center; }

/* Featured Card */
.featured-card { display: flex; background: #fff; padding: 25px; border-radius: 20px; text-decoration: none; align-items: center; gap: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #fff; transition: 0.3s; }
.featured-card:hover { border-color: #007bff; }
.card-img-circle, .mini-thumb { width: 90px; height: 90px; border-radius: 50%; background: #f8f9fa; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid #eee; }
.card-img-circle img, .mini-thumb img { width: 80%; height: 80%; object-fit: contain; }
.card-info h2 { font-size: 1.3rem; color: #1a1a1a; margin: 10px 0; }

/* Jobs Grid */
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.job-mini-card { display: flex; background: #fff; padding: 20px; border-radius: 20px; text-decoration: none; gap: 20px; align-items: center; transition: 0.3s; border: 1px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.job-mini-card:hover { border-color: #007bff; transform: scale(1.02); }
.job-mini-card h4 { font-size: 1.05rem; margin: 8px 0; color: #333; line-height: 1.5; }

/* Badges */
.badge-row { display: flex; gap: 8px; margin-bottom: 5px; }
.badge { font-size: 0.75rem; padding: 4px 12px; border-radius: 6px; font-weight: 600; }
.badge.blue { background: #e7f3ff; color: #007bff; }
.badge.green { background: #e6fffa; color: #00a3c4; }
.badge.orange { background: #fff5f5; color: #e53e3e; }
.badge.orange-light { background: #fffaf0; color: #dd6b20; }
.badge.gray { background: #f1f3f5; color: #495057; }

@media (max-width: 768px) {
    .jobs-grid { grid-template-columns: 1fr; }
    .featured-card { flex-direction: column; text-align: center; }
}