*,
*::before,
*::after {
    box-sizing: border-box;
}

body.frontend-body {
    min-height: 100vh;
    margin: 0;
    background: #f5f5fa;
    color: #1f2937;
    font-family: 'Poppins', sans-serif;
}

.frontend-main {
    min-height: 50vh;
}

.frontend-page-header {
    background: #ffffff;
    border-bottom: 1px solid #eeeef6;
    padding: 32px 0 36px;
}

.frontend-page-header-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
}

.frontend-page-header-left {
    min-width: 0;
}

.frontend-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 13px;
}

.frontend-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.frontend-breadcrumb a:hover,
.frontend-breadcrumb-active {
    color: #3b4bdf;
}

.frontend-breadcrumb-active {
    font-weight: 700;
}

.frontend-page-title {
    margin: 0 0 10px;
    color: #111827;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: 0;
}

.frontend-page-description {
    max-width: 720px;
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.75;
}

.frontend-header-media {
    display: flex;
    justify-content: flex-end;
}

.frontend-category-avatar,
.frontend-ppa-avatar {
    width: 144px;
    height: 144px;
    border-radius: 999px;
    background: #eef0ff;
    border: 4px solid #ffffff;
    box-shadow: 0 14px 40px rgba(31, 42, 99, 0.14);
    overflow: hidden;
}

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

.frontend-ppa-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b4bdf;
    font-size: 32px;
    font-weight: 800;
    box-shadow: none;
}

.help-section {
    background: #ffffff;
    padding: 42px 20px 72px;
}

.help-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.help-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.help-filter-btn {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    border-radius: 999px;
    padding: 9px 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.help-filter-btn:hover {
    border-color: #3b4bdf;
    color: #3b4bdf;
}

.help-filter-btn.active {
    border-color: #3b4bdf;
    background: #3b4bdf;
    color: #ffffff;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.help-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.help-type {
    display: inline-flex;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 800;
}

.help-card h2 {
    margin: 14px 0 0;
    color: #111827;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
}

.help-desc {
    margin: 14px 0 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}

.help-info {
    margin-top: 16px;
    color: #475569;
    font-size: 14px;
    line-height: 1.65;
}

.help-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.help-actions a {
    border-radius: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 9px 12px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease;
}

.help-actions a:hover {
    background: #dbeafe;
}

.help-actions a.primary {
    background: #16a34a;
    color: #ffffff;
}

.help-actions a.primary:hover {
    background: #15803d;
}

.empty-help {
    grid-column: 1 / -1;
    padding: 40px 0;
    text-align: center;
    color: #64748b;
}

.frontend-section-heading {
    margin-bottom: 28px;
    text-align: center;
}

.frontend-section-heading h2 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 30px;
    font-weight: 800;
}

.frontend-section-heading p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.footer-global {
    background: #0f172a;
    color: #ffffff;
}

.footer-global-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 48px 40px;
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 1.1fr 0.75fr;
    gap: 40px;
}

.footer-global-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-global-logo img {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #ffffff;
    padding: 4px;
    object-fit: contain;
}

.footer-global-logo strong {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}

.footer-global-desc {
    max-width: 360px;
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.75;
}

.footer-global h4 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-global-links,
.footer-global-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-global-links a,
.footer-global-bottom a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-global-links a:hover,
.footer-global-bottom a:hover {
    color: #ffffff;
}

.footer-global-contact {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.footer-global-contact div {
    display: flex;
    gap: 10px;
}

.footer-global-contact strong {
    color: #ffffff;
}

.footer-global-social {
    display: flex;
    gap: 12px;
}

.footer-global-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease;
}

.footer-global-social a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-global-social img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-global-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-global-bottom-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #94a3b8;
    font-size: 12px;
}

.footer-global-bottom-links {
    display: flex;
    gap: 20px;
}

@media (max-width: 992px) {
    .frontend-page-header-inner {
        grid-template-columns: 1fr;
        padding: 0 24px;
    }



    .help-grid,
    .footer-global-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .frontend-page-title {
        font-size: 28px;
    }

    .help-grid,
    .footer-global-inner {
        grid-template-columns: 1fr;
    }

    .footer-global-inner,
    .footer-global-bottom-inner {
        padding-left: 24px;
        padding-right: 24px;
    }

    .footer-global-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}
