/* Untuk Halaman Insights dan Career*/
/* ========INSIGHT SECTION======== */
.insights {
    padding: 60px 0;
}

/* =========================
   NAVIGATION (Articles / Resources)
========================= */
.insight-menu {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(32, 149, 244, 0.1);
    border-radius: 8px;

    margin: 0 auto;
    width: fit-content;
}

.menu-item {
    padding: 14px 22px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #2095f4;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-item.active {
    background: rgba(32, 149, 244, 0.4);
}

.menu-item:hover {
    background: rgba(32, 149, 244, 0.2);
}

/* =========================
   CONTENT SWITCH
========================= */
.content-item {
    display: none;
}

.content-item.active {
    display: block;
}

/* =========================
   ARTICLE GRID
========================= */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    justify-items: center;
}

/* =========================
   ARTICLE CARD (FIGMA STYLE)
========================= */
.article-card {
    position: relative;
    width: 100%;
    max-width: 370px;
    height: 474px;

    background: #00000005;
    border-radius: 24px;
    border: 1px solid #d9d9d9;
    overflow: hidden;

    transition: 0.3s;
}

.article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.article-card:hover {
    transform: translateY(-6px);
}

/* IMAGE WRAPPER */
.article-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 274px;
    margin: 0;
    overflow: hidden;
}

/* IMAGE */
.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* TITLE */
.article-title {
    position: absolute;
    top: 310px;
    left: 28px;
    width: calc(100% - 56px);

    font-family: "Nunito Sans", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #1e1e1e;

    margin: 0;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* DESC */
.article-desc {
    position: absolute;
    top: 380px;
    left: 28px;
    width: calc(100% - 56px);

    font-family: "Nunito Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    color: #5d5d5d;

    margin: 0;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* =========================
   PAGINATION
========================= */
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .article-grid {
        grid-template-columns: 1fr;
    }

    .insight-menu {
        width: 100%;
        justify-content: center;
    }
}

/* =========================
   RESOURCES (FIGMA STYLE)
========================= */

.resource-list {
    display: flex;
    flex-direction: column;
    max-width: 1188px;
    width: 100%;
    margin: 60px auto 0;
}

/* ITEM */
.resource-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 28px 0;
    border-bottom: 1px solid #9f9f9f;
}

/* DATE */
.resource-date {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #1e1e1e;
    white-space: nowrap;
}

/* TITLE */
.resource-title {
    flex: 1;
    font-family: "Nunito Sans", sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #1e1e1e;

    margin: 0;
    line-height: 24px;
    text-align: center;
}

/* BUTTON */
.resource-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;
    background-color: #000;
    color: #fff;

    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: "Nunito Sans", sans-serif;
    transition: all 0.25s ease;
}

/* HOVER EFFECT */
.resource-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .resource-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .resource-btn {
        align-self: flex-end;
    }
}

/* =========================
   ARTICLE DETAIL
========================= */
.article-details {
    padding: 60px 0;
    position: relative;
    overflow: visible;
}

