/* Pusat Bantuan (help center). Breakpoints follow the landing pages:
   mobile <= 767px, tablet 768-1023px, desktop >= 1024px. */

.pb-container {
    width: 100%;
    max-width: 1366px;
    margin: 0 auto;
}

.pb-section-title {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    color: var(--main-primary);
    text-align: center;
    margin: 0 0 24px;
}

.pb-section-title--small {
    font-size: 20px;
    line-height: 28px;
    text-align: left;
}

.pb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 0;
    border-radius: 8px;
    background-color: var(--primary-700);
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: var(--neutral-0);
    white-space: nowrap;
    cursor: pointer;
}

.pb-button:hover,
.pb-button:focus {
    color: var(--neutral-0);
    text-decoration: none;
    background-color: var(--primary-900);
}

/* ---------- Home ---------- */
.pb-home {
    padding: 144px 16px 80px;
    /* Soft teal and peach glows, from the blurred circles in the design. */
    background:
        radial-gradient(circle at 83% 440px, rgba(255, 211, 153, 0.35) 0, rgba(255, 211, 153, 0) 420px),
        radial-gradient(circle at 20% 820px, rgba(143, 209, 216, 0.45) 0, rgba(143, 209, 216, 0) 340px),
        var(--neutral-50);
    background-repeat: no-repeat;
}

.pb-home .pb-container {
    max-width: 954px;
}

.pb-home > section + section {
    margin-top: 64px;
}

/* ---------- Hero (marble header behind the navbar, with the search box) ---------- */
.pb-hero {
    padding: 164px 16px 26px;
    background: url("../../img/pusat-bantuan/hero.webp") center / cover no-repeat var(--neutral-50);
}

/* The hero clears the navbar, so the page below starts right after it. */
.pb-hero ~ .pb-home {
    padding-top: 40px;
}

.pb-hero ~ .pb-page {
    margin-top: 0;
}

.pb-hero ~ .pb-page .pb-page-head {
    padding-top: 40px;
}

.pb-hero-title {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    color: var(--main-primary);
    text-align: center;
    margin: 0 0 16px;
}

.pb-search {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 686px;
    margin: 0 auto;
}

.pb-search-field {
    flex: 1;
    margin: 0;
}

.pb-search-input,
.pb-search-submit {
    height: 48px;
    border-radius: 24px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
}

.pb-search-input {
    width: 100%;
    padding: 0 16px;
    border: 1px solid transparent;
    background-color: var(--neutral-0);
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    color: var(--main-primary);
}

.pb-search-input::placeholder {
    color: var(--neutral-500);
}

.pb-search-input:focus {
    outline: none;
    border-color: var(--primary-700);
}

.pb-search-submit {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    padding: 0;
    border: 0;
    background-color: var(--neutral-100);
    color: #343737;
    cursor: pointer;
}

.pb-search-submit:hover,
.pb-search-submit:focus {
    background-color: var(--neutral-200);
}

/* Enabled once the box has text (Figma "Icon Button", Disabled=False). */
.pb-search:has(.pb-search-input:not(:placeholder-shown)) .pb-search-submit {
    background-color: #3ba0aa;
    color: var(--neutral-0);
}

.pb-search:has(.pb-search-input:not(:placeholder-shown)) .pb-search-submit:hover,
.pb-search:has(.pb-search-input:not(:placeholder-shown)) .pb-search-submit:focus {
    background-color: #348e97;
}

/* ---------- Question list (accordion) ---------- */
.pb-questions {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pb-question {
    border-radius: 8px;
    background-color: var(--neutral-0);
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.pb-question-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    list-style: none;
    cursor: pointer;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: var(--main-primary);
}

.pb-question-summary::-webkit-details-marker {
    display: none;
}

.pb-question-summary img {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.pb-question[open] .pb-question-summary {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--neutral-300);
}

.pb-question[open] .pb-question-summary img {
    transform: rotate(180deg);
}

.pb-question-body {
    padding: 24px;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: var(--main-primary);
}

.pb-question-body p,
.pb-question-body ul,
.pb-question-body ol {
    margin: 0;
}

.pb-question-body p + p,
.pb-question-body p + ul,
.pb-question-body ul + p {
    margin-top: 16px;
}

.pb-question-body ul,
.pb-question-body ol {
    padding-left: 20px;
}

.pb-question-body li + li {
    margin-top: 8px;
}

.pb-more-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 0;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: var(--primary-900);
}

.pb-more-link:hover {
    color: var(--primary-700);
}

