@import url('../all.css');

.artikel_wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    padding: 24px 0 40px;
}

.artikel_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.artikel_breadcrumb {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    color: var(--grey);
}

.artikel_breadcrumb a {
    color: var(--semi-black);
}

.artikel_breadcrumb a:hover {
    color: var(--orange);
}

.artikel_head h1 {
    font-size: 26px;
    font-weight: 600;
    color: var(--black);
}

.artikel_search {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 420px;
}

.artikel_search input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-grey);
    border-radius: 8px;
    outline: none;
    background: var(--white);
}

.artikel_search button {
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    background: var(--orange);
    color: var(--white);
    cursor: pointer;
}

.artikel_list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
}

.artikel_card {
    background: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 220px 1fr;
}

.artikel_card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.artikel_card_body {
    padding: 14px 14px 16px;
}

.artikel_card_body h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    line-height: 1.35;
}

.artikel_card_body p {
    margin-top: 8px;
    font-size: 13px;
    color: var(--semi-black);
    line-height: 1.65;
}

.artikel_meta {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--grey);
}

.artikel_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(220, 20, 60, 0.08);
    color: var(--orange);
    font-weight: 600;
}

.artikel_pagination {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
}

.artikel_pagination a,
.artikel_pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--border-grey);
    background: var(--white);
    color: var(--semi-black);
}

.artikel_pagination .active {
    border-color: var(--orange);
    color: var(--orange);
    font-weight: 600;
}

.artikel_sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.artikel_box {
    background: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: 12px;
    padding: 14px;
    margin-top: 16px;
}

.artikel_box h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
}

.artikel_tax_list {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.artikel_tax_list a {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border-grey);
    background: var(--white);
    color: var(--semi-black);
    font-size: 12px;
}

.artikel_detail {
    background: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: 12px;
    overflow: hidden;
}

.artikel_detail_thumb img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.artikel_detail_body {
    padding: 18px;
}

.artikel_detail_body h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.25;
}

.artikel_detail_meta {
    margin-top: 10px;
    color: var(--grey);
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.artikel_content {
    margin-top: 16px;
    color: var(--semi-black);
    line-height: 1.85;
    font-size: 15px;
}

.artikel_content h2 {
    margin-top: 18px;
    font-size: 20px;
    color: var(--black);
}

.artikel_content h3 {
    margin-top: 16px;
    font-size: 18px;
    color: var(--black);
}

.artikel_content ul,
.artikel_content ol {
    padding-left: 20px;
    margin-top: 10px;
}

.artikel_content pre {
    background: #0b1220;
    color: #e5e7eb;
    padding: 12px;
    border-radius: 10px;
    overflow: auto;
    font-size: 13px;
    line-height: 1.6;
}

.artikel_content code {
    background: rgba(17,17,17,0.06);
    padding: 2px 6px;
    border-radius: 6px;
}

.artikel_content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 12px;
}

.artikel_content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--border-grey);
    background: var(--white);
}

.artikel_content th,
.artikel_content td {
    border-bottom: 1px solid var(--border-grey);
    padding: 10px 12px;
    vertical-align: top;
    font-size: 13.5px;
    line-height: 1.6;
}

.artikel_content th {
    background: rgba(245,245,245,0.8);
    color: var(--black);
    font-weight: 700;
}

.artikel_content tr:last-child td {
    border-bottom: 0;
}

.artikel_content table {
    display: block;
    overflow-x: auto;
}

.art_product_embed {
    margin-top: 16px;
    padding: 12px;
    border: 1px solid var(--border-grey);
    border-radius: 12px;
    background: rgba(245,245,245,0.6);
}

.art_product_embed_title {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.art_product_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.art_product_card {
    background: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: 12px;
    overflow: hidden;
    display: block;
    color: inherit;
}

.art_product_img img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.art_product_title {
    padding: 10px 10px 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--black);
    line-height: 1.35;
    min-height: 34px;
}

.art_product_price {
    padding: 6px 10px 10px;
    font-weight: 700;
    color: var(--orange);
    font-size: 14px;
}

.art_product_price span {
    font-weight: 500;
    font-size: 12px;
}

.art_ad {
    margin-top: 16px;
    width: 100%;
    display: block;
}

.art_ad ins.adsbygoogle {
    display: block;
    width: 100% !important;
}

@media only screen and (max-width: 900px) {
    .artikel_wrap {
        grid-template-columns: 1fr;
    }
    .artikel_sidebar {
        position: static;
    }
    .artikel_card {
        grid-template-columns: 1fr;
    }
    .artikel_card_img img {
        height: 200px;
    }
    .art_product_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
