 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 :root {
     --primary: #1a237e;
     --primary-dark: #0d1442;
     --accent: #c62828;
     --accent-dark: #a51f1f;
     --text: #2c2c2c;
     --text-light: #6b7280;
     --border: #e5e7eb;
 }

 body {
     font-family: 'Inter', Arial, sans-serif;
     background: #f0f2f5;
     color: var(--text);
     line-height: 1.6;
 }

 h1,
 h2,
 h3,
 h4,
 h5 {
     font-family: 'Poppins', Arial, sans-serif;
 }

 a {
     text-decoration: none;
     color: inherit;
 }

 img {
     max-width: 100%;
     display: block;
 }

 ul {
     list-style: none;
 }

 .wrap {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 15px;
 }

 .layout {
     display: flex;
     gap: 20px;
     align-items: flex-start;
     margin-top: 20px;
 }

 .main-content {
     flex: 3;
     min-width: 0;
 }

 .sidebar {
     flex: 1;
     min-width: 260px;
     position: sticky;
     top: 110px;
     display: flex;
     flex-direction: column;
     gap: 20px;
 }

 .hero {
     position: relative;
     margin-bottom: 20px;
     border-radius: 8px;
     overflow: hidden;
     height: 350px;
 }

 .hero img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .hero-text {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
     color: #fff;
     padding: 24px 20px;
 }

 .hero-text .badge {
     background: var(--accent);
     padding: 3px 10px;
     border-radius: 3px;
     font-size: 0.75rem;
     display: inline-block;
     margin-bottom: 8px;
 }

 .hero-text h2 {
     font-size: 1.5rem;
     margin-bottom: 8px;
 }

 .hero-text small {
     opacity: 0.8;
 }

 .btn {
     display: inline-block;
     padding: 8px 16px;
     background: var(--primary);
     color: #fff;
     border-radius: 4px;
     margin-top: 10px;
     font-size: 0.85rem;
 }

 .btn:hover {
     background: var(--primary-dark);
 }

 .section-head {
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin: 30px 0 15px;
     gap: 12px;
 }

 h3.section-title {
     font-size: 1.2rem;
     border-left: 4px solid var(--primary);
     padding-left: 10px;
 }

 .main-content .section-head:first-child {
     margin-top: 0;
 }

 .see-more-link {
     font-size: 0.8rem;
     font-weight: 600;
     color: var(--primary);
     white-space: nowrap;
     display: inline-flex;
     align-items: center;
     gap: 5px;
 }

 .see-more-link:hover {
     color: var(--accent);
 }

 .grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
     gap: 15px;
     margin-bottom: 20px;
 }

 .card {
     background: #fff;
     border-radius: 6px;
     overflow: hidden;
     box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
 }

 .card-img {
     position: relative;
     height: 160px;
     background: #e0e0e0;
 }

 .card-img img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .card-img span {
     position: absolute;
     top: 8px;
     left: 8px;
     background: var(--primary);
     color: #fff;
     font-size: 0.7rem;
     padding: 2px 8px;
     border-radius: 3px;
 }

 .card-body {
     padding: 12px;
 }

 .card-body h4 {
     font-size: 1rem;
     margin-bottom: 6px;
 }

 .card-body h4 a:hover {
     color: var(--primary);
 }

 .card-body small {
     color: #777;
     font-size: 0.8rem;
 }

 .card-body p {
     color: #555;
     font-size: 0.85rem;
     margin: 8px 0;
 }

 .card-body .btn-outline {
     background: none;
     border: 1px solid var(--primary);
     color: var(--primary);
     padding: 5px 12px;
     font-size: 0.8rem;
 }

 .card-body .btn-outline:hover {
     background: var(--primary);
     color: #fff;
 }

 .empty {
     text-align: center;
     padding: 40px;
     color: #777;
     grid-column: 1/-1;
 }

 .box {
     background: #fff;
     border-radius: 6px;
     box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
     overflow: hidden;
 }

 .box-title {
     background: var(--primary);
     color: #fff;
     padding: 10px 14px;
     font-size: 0.95rem;
     font-weight: bold;
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .populer-list {
     padding: 6px 14px;
 }

 .populer-item {
     display: flex;
     gap: 10px;
     padding: 10px 0;
     border-bottom: 1px solid #eee;
 }

 .populer-item:last-child {
     border-bottom: none;
 }

 .populer-thumb {
     flex: 0 0 60px;
     height: 50px;
     border-radius: 4px;
     overflow: hidden;
     background: #e0e0e0;
 }

 .populer-thumb img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .populer-info h5 {
     font-size: 0.85rem;
     line-height: 1.3;
     margin-bottom: 4px;
 }

 .populer-info h5 a:hover {
     color: var(--primary);
 }

 .populer-info small {
     color: #999;
     font-size: 0.7rem;
 }

 .populer-empty {
     padding: 16px 14px;
     color: #999;
     font-size: 0.85rem;
     text-align: center;
 }

 .ad-box .box-title {
     background: var(--accent);
 }

 .ad-slot {
     display: block;
     width: 100%;
     border-radius: 6px;
     margin: 12px 0;
     overflow: hidden;
     text-align: center;
 }

 .ad-slot img {
     width: 90%;
     height: auto;
     display: block;
     margin: 0 auto;
 }

 .ad-slot .ad-nama {
     font-size: 0.8rem;
     color: var(--text-light);
     margin-top: 6px;
     font-weight: 600;
 }

 @media(max-width:900px) {
     .layout {
         flex-direction: column;
     }

     .sidebar {
         width: 100%;
         position: static;
     }
 }

 @media(max-width:600px) {
     .hero {
         height: 250px;
     }

     .hero-text h2 {
         font-size: 1.1rem;
     }
 }