/* ---------- Topics ---------- */

.pb-topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.pb-topic-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc((100% - 48px) / 4);
    align-items: center;
    min-height: 120px;
    padding: 12px;
    border-radius: 8px;
    background-color: var(--neutral-0);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25);
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: var(--main-primary);
    transition: box-shadow 0.2s ease;
}
.pb-topic-title{
    text-align: center;
}

.pb-topic-card:hover,
.pb-topic-card:focus {
    color: var(--main-primary);
    text-decoration: none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
}

.pb-topic-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.pb-topic-icon img {
    width: 48px;
    height: 48px;
}

/* ---------- Order CTA ---------- */
.pb-page > .pb-cta-section {
    max-width: 954px;
    padding: 64px 16px 80px;
}

.pb-cta {
    position: relative;
    padding: 24px;
    border-radius: 8px;
    background-color: var(--primary-200);
}

.pb-cta-text {
    padding-right: 220px;
}

.pb-cta-title {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 36px;
    color: var(--main-primary);
    margin: 0 0 4px;
}

.pb-cta-subtitle {
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    line-height: 28px;
    color: var(--main-primary);
    margin: 0 0 16px;
}

.pb-cta-button {
    padding: 8px 16px;
    font-size: 16px;
    line-height: 24px;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.pb-cta-illustration {
    position: absolute;
    top: -47px;
    right: 18px;
    width: 176px;
    height: 240px;
}

/* ---------- Topic, search and detail pages ---------- */
.pb-page {
    margin-top: 80px;
}

.pb-page-head {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 80px 80px 40px;
}

.pb-back {
    flex-shrink: 0;
    display: inline-flex;
    width: 40px;
    height: 40px;
}

.pb-back img {
    width: 100%;
    height: 100%;
}

.pb-page-title {
    margin: 0;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    color: var(--main-primary);
    overflow-wrap: anywhere;
}

.pb-answer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 0 80px 80px;
}

.pb-answer-text {
    width: 100%;
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    line-height: 28px;
    color: var(--main-primary);
}

.pb-answer-text p {
    margin: 0 0 28px;
}

.pb-answer-text p:last-child,
.pb-answer-text ul:last-child,
.pb-answer-text ol:last-child {
    margin-bottom: 0;
}

.pb-answer-text ul,
.pb-answer-text ol {
    margin: 0 0 28px;
    padding-left: 28px;
}

.pb-answer-text a {
    color: var(--primary-700);
    text-decoration: underline;
}

/* A bold label paragraph ("Toilet", "Pilih ... jika:") sits close to its list. */
.pb-answer-text p:has(> strong:only-child) {
    margin-bottom: 8px;
}

.pb-answer-text h3 {
    margin: 0 0 12px;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: var(--main-primary);
}

/* Comparison table in a Jawaban Lengkap: label column, then one tinted column per Layanan. */
.pb-compare {
    width: 100%;
    margin: 0 0 28px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    line-height: 20px;
}

.pb-compare th,
.pb-compare td {
    padding: 12px;
    border-bottom: 1px solid var(--neutral-400);
    vertical-align: top;
    text-align: left;
}

.pb-compare thead th {
    font-weight: 700;
}

.pb-compare tbody th {
    width: 25%;
    font-weight: 400;
    background-color: var(--neutral-50);
}

.pb-compare thead th:first-child {
    background-color: transparent;
    border-bottom: 0;
}

.pb-compare th:nth-child(2),
.pb-compare td:nth-child(2) {
    background-color: var(--primary-200);
}

.pb-compare th:nth-child(3),
.pb-compare td:nth-child(3) {
    background-color: var(--primary-300);
}

.pb-compare thead th:nth-child(2) {
    border-top-left-radius: 8px;
}

.pb-compare thead th:last-child {
    border-top-right-radius: 8px;
}

.pb-compare tbody tr:first-child th {
    border-top-left-radius: 8px;
}

.pb-compare tbody tr:last-child th,
.pb-compare tbody tr:last-child td {
    border-bottom: 0;
}

.pb-compare tbody tr:last-child th {
    border-bottom-left-radius: 8px;
}

.pb-compare tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.pb-compare ul {
    margin: 0;
    padding-left: 16px;
}

/* Yes/no checklist: wide task column, narrow centred tick columns. */
.pb-compare--check tbody th {
    width: auto;
}

.pb-compare--check td,
.pb-compare--check thead th:not(:first-child) {
    width: 22%;
    text-align: center;
    vertical-align: middle;
}

