/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../webfonts/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../webfonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../webfonts/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../webfonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../webfonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('../webfonts/inter-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




        :root { 
            /* Facebook "Social Blue" Palette */
            --fb-blue: #1877f2; 
            --fb-dark-blue: #0e5aab;
            --fb-green: #42b72a; /* Success Green */
            --fb-bg: #f0f2f5;    /* Classic FB Grey Background */
            
            --fb-gradient: linear-gradient(135deg, #1877f2 0%, #00c6ff 100%);
            
            --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            --card-hover-shadow: 0 12px 24px rgba(24, 119, 242, 0.1);
            --border-color: #e4e6eb;
        }
        
        body { 
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
            background-color: #fff; 
            color: #1c1e21; 
            -webkit-font-smoothing: antialiased;
            margin: 0; padding: 0;
        }
        a { text-decoration: none; transition: 0.2s; }
        
        /* === 1. Hero & AI Search (Community Style) === */
        .hero-section { 
            padding: 60px 0 50px; 
            background: radial-gradient(circle at top right, rgba(24, 119, 242, 0.04), transparent 45%),
                        radial-gradient(circle at bottom left, rgba(66, 183, 42, 0.03), transparent 45%);
        }
        .hero-title { letter-spacing: -0.5px; color: #050505; }
        .hero-subtitle { font-size: 1.1rem; line-height: 1.6; color: #65676b; }
        
        /* AI Box Enhanced */
        .ai-search-wrapper { position: relative; max-width: 720px; margin: 40px auto; }
        .ai-label-float {
            position: absolute; top: -12px; left: 25px; background: var(--fb-blue); color: #fff;
            font-size: 0.75rem; padding: 2px 12px; border-radius: 20px; font-weight: 600; z-index: 2;
            box-shadow: 0 4px 10px rgba(24, 119, 242, 0.3);
        }

        .ai-search-box { 
            padding: 15px 15px 15px 20px;
            background: #fff; border: 2px solid #e4e6eb; border-radius: 24px;
            display: flex; flex-direction: column; box-shadow: 0 8px 20px rgba(0,0,0,0.03);
            transition: all 0.3s ease; position: relative;
        }
        .ai-search-box:focus-within { border-color: var(--fb-blue); box-shadow: 0 10px 30px rgba(24, 119, 242, 0.15); transform: translateY(-2px); }
        
        .ai-input-area { display: flex; align-items: flex-start; width: 100%; }
        .ai-textarea {
            flex-grow: 1; border: none; resize: none; outline: none;
            font-family: 'Inter', sans-serif; font-size: 1.05rem; color: #1c1e21;
            min-height: 28px; max-height: 200px; overflow-y: hidden;
            padding: 5px 10px; background: transparent; line-height: 1.5;
        }
        .ai-textarea::placeholder { color: #65676b; opacity: 0.8; font-style: italic; }

        .search-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 5px; border-top: 1px dashed #e4e6eb; }
        .char-count { font-size: 0.75rem; color: #65676b; }
        .char-count.limit-reached { color: #dc2626; }

        .ai-search-badge {
            background: #e7f3ff; color: var(--fb-blue);
            font-weight: 600; padding: 8px 24px; border-radius: 40px;
            cursor: pointer; transition: 0.2s; border: none;
            display: flex; align-items: center; gap: 8px; font-size: 0.9rem;
        }
        .ai-search-badge:hover:not(:disabled) { background: var(--fb-blue); color: #fff; transform: translateY(-1px); }
        .ai-search-badge:disabled { opacity: 0.6; cursor: not-allowed; }

        #ai-result-box { margin-top: 15px; padding: 20px; background: #fff; border-top: 1px solid #e4e6eb; display: none; text-align: left; animation: fadeIn 0.3s ease; }
        @keyframes fadeIn { from{opacity:0;} to{opacity:1;} }

        /* === 2. Quick Tools (Clean Tiles) === */
        .tool-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 60px; }
        .tool-item { 
            text-align: center; padding: 25px 15px; border-radius: 20px; 
            background: #fff; border: 1px solid var(--border-color); 
            transition: all 0.2s ease-in-out;
            text-decoration: none; color: inherit; height: 100%;
            display: flex; flex-direction: column; align-items: center;
        }
        .tool-item:hover { 
            border-color: var(--fb-blue); box-shadow: var(--card-hover-shadow); transform: translateY(-3px); 
        }
        
        .tool-icon-wrapper {
            width: 50px; height: 50px;
            display: flex; align-items: center; justify-content: center;
            border-radius: 50%; background: #e7f3ff;
            margin-bottom: 15px; transition: 0.2s; color: var(--fb-blue);
        }
        .tool-item:hover .tool-icon-wrapper { background: var(--fb-blue); color: #fff; }
        
        .tool-item i { font-size: 1.2rem; }
        .tool-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; color: #050505; }
        .tool-item p { font-size: 0.8rem; color: #65676b; margin: 0; line-height: 1.4; }

        /* === 3. Featured Article === */
        .featured-article-section { 
            background: var(--fb-bg); padding: 60px 0; 
            border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); 
        }
        .article-card {
            background: #fff; padding: 50px; border-radius: 24px;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); border: 1px solid #e4e6eb;
        }
        .article-label {
            display: inline-block; background: #e7f3ff; color: var(--fb-blue);
            font-weight: 700; font-size: 0.75rem; padding: 6px 12px;
            border-radius: 4px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px;
        }
        .article-content h2 { font-weight: 800; color: #050505; margin-bottom: 25px; font-size: 1.75rem; }
        .article-content p { color: #1c1e21; font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; }
        .cta-button {
            display: inline-block; margin-top: 10px; background: var(--fb-blue); color: #fff;
            padding: 12px 30px; border-radius: 50px; font-weight: 600; text-decoration: none;
            transition: 0.2s; box-shadow: 0 4px 10px rgba(24, 119, 242, 0.2);
        }
        .cta-button:hover { background: var(--fb-dark-blue); color: #fff; transform: translateY(-2px); }

        /* === 4. Editor's Picks === */
        .picks-section { padding: 60px 0; background: #fff; }
        .section-header { position: relative; display: inline-block; margin-bottom: 40px; }
        .section-header::after {
            content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
            width: 50px; height: 3px; background: var(--fb-blue); border-radius: 3px;
        }
        
        .pick-card { 
            border-radius: 20px; border: 1px solid var(--border-color); padding: 30px; 
            height: 100%; transition: 0.3s; background: #fff;
        }
        .pick-card:hover { transform: translateY(-5px); box-shadow: var(--card-hover-shadow); border-color: var(--fb-blue); }
        
        .pick-tag { 
            font-size: 0.7rem; font-weight: 700; text-transform: uppercase; 
            letter-spacing: 0.5px; margin-bottom: 20px; display: inline-flex; 
            align-items: center; gap: 8px; padding: 6px 12px; border-radius: 6px;
        }
        
        .card-problem .pick-tag { background: #fee2e2; color: #dc2626; }
        .card-tips .pick-tag { background: #e7f3ff; color: var(--fb-blue); }
        .card-insight .pick-tag { background: #dcfce7; color: #166534; }

        .pick-list { list-style: none; padding: 0; margin: 0; counter-reset: pick-counter; }
        .pick-list li { 
            position: relative; padding-left: 28px; margin-bottom: 12px; 
            padding-bottom: 12px; border-bottom: 1px dashed #e4e6eb; 
        }
        .pick-list li::before {
            counter-increment: pick-counter; content: counter(pick-counter) ".";
            position: absolute; left: 0; top: 1px; font-weight: 700; color: #bcc0c4; font-size: 0.9rem;
        }
        .pick-list li:hover::before { color: var(--fb-blue); }
        .pick-list li:last-child { border: none; padding-bottom: 0; margin: 0; }
        
        .pick-list a { 
            color: #050505; font-weight: 500; text-decoration: none; 
            transition: 0.2s; display: block; line-height: 1.4;
        }
        .pick-list a:hover { color: var(--fb-blue); }

        /* === 5. Ajax List === */
        .article-row { 
            padding: 18px 20px; border: 1px solid transparent; border-bottom: 1px solid #f0f2f5; 
            display: flex; justify-content: space-between; align-items: center; 
            text-decoration: none; border-radius: 12px; transition: all 0.2s ease;
        }
        .article-row:hover { background: #f0f2f5; border-color: #e4e6eb; }
        
        .article-row .title { 
            font-weight: 600; color: #050505; font-size: 1.05rem; padding-right: 20px;
        }
        .article-row:hover .title { color: var(--fb-blue); }
        
        .article-row .meta-right {
            min-width: 140px; text-align: right; flex-shrink: 0;
            display: flex; align-items: center; justify-content: flex-end; gap: 15px;
        }
        
        .article-row .date { font-size: 0.85rem; color: #65676b; font-weight: 500; white-space: nowrap; }
        .article-row i.fa-chevron-right { opacity: 0; transition: 0.2s; transform: translateX(-10px); color: var(--fb-blue); }
        .article-row:hover i.fa-chevron-right { opacity: 1; transform: translateX(0); }

        #btn-load-more {
            transition: 0.3s; font-weight: 600;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            background: var(--fb-blue); border: none;
        }
        #btn-load-more:hover {
            transform: translateY(-2px); box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
            background: var(--fb-dark-blue);
        }

        /* Responsive */
        @media (max-width: 992px) { 
            .tool-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } 
            .hero-section { padding: 40px 0; }
            .ai-search-box { border-radius: 20px; padding: 15px; }
            .search-footer { flex-direction: column-reverse; gap: 10px; align-items: stretch; }
            .char-count { margin-left: 0; text-align: right; margin-bottom: 5px; }
            .ai-search-badge { justify-content: center; }
            .article-card { padding: 25px; }
        }
    
           /* Kelas baru: misal namanya .link-panah */
.link-panah {
  text-decoration: none;
  color: #008f68; /* Warna teks hijau gelap */
  font-weight: 700;
  position: relative;
  /* Garis bawah default agar orang tahu ini link */
  border-bottom: 3px solid rgba(0, 143, 104, 0.3); 
  transition: color 0.3s ease-in-out;
  display: inline-block; /* Supaya rapi dengan ikon */
}

/* 1. BAGIAN IKON (Memakai ::before) */
.link-panah::before {
  content: '→'; /* Bisa ganti dengan '👉' atau '🔗' */
  margin-right: 5px; /* Jarak antara ikon dan teks */
  display: inline-block;
  transition: transform 0.3s ease; /* Animasi gerak ikon */
}

/* 2. BAGIAN BACKGROUND HOVER (Memakai ::after) */
.link-panah::after {
  content: '';
  background-color: rgba(0, 143, 104, 0.2); /* Warna background saat hover (transparan) */
  position: absolute;
  left: 0;
  bottom: 0; /* Mulai dari paling bawah */
  width: 100%;
  height: 0%; /* Awalnya 0, tidak terlihat */
  z-index: -1; /* Di belakang teks */
  transition: all 0.3s ease-in-out;
}

/* EFEK SAAT MOUSE DI-HOVER */
.link-panah:hover {
  color: #004d38; /* Warna teks jadi lebih gelap saat hover */
}

.link-panah:hover::before {
  transform: translateX(5px); /* Ikon panah maju sedikit ke kanan */
}

.link-panah:hover::after {
  height: 100%; /* Background naik memenuhi teks */
}