.article-container {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

/* WRAPPER */
.article-detail {
    max-width: 625px;
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* DATE */
.article-date {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 500;
    color: #5d5d5d;
    font-size: 16px;
}

/* TITLE */
.article-heading {
    font-family: "Anton SC", sans-serif;
    font-weight: 400;
    font-size: 46px;
    color: #1e1e1e;

    margin: 0;
}

/* IMAGE */
.article-image-detail {
    width: 100%;
    height: 274px;
    object-fit: cover;
    border-radius: 12px;
}

/* CONTENT */
.article-content {
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #1e1e1e;
}

.article-content p {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 400;
    margin-bottom: 20px;
}

.article-content strong {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .article-heading {
        font-size: 32px;
        line-height: 40px;
    }
}

/* =========================
   RELATED SECTION FIX
========================= */

.related-articles {
    width: 100%;
    max-width: 1188px;

    display: flex;
    flex-direction: column;
    gap: 40px;

    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.related-header {
    width: 100%;
}

.related-title {
    font-family: "Anton SC", sans-serif;
    font-weight: 400;
    font-size: 34px;
    line-height: 48px;
    color: #1e1e1e;
    margin: 0;
}

/* LIST (GRID NYA PINDAH KE SINI) */
.related-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .related-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .related-list {
        grid-template-columns: 1fr;
    }
}

/* ========CAREERS SECTION======== */
.career-section {
    padding: 100px 0;
}

.career-title {
    text-align: center;
    font-family: "Anton SC", sans-serif;
    font-weight: 400;
    font-size: 80px;
    margin-bottom: 60px;
}

.career-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.career-header,
.career-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    padding: 24px 0;
    border-bottom: 1px solid #ddd;
}

.career-header {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #5d5d5d;
}

.career-row {
    text-decoration: none;
    color: #1e1e1e;
    transition: 0.2s;
    font-family: "Nunito Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.career-row:hover {
    background: #f5f5f5;
}

.job-title {
    color: var(--main);
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
    font-size: 20px;
}

/* EMPTY STATE */
.career-empty {
    padding: 40px 10px;
    text-align: center;

    border: 1px dashed #d9d9d9;
    border-radius: 16px;

    background: #fafafa;
    margin-top: 20px;
}

.career-empty h3 {
    font-family: "Nunito Sans", sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #1e1e1e;

    margin-bottom: 12px;
}

.career-empty p {
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #5d5d5d;

    margin: 0;
}

/* FILTER */
.career-filter {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.filter-group p {
    color: #5d5d5d;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 10px;
}

.filter-frame {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px;
    background: rgba(32, 149, 244, 0.1);
    border-radius: 6px;
}

.filter-btn {
    padding: 12px 16px;
    background: rgba(32, 149, 244, 0.2);
    border-radius: 6px;
    border: none;
    cursor: pointer;

    color: var(--main);
    font-family: "Nunito Sans", sans-serif;
    font-weight: 500;
    font-size: 16px;

    transition: 0.2s;
}

.filter-btn:hover {
    background: rgba(32, 149, 244, 0.35);
}

/* ACTIVE STATE (penting) */
.filter-btn.active {
    background: var(--main);
    color: #fff;
}

/* ===== CAREER DETAIL ===== */
.career-detail-section {
    padding: 100px 20px;
}

.career-detail-container {
    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    gap: 200px;
    align-items: flex-start;
}

/* LEFT */
.career-detail-main {
    flex: 1.5;
    min-width: 0;
}

.career-detail-title {
    font-family: "Anton SC", sans-serif;
    color: #1e1e1e;
    font-weight: 400;
    font-size: 52px;
    margin-bottom: 30px;
}

.career-detail-desc > * {
    margin-bottom: 16px;
}

.career-detail-desc ul {
    list-style: none;
    margin: 16px 0;
}

.career-detail-desc li {
    position: relative;
    padding-left: 20px; /* space buat kotak */
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 16px;
    color: #1e1e1e;
}

.career-detail-desc li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;

    width: 6px;
    height: 6px;
    background-color: #000;
}

.career-detail-desc p {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #1e1e1e;
}

.career-detail-desc strong {
    font-weight: 700;
    font-size: 18px;
    color: #1e1e1e;
}

/* RIGHT */
.career-detail-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-width: 0;
}

/* BUTTON */
.apply-btn {
    width: fit-content;
    align-self: flex-end;
    padding: 18px;
    background: var(--main);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-family: "Nunito Sans", sans-serif;
    font-size: 18px;
    font-weight: 500;
    transition: 0.2s;
}

.apply-btn:hover {
    background: #1a3c7a;
}

/* CARD */
.job-meta {
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #f9f9f9;
}

.job-meta h3 {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
}

.career-detail-extra ul {
    list-style: none;
    padding-left: 0;
}

.career-detail-extra li {
    position: relative;
    padding-left: 20px; /* space buat kotak */
    margin-bottom: 8px;

    font-weight: 500;
    font-size: 16px;
    color: #1e1e1e;
}

.career-detail-extra li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;

    width: 6px;
    height: 6px;
    background-color: #000;
}

.career-detail-extra p {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #1e1e1e;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .career-detail-container {
        flex-direction: column;
    }
}