.pb-answer-image {
    width: 100%;
    max-width: 980px;
    border-radius: 12px;
}

.pb-video {
    position: relative;
    width: 100%;
    max-width: 980px;
    aspect-ratio: 980 / 580;
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--neutral-700);
}

.pb-video-facade {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.pb-video-facade > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pb-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    padding: 25px 25px 25px 31px;
    border-radius: 80px;
    background-color: rgba(243, 250, 251, 0.4);
    -webkit-backdrop-filter: blur(18.75px);
    backdrop-filter: blur(18.75px);
    transform: translate(-50%, -50%);
}

.pb-video-play img {
    width: 44px;
    height: 50px;
}

.pb-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.pb-related-section {
    padding: 80px;
    background-color: var(--neutral-50);
}

/* ---------- Topic page (follows the mobile design until desktop is ready) ---------- */
.pb-topic-page .pb-back {
    width: 24px;
    height: 24px;
}

.pb-topic-intro-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    margin-bottom: 16px;
}

/* A topic with no description or media: the questions follow the title directly. */
.pb-topic-intro--title-only .pb-topic-intro-head {
    margin-bottom: 0;
}

.pb-home > .pb-topic-intro--title-only + .pb-faq-section {
    margin-top: 12px;
}

.pb-topic-intro-title {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 36px;
    color: var(--main-primary);
    margin: 0;
}

.pb-topic-intro-text {
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: var(--main-primary);
}

.pb-topic-intro-text p,
.pb-topic-intro-text ul {
    margin: 0 0 10px;
}

.pb-topic-intro-text ul {
    padding-left: 24px;
}

.pb-topic-intro-text li + li {
    margin-top: 8px;
}

.pb-topic-intro-text li > ul {
    margin: 8px 0 0;
}

.pb-topic-intro-text h3 {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: var(--main-primary);
    margin: 24px 0 10px;
}

.pb-topic-intro .pb-answer-image {
    display: block;
    max-width: 660px;
    margin: 24px auto 0;
}

.pb-cs-link {
    display: block;
    width: fit-content;
}

.pb-topic-intro .pb-video {
    max-width: 660px;
    height: auto;
    aspect-ratio: 2 / 1;
    margin: 24px auto 0;
}

/* ---------- Search results ---------- */
/* "<- Pencarian “…”" under the hero, aligned with the results. */
.pb-search-page .pb-page-head {
    gap: 12px;
    padding: 0 0 8px;
}

.pb-search-page .pb-back {
    width: 24px;
    height: 24px;
}

.pb-search-page .pb-page-title {
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
}

.pb-search-page .pb-page-title strong {
    font-weight: 700;
}

.pb-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: "Nunito", sans-serif;
    color: var(--main-primary);
}

.pb-empty img {
    width: 256px;
    height: 231px;
    margin-bottom: 16px;
}

.pb-empty-title {
    margin: 0 0 4px;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: var(--main-primary);
}

.pb-empty p {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
}

.pb-home > .pb-recommended {
    margin-top: 72px;
}

.pb-home > .pb-contact {
    margin-top: 24px;
    padding-top: 28px;
    border-top: 1px dashed var(--neutral-300);
    text-align: center;
    font-family: "Nunito", sans-serif;
    color: var(--main-primary);
}

.pb-contact-title {
    margin: 0 0 4px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: var(--main-primary);
}

.pb-contact p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 20px;
}

.pb-contact .pb-more-link {
    margin-top: 0;
}

/* ---------- Search flow (Basis Pengetahuan pages, suggestions, AI answer) ---------- */
.pb-home[hidden],
.pb-page[hidden],
.pb-search-results[hidden],
.pb-ai [hidden] {
    display: none;
}

/* A row that links somewhere: popular questions, topic lists. */
.pb-link-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pb-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    border-radius: 8px;
    background-color: var(--neutral-0);
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    color: var(--main-primary);
    transition: box-shadow 0.2s ease;
}

.pb-link-card:hover,
.pb-link-card:focus {
    color: var(--main-primary);
    text-decoration: none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
}

.pb-link-card-arrow {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transform: rotate(-90deg);
}

.pb-topic-icon .pb-part-icon {
    color: var(--primary-900);
}

.pb-topic-count {
    display: block;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--neutral-500);
}

.pb-source-line {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--neutral-500);
}

.pb-source-line a {
    font-weight: 700;
    color: var(--primary-900);
}

/* Markdown from the Basis Pengetahuan or the model. */
.pb-md p,
.pb-md ul,
.pb-md ol {
    margin: 0;
}

.pb-md > :not(:first-child) {
    margin-top: 12px;
}

.pb-md ul,
.pb-md ol {
    padding-left: 20px;
}

.pb-md li + li {
    margin-top: 4px;
}

/* Group and topic pages */
.pb-kb-body {
    padding: 0 80px;
}

.pb-kb-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: var(--neutral-500);
}

.pb-kb-meta .pb-part-icon {
    color: var(--primary-900);
}

a.pb-kb-part {
    font-weight: 700;
    color: var(--primary-900);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pb-kb-block {
    scroll-margin-top: 96px;
}

.pb-kb-block + .pb-kb-block {
    margin-top: 32px;
}

.pb-kb-heading {
    margin: 0 0 8px;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: var(--main-primary);
}

.pb-kb-body .pb-answer-text {
    font-size: 18px;
    line-height: 28px;
}

.pb-kb-questions {
    padding-top: 32px;
    border-top: 1px dashed var(--neutral-300);
}

.pb-page > .pb-contact {
    max-width: 954px;
    margin: 64px auto 0;
    padding: 28px 16px 0;
    border-top: 1px dashed var(--neutral-300);
    text-align: center;
    font-family: "Nunito", sans-serif;
    color: var(--main-primary);
}

.pb-wa-button {
    background-color: #25a244;
}

.pb-wa-button:hover,
.pb-wa-button:focus {
    color: var(--neutral-0);
    background-color: #1e8a39;
    text-decoration: none;
}

/* "Pertanyaan Terkait" while typing (home page) with no match */
.pb-related-empty {
    margin: 0;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: var(--neutral-500);
}

/* AI answer (search page) */
.pb-home > .pb-ai {
    margin-top: 24px;
}

.pb-ai-card {
    padding: 24px;
    border: 1px solid var(--primary-300);
    border-radius: 8px;
    background-color: var(--neutral-0);
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: var(--main-primary);
}

.pb-ai-card--center {
    text-align: center;
}

.pb-ai-card--center .pb-ai-answer {
    text-align: left;
}

.pb-ai-card--error {
    border-color: #fcd9a8;
    background-color: #fff7ed;
}

/* The answer card: white, gradient border (Figma "FAQ Item"), star beside the text. */
.pb-ai-card--answer {
    border: 3px solid transparent;
    background: linear-gradient(var(--neutral-0), var(--neutral-0)) padding-box,
        linear-gradient(44deg, #afafe1, #65a2ab) border-box;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.pb-ai-body {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pb-ai-text {
    flex: 1;
    min-width: 0;
}

.pb-ai-mark {
    flex-shrink: 0;
    display: inline-flex;
    filter: drop-shadow(1px 1px 2px rgba(130, 161, 200, 0.6));
}

.pb-ai-title {
    margin: 8px 0 12px;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
}

.pb-ai-error-body {
    margin: 0 0 16px;
}

.pb-ai-status {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--neutral-500);
}

.pb-ai-skeleton span {
    display: block;
    height: 14px;
    margin-bottom: 10px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-200), var(--neutral-0), var(--primary-200));
    background-size: 200% 100%;
    animation: pb-ai-shimmer 1.2s linear infinite;
}

.pb-ai-skeleton span:nth-child(1) {
    width: 92%;
}

.pb-ai-skeleton span:nth-child(3) {
    width: 80%;
}

.pb-ai-skeleton span:nth-child(4) {
    width: 66%;
    margin-top: 16px;
}

.pb-ai-skeleton span:nth-child(5) {
    width: 75%;
}

@keyframes pb-ai-shimmer {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

.pb-ai-cs {
    margin-top: 16px;
}

.pb-ai-sources {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
}

.pb-ai-source {
    padding: 4px 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: var(--primary-900);
}

.pb-ai-source:hover,
.pb-ai-source:focus {
    color: var(--primary-900);
}

.pb-ai + .pb-search-results {
    margin-top: 40px;
}

.pb-search-results > section + section {
    margin-top: 40px;
}

/* The banner follows the results wrapper (a div), so section + section misses it. */
.pb-search-page > .pb-cta-section {
    margin-top: 64px;
}

.pb-link-card-part {
    display: block;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: var(--neutral-500);
}

.pb-ai-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pb-ai-note {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 16px;
    color: #839091;
}

.pb-ai-feedback {
    margin-top: 16px;
    padding-top: 10px;
    border-top: 0.5px solid #d6dbdc;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
}

.pb-ai-feedback-ask {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pb-ai-rate {
    width: 36px;
    height: 36px;
    border: 1px solid #d6dbdc;
    border-radius: 50%;
    background-color: var(--neutral-0);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.pb-ai-rate:hover,
.pb-ai-rate:focus {
    border-color: var(--primary-900);
}

.pb-ai-feedback-done {
    margin: 0;
    color: var(--neutral-500);
}

.pb-ai-feedback-change,
.pb-ai-feedback-cancel {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: var(--neutral-500);
    text-decoration: underline;
    cursor: pointer;
}

.pb-ai-feedback-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid var(--neutral-300);
    border-radius: 8px;
    background-color: var(--neutral-50);
}

.pb-ai-feedback-form .pb-ai-actions {
    justify-content: flex-start;
}

.pb-ai-feedback-reason,
.pb-ai-feedback-note {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--neutral-300);
    border-radius: 8px;
    background-color: var(--neutral-0);
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    color: var(--main-primary);
}

.pb-ai-feedback-error {
    margin: 0;
    color: var(--main-red);
}

.pb-ai-related {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px dashed #d6dbdc;
}

.pb-ai-related .pb-section-title {
    margin-bottom: 16px;
}

.pb-ai-related .pb-link-card {
    font-weight: 400;
}

.pb-search-page .pb-wa-button {
    border-radius: 40px;
    background-color: #2f9966;
}

/* ---------- Tablet ---------- */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .pb-home {
        padding: 128px 24px 64px;
    }

    .pb-hero {
        padding-left: 24px;
        padding-right: 24px;
    }

    .pb-questions {
        gap: 16px;
    }

    .pb-topic-card {
        width: calc((100% - 32px) / 3);
    }

    .pb-cta-text {
        padding-right: 180px;
    }

    .pb-page-head {
        padding: 80px 24px 32px;
    }

    .pb-page-title {
        font-size: 28px;
        line-height: 36px;
    }

    .pb-answer {
        padding: 0 88px 80px;
    }

    .pb-video {
        aspect-ratio: auto;
        height: 388px;
    }

    .pb-video-play {
        width: 80px;
        height: 80px;
        padding: 20px 20px 20px 25px;
    }

    .pb-video-play img {
        width: 35px;
        height: 40px;
    }

    .pb-related-section {
        padding: 60px 24px;
    }
}

/* ---------- Mobile ---------- */
@media screen and (max-width: 767px) {
    .pb-section-title {
        font-size: 16px;
        line-height: 24px;
        text-align: left;
        margin-bottom: 10px;
    }

    .pb-home {
        padding: 104px 16px 32px;
        background:
            radial-gradient(circle at 85% 120px, rgba(255, 211, 153, 0.35) 0, rgba(255, 211, 153, 0) 200px),
            radial-gradient(circle at 0 340px, rgba(143, 209, 216, 0.35) 0, rgba(143, 209, 216, 0) 180px),
            var(--neutral-0);
        background-repeat: no-repeat;
    }

    .pb-hero {
        padding: 80px 16px 26px;
        background-image: url("../../img/pusat-bantuan/hero.webp");
    }

    .pb-hero ~ .pb-home {
        padding-top: 24px;
    }

    .pb-hero ~ .pb-home.pb-topic-page {
        padding-top: 16px;
    }

    .pb-hero ~ .pb-page .pb-page-head {
        padding-top: 24px;
    }

    .pb-home > section + section {
        margin-top: 29px;
    }

    .pb-hero-title {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 8px;
    }

    .pb-topic-intro-head {
        margin-bottom: 10px;
    }

    .pb-topic-intro-title {
        font-size: 16px;
        line-height: 24px;
    }

    .pb-topic-intro-text,
    .pb-topic-intro-text h3 {
        font-size: 14px;
        line-height: 20px;
    }

    .pb-topic-intro-text ul {
        padding-left: 20px;
    }

    .pb-topic-intro-text h3 {
        margin-top: 20px;
    }

    .pb-topic-intro .pb-video {
        margin-top: 16px;
    }

    .pb-empty img {
        width: 184px;
        height: 166px;
    }

    .pb-empty-title {
        font-size: 16px;
        line-height: 24px;
    }

    .pb-empty p {
        font-size: 14px;
        line-height: 20px;
    }

    .pb-home > .pb-recommended {
        margin-top: 40px;
    }

    /* Grey divider bar between the intro and the questions, edge to edge. */
    .pb-topic-page > .pb-faq-section {
        width: auto;
        margin: 29px -16px 0;
        padding: 29px 16px 0;
        border-top: 10px solid var(--neutral-50);
    }

    .pb-topic-page > .pb-topic-intro--title-only + .pb-faq-section {
        margin-top: 12px;
        padding-top: 0;
        border-top: 0;
    }

    .pb-questions {
        gap: 10px;
    }

    .pb-question-summary,
    .pb-question[open] .pb-question-summary {
        padding: 12px 16px;
        font-size: 14px;
        line-height: 20px;
    }

    .pb-question-body {
        padding: 12px 16px;
        font-size: 14px;
        line-height: 20px;
    }

    .pb-topics {
        justify-content: center;
    }

    .pb-topic-card {
        width: calc((100% - 16px) / 2);
    }

    /* Grey divider bar above the order CTA, edge to edge. */
    .pb-page > .pb-cta-section {
        padding: 40px 16px 32px;
    }

    .pb-home > .pb-cta-section {
        width: auto;
        margin: 29px -16px 0;
        padding: 40px 16px 0;
        border-top: 10px solid var(--neutral-50);
    }

    .pb-cta {
        padding: 8px 0 16px 16px;
        border-radius: 4px;
    }

    .pb-cta-text {
        padding-right: 100px;
    }

    .pb-cta-title {
        font-size: 16px;
        line-height: 24px;
    }

    .pb-cta-subtitle {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 8px;
    }

    .pb-cta-button {
        padding: 8px 16px;
        font-size: 14px;
        line-height: 20px;
    }

    .pb-cta-illustration {
        top: -16px;
        right: -8px;
        width: 107px;
        height: 146px;
    }

    .pb-page-head {
        gap: 8px;
        padding: 24px 16px;
    }

    .pb-back {
        width: 24px;
        height: 24px;
    }

    .pb-page-title {
        font-size: 20px;
        line-height: 28px;
    }

    .pb-answer {
        gap: 12px;
        padding: 8px 24px 32px;
    }

    .pb-answer-text {
        font-size: 16px;
        line-height: 24px;
    }

    .pb-answer-text p,
    .pb-answer-text ul,
    .pb-answer-text ol {
        margin-bottom: 24px;
    }

    .pb-answer-text h3 {
        font-size: 16px;
        line-height: 24px;
    }

    .pb-compare {
        margin-bottom: 24px;
        font-size: 12px;
        line-height: 16px;
    }

    .pb-compare th,
    .pb-compare td {
        padding: 8px;
    }

    .pb-answer-text .pb-compare ul {
        margin-bottom: 0;
    }

    .pb-video {
        aspect-ratio: auto;
        height: 206px;
    }

    .pb-video-play {
        width: 54px;
        height: 54px;
        padding: 14px 14px 14px 17px;
    }

    .pb-video-play img {
        width: 23px;
        height: 26px;
    }

    .pb-related-section {
        padding: 60px 16px;
    }

    .pb-home > .pb-ai {
        margin-top: 16px;
    }

    .pb-ai-card {
        padding: 16px;
        font-size: 14px;
        line-height: 20px;
    }

    .pb-ai-related {
        margin-top: 24px;
        padding-top: 16px;
    }

    .pb-ai-related .pb-section-title {
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 20px;
    }

    .pb-search-page .pb-page-head {
        padding: 0;
    }

    .pb-search-page .pb-back {
        width: 20px;
        height: 20px;
    }

    .pb-search-page .pb-page-title {
        font-size: 14px;
        line-height: 20px;
    }

    .pb-ai-card--answer {
        padding: 12px 8px 12px 16px;
    }

    .pb-ai-source {
        font-size: 12px;
        line-height: 16px;
    }

    .pb-ai-feedback {
        font-size: 12px;
        line-height: 16px;
    }

    .pb-ai-feedback-ask {
        gap: 10px;
    }

    .pb-ai-rate {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .pb-link-list {
        gap: 12px;
    }

    .pb-link-card {
        padding: 16px;
        font-size: 14px;
        line-height: 20px;
    }

    .pb-topic-count {
        font-size: 12px;
        line-height: 16px;
    }

    .pb-kb-body {
        padding: 0 16px;
    }

    .pb-kb-heading {
        font-size: 18px;
        line-height: 26px;
    }

    .pb-kb-body .pb-answer-text {
        font-size: 14px;
        line-height: 20px;
    }

    .pb-page > .pb-contact {
        margin-top: 40px;
    }
}
