/*
Theme Name: Teman Baik Mobile
Version: 1.0
*/

/* =====================================================
   RESET
===================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    background: #eef0f4;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    color: #17204a;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
}


/* =====================================================
   MAIN APP
===================================================== */

.tb-home {
    position: relative;

    width: 100%;
    max-width: 500px;

    min-height: 100vh;

    margin: 0 auto;

    background: #fff;

    overflow: hidden;
}


/* =====================================================
   HEADER HOME
===================================================== */

.tb-header-home {
    position: absolute;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    z-index: 999;

    width: 100%;
    max-width: 500px;

    height: 70px;

    padding: 15px 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: transparent;

    transition:
        background .25s ease,
        box-shadow .25s ease,
        height .25s ease;

}


/* =====================================================
   STICKY / SCROLL
===================================================== */

.tb-header-home.scrolled {

    position: fixed;

    top: 0;

    background: rgba(255,255,255,.97);

    box-shadow:
        0 2px 12px
        rgba(0,0,0,.08);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

}


/* =====================================================
   LOGO
===================================================== */

.tb-logo-home {

    position: relative;

    width: 96px;

    height: 40px;

    display: flex;

    align-items: center;

    flex-shrink: 0;

}


/* LOGO SVG */

.tb-logo-home svg {

    position: absolute;

    left: 0;
    top: 0;

    width: 96px;
    height: 40px;

    transition:
        opacity .25s ease,
        color .25s ease;

}


/* LOGO WHITE */

.tb-logo-white {

    color: #ffffff;

    opacity: 1;
}


/* LOGO BLUE */

.tb-logo-blue {

    color: #2946a5;

    opacity: 0;
}


/* =====================================================
   SAAT SCROLL
===================================================== */

.tb-header-home.scrolled
.tb-logo-white {

    opacity: 0;

}


.tb-header-home.scrolled
.tb-logo-blue {

    opacity: 1;

}


/* =====================================================
   SEARCH
===================================================== */

.tb-search-wrapper {
    position: relative;

    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    transition: width .25s ease;
}


/* =====================================================
   SEARCH INPUT
===================================================== */

.tb-search-input {
    position: absolute;

    top: 0;
    right: 0;

    width: 34px;
    height: 34px;

    margin: 0;

    padding:
        0
        40px
        0
        14px;

    opacity: 0;

    pointer-events: none;

    outline: none;

    border: 1px solid transparent;

    border-radius: 18px;

    background: transparent;

    color: #26304f;

    font-size: 11px;

    transition:
        width .25s ease,
        opacity .2s ease,
        background .25s ease,
        border-color .25s ease;
}

.tb-search-input::placeholder {
    color: #9aa2b5;
}


/* =====================================================
   SEARCH BUTTON
===================================================== */

.tb-search-button {
    position: absolute;

    top: 0;
    right: 0;

    z-index: 5;

    width: 34px;
    height: 34px;

    margin: 0;
    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    appearance: none;
    -webkit-appearance: none;

    border:
        1px solid
        rgba(255,255,255,.18);

    border-radius: 50%;

    background:
        rgba(0,80,130,.35);

    color: #ffffff;

    cursor: pointer;

    outline: none;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}


/* ICON */

.tb-search-button svg {
    width: 16px;
    height: 16px;

    display: block;
}


/* =====================================================
   HOVER
===================================================== */

.tb-search-wrapper:hover {
    width: 270px;
}

.tb-search-wrapper:hover
.tb-search-input {
    width: 270px;

    opacity: 1;

    pointer-events: auto;

    background: #ffffff;

    border-color: #e4e7ed;
}

.tb-search-wrapper:hover
.tb-search-button {
    background: transparent;

    border-color: transparent;

    color: #26304f;
}


/* =====================================================
   FOCUS
===================================================== */

.tb-search-input:focus {
    background: #ffffff;

    border-color: #08a7df;

    outline: none;

    box-shadow:
        0 0 0 3px
        rgba(8,167,223,.08);
}


/* =====================================================
   SCROLL / STICKY
===================================================== */

.tb-header-home.scrolled
.tb-search-wrapper {
    width: 270px;
    height: 34px;
}

.tb-header-home.scrolled
.tb-search-input {
    width: 270px;
    height: 34px;

    opacity: 1;

    pointer-events: auto;

    background: #f4f5f8;

    border-color: #e4e7ed;

    color: #26304f;
}

.tb-header-home.scrolled
.tb-search-button {
    width: 34px;
    height: 34px;

    background: transparent;

    border-color: transparent;

    color: #26304f;
}

.tb-header-home.scrolled
.tb-search-button svg {
    width: 16px;
    height: 16px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 500px) {

    .tb-search-wrapper {
        width: 34px;
        height: 34px;
    }

    .tb-search-wrapper:hover {
        width: 270px;
    }

    .tb-header-home.scrolled
    .tb-search-wrapper {
        width: 270px;
    }

}


/* =====================================================
   SMALL PHONE
===================================================== */

@media (max-width: 380px) {

    .tb-search-wrapper:hover,
    .tb-header-home.scrolled
    .tb-search-wrapper {
        width: 235px;
    }

    .tb-search-wrapper:hover
    .tb-search-input,
    .tb-header-home.scrolled
    .tb-search-input {
        width: 235px;
    }

}

/* =====================================================
   DESKTOP
===================================================== */

@media (min-width: 501px) {

    .tb-header-home {

        width: 500px;

    }

}


/* =====================================================
   HERO
===================================================== */

.tb-home-hero {
    position: relative;

    width: 100%;

    height: 342px;

    overflow: hidden;

    background: #0da7d8;

    border-radius:
        0
        0
        15px
        15px;
}


/* SLIDER */

.tb-home-slider {
    position: relative;

    width: 100%;
    height: 100%;
}

.tb-home-slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .45s ease;
}

.tb-home-slide.active {
    opacity: 1;

    visibility: visible;
}


/* IMAGE */

.tb-home-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* PLACEHOLDER */

.tb-banner-placeholder {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    color: #fff;

    text-align: center;
}

.tb-banner-placeholder svg {
    width: 43px;
    height: 43px;

    margin-bottom: 10px;

    opacity: .7;
}

.tb-banner-placeholder strong {
    font-size: 14px;
}


/* DOTS */

.tb-home-dots {
    position: absolute;

    left: 0;
    right: 0;

    bottom: 17px;

    z-index: 10;

    display: flex;

    justify-content: center;

    gap: 16px;
}

.tb-home-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #c4d1d7;
}

.tb-home-dot.active {
    background: #fff;
}


/* =====================================================
   CONTENT
===================================================== */

.tb-home-content {
    position: relative;

    z-index: 5;

    width: 100%;

    margin-top: 0;

    padding:
        24px
        14px
        120px;

    background: #fff;

    border-radius:
        18px
        18px
        0
        0;
}


/* =====================================================
   CATEGORY
===================================================== */

.tb-home-category {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    column-gap: 18px;

    row-gap: 23px;
}

.tb-home-category-item {
    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    color: #3047a3;
}


/* ICON */

.tb-home-category-icon {
    width: 56px;
    height: 56px;

    margin-bottom: 9px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        #edf4ff;

    border:
        1px solid
        #dbe7ff;

    border-radius: 15px;

    color: #3047a3;
}

.tb-home-category-icon svg {
    width: 29px;
    height: 29px;

    stroke-width: 1.8;
}


/* LABEL */

.tb-home-category-name {
    font-size: 11px;

    font-weight: 700;

    white-space: nowrap;
}

/* =====================================================
   URGENT CAMPAIGN
===================================================== */

.tb-home-campaign-section {
    margin-top: 32px;
}


/* =====================================================
   SECTION HEADER
===================================================== */

.tb-home-section-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 14px;

}


.tb-home-section-header h2 {

    margin: 0;

    color: #172c78;

    font-size: 16px;

    line-height: 1.3;

    font-weight: 800;

}


.tb-home-section-header a {

    color: #00a5df;

    font-size: 10px;

    font-weight: 700;

}


/* =====================================================
   TOOLBAR
===================================================== */

.tb-campaign-toolbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 16px;

}


.tb-campaign-toolbar-left {

    display: flex;

    align-items: center;

    gap: 8px;

}


/* =====================================================
   FILTER / SORT
===================================================== */

.tb-filter-button,
.tb-sort-button {

    height: 32px;

    padding:
        0
        12px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    background: #ffffff;

    border:
        1px solid
        #00a7e1;

    border-radius: 8px;

    color: #009ed8;

    font-size: 10px;

    font-weight: 600;

    cursor: pointer;

}


.tb-filter-button svg {

    width: 14px;
    height: 14px;

}


.tb-sort-button svg {

    width: 14px;
    height: 14px;

}


/* =====================================================
   GRID BUTTON
===================================================== */

.tb-grid-button {

    width: 32px;
    height: 32px;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #ffffff;

    border:
        1px solid
        #00a7e1;

    border-radius: 8px;

    color: #009ed8;

    cursor: pointer;

}


.tb-grid-button svg {

    width: 17px;
    height: 17px;

}


/* =====================================================
   URGENT LIST
===================================================== */

.tb-urgent-campaign-list {

    display: flex;

    flex-direction: column;

    gap: 11px;

}


/* =====================================================
   CARD
===================================================== */

.tb-urgent-campaign {

    width: 100%;

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid
        #e9edf2;

    border-radius: 13px;

    box-shadow:
        0 2px 8px
        rgba(0,0,0,.08);

}


.tb-urgent-campaign-link {

    display: flex;

    width: 100%;

    min-height: 112px;

}


/* =====================================================
   IMAGE
===================================================== */

.tb-urgent-image {

    width: 46%;

    min-width: 46%;

    height: 112px;

    overflow: hidden;

    background: #edf1f5;

}


.tb-urgent-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}


.tb-urgent-no-image {

    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #9ca5b6;

    font-size: 10px;

}


/* =====================================================
   CONTENT
===================================================== */

.tb-urgent-content {

    width: 54%;

    min-width: 0;

    padding:
        12px
        10px
        10px
        12px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

}


.tb-urgent-content h3 {

    display: -webkit-box;

    margin: 0;

    color: #17204a;

    font-size: 11px;

    line-height: 1.45;

    font-weight: 800;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;

}


/* =====================================================
   PROGRESS
===================================================== */

.tb-urgent-progress {

    width: 100%;

    height: 5px;

    overflow: hidden;

    background: #e1e5ea;

    border-radius: 10px;

}


.tb-urgent-progress span {

    display: block;

    height: 100%;

    background: #08a7df;

    border-radius: 10px;

}


/* =====================================================
   META
===================================================== */

.tb-urgent-meta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 5px;

}


.tb-urgent-meta strong {

    color: #123d9b;

    font-size: 11px;

    font-weight: 800;

    white-space: nowrap;

}


.tb-urgent-meta span {

    color: #6d7483;

    font-size: 8px;

    white-space: nowrap;

}


/* =====================================================
   HOVER
===================================================== */

.tb-urgent-campaign {

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.tb-urgent-campaign:hover {

    transform:
        translateY(-1px);

    box-shadow:
        0 4px 12px
        rgba(0,0,0,.10);

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 500px) {

    .tb-urgent-campaign-link {

        min-height: 112px;

    }

    .tb-urgent-image {

        width: 46%;

        min-width: 46%;

        height: 112px;

    }

    .tb-urgent-content {

        width: 54%;

        padding:
            10px
            9px
            9px
            11px;

    }

}


/* =====================================================
   SMALL PHONE
===================================================== */

@media (max-width: 380px) {

    .tb-campaign-toolbar {

        margin-bottom: 13px;

    }

    .tb-filter-button,
    .tb-sort-button {

        height: 30px;

        padding:
            0
            10px;

        font-size: 9px;

    }

    .tb-grid-button {

        width: 30px;
        height: 30px;

    }

    .tb-urgent-campaign-link {

        min-height: 105px;

    }

    .tb-urgent-image {

        height: 105px;

    }

    .tb-urgent-content h3 {

        font-size: 10px;

    }

    .tb-urgent-meta strong {

        font-size: 10px;

    }

}


/* =====================================================
   CAMPAIGN
===================================================== */

.tb-home-campaign-section {
    margin-top: 32px;
}

.tb-home-section-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 14px;
}

.tb-home-section-header h2 {
    margin: 0;

    font-size: 17px;

    color: #172c78;

    font-weight: 800;
}

.tb-home-section-header a {
    font-size: 11px;

    color: #00a5df;

    font-weight: 700;
}


/* GRID */

.tb-home-campaign-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}


/* CARD */

.tb-home-campaign-card {
    overflow: hidden;

    background: #fff;

    border:
        1px solid
        #edf0f5;

    border-radius: 13px;

    box-shadow:
        0 4px 14px
        rgba(0,0,0,.06);
}


/* IMAGE */

.tb-home-campaign-image {
    width: 100%;

    height: 140px;

    overflow: hidden;

    background: #edf1f5;
}

.tb-home-campaign-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* NO IMAGE */

.tb-home-no-image {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #edf1f5;

    color: #a4adbd;

    font-size: 11px;
}


/* BODY */

.tb-home-campaign-body {
    padding: 11px;
}

.tb-home-campaign-body h3 {
    display: -webkit-box;

    margin:
        0
        0
        9px;

    font-size: 12px;

    line-height: 1.35;

    color: #17204a;

    font-weight: 800;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* PROGRESS */

.tb-home-progress {
    width: 100%;

    height: 5px;

    overflow: hidden;

    background: #e2e6ec;

    border-radius: 20px;
}

.tb-home-progress span {
    display: block;

    height: 100%;

    background: #08a7df;

    border-radius: 20px;
}


/* INFO */

.tb-home-campaign-info {
    margin-top: 8px;

    display: flex;

    flex-direction: column;

    gap: 2px;
}

.tb-home-campaign-info span {
    font-size: 9px;

    color: #969eaf;
}

.tb-home-campaign-info strong {
    font-size: 13px;

    color: #173b9b;

    font-weight: 800;
}


/* DONATE */

.tb-home-donate-button {
    width: 100%;

    height: 36px;

    margin-top: 10px;

    border: 0;

    border-radius: 8px;

    background: #08a7df;

    color: #fff;

    font-size: 12px;

    font-weight: 700;
}

.tb-home-donate-button span {
    margin-right: 5px;

    font-size: 17px;
}


/* EMPTY */

.tb-home-empty {
    grid-column: 1 / -1;

    padding: 30px;

    text-align: center;

    color: #929aaa;

    font-size: 11px;
}


/* =====================================================
   STATISTICS
===================================================== */

.tb-home-statistics {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    margin:
        30px
        -14px
        0;

    padding:
        18px
        14px;

    background: #2946a5;

    color: #fff;
}

.tb-stat-item {
    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        3px 8px;
}

.tb-stat-item + .tb-stat-item {
    border-left:
        1px solid
        rgba(255,255,255,.18);
}

.tb-stat-icon {
    width: 36px;
    flex-shrink: 0;
}

.tb-stat-icon svg {
    width: 34px;
    height: 34px;
}

.tb-stat-item strong {
    display: block;

    font-size: 17px;

    line-height: 1.2;
}

.tb-stat-item span {
    display: block;

    margin-top: 3px;

    font-size: 9px;

    color: #fff;
}


/* =====================================================
   FOOTER TEMAN BAIK
===================================================== */

.tb-home-footer {
    width: 100%;

    background: #08143f;

    color: #ffffff;

    padding-bottom: 80px;
}


/* =====================================================
   FOOTER STATISTICS
===================================================== */

.tb-footer-statistics {

    width: 100%;

    min-height: 86px;

    padding:
        15px
        18px;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    background: #2947a5;

    color: #ffffff;
}


.tb-footer-stat {

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        4px
        8px;
}


.tb-footer-stat + .tb-footer-stat {

    border-left:
        1px solid
        rgba(255,255,255,.20);
}


.tb-footer-stat-icon {

    width: 38px;

    min-width: 38px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.tb-footer-stat-icon svg {

    width: 34px;
    height: 34px;
}


.tb-footer-stat-text {

    min-width: 0;
}


.tb-footer-stat-text strong {

    display: block;

    font-size: 17px;

    line-height: 1.1;

    font-weight: 800;

    white-space: nowrap;
}


.tb-footer-stat-text span {

    display: block;

    margin-top: 4px;

    font-size: 9px;

    line-height: 1.2;

    white-space: nowrap;
}


/* =====================================================
   FOOTER MAIN
===================================================== */

.tb-footer-main {

    position: relative;

    width: 100%;

    padding:
        30px
        20px
        20px;

    display: grid;

    grid-template-columns:
        82px
        1fr
        82px
        70px;

    column-gap: 14px;

    row-gap: 20px;

    background: #08143f;
}


/* =====================================================
   FOOTER BRAND
===================================================== */

.tb-footer-brand {

    padding-top: 4px;
}


.tb-footer-logo {

    display: flex;

    align-items: center;

    gap: 5px;

    color: #ffffff;
}


.tb-footer-logo svg {

    width: 38px;
    height: 38px;
}


.tb-footer-logo strong {

    font-size: 13px;

    line-height: .9;

    font-weight: 800;

    letter-spacing: -.5px;
}


/* =====================================================
   FOOTER COLUMN
===================================================== */

.tb-footer-column {

    min-width: 0;
}


.tb-footer-column h3 {

    margin:
        0
        0
        12px;

    color: #ffffff;

    font-size: 12px;

    line-height: 1.35;

    font-weight: 800;
}


.tb-footer-column > a {

    display: block;

    margin-bottom: 10px;

    color: #d9dff1;

    font-size: 9px;

    line-height: 1.3;
}


.tb-footer-column > a:hover {

    color: #08a7df;
}


/* =====================================================
   CONTACT
===================================================== */

.tb-contact-item {

    margin-bottom: 13px;
}


.tb-contact-item strong {

    display: flex;

    align-items: center;

    gap: 4px;

    margin-bottom: 4px;

    color: #ffffff;

    font-size: 9px;

    line-height: 1.3;

    font-weight: 800;
}


.tb-contact-icon {

    color: #00aeea;

    font-size: 13px;

    line-height: 1;
}


.tb-contact-item p {

    margin: 0;

    color: #9ca6c2;

    font-size: 9px;

    line-height: 1.35;
}


/* =====================================================
   SOCIAL
===================================================== */

.tb-footer-social-column {

    min-width: 65px;
}


.tb-social {

    display: flex;

    align-items: center;

    gap: 10px;
}


.tb-social a {

    width: 20px;
    height: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 17px;

    font-weight: 800;
}


/* =====================================================
   COPYRIGHT
===================================================== */

.tb-footer-bottom {

    grid-column:
        1 / -1;

    margin-top: 4px;

    padding-top: 17px;

    border-top:
        1px solid
        rgba(255,255,255,.18);

    color: #9ca6c2;

    font-size: 8px;

    line-height: 1.4;
}


/* =====================================================
   MOBILE <= 500PX
===================================================== */

@media (max-width: 500px) {

    .tb-footer-main {

        grid-template-columns:
            82px
            1fr
            82px
            70px;

        column-gap: 10px;

        padding-left: 20px;
        padding-right: 20px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

    .tb-footer-statistics {

        padding-left: 12px;
        padding-right: 12px;
    }


    .tb-footer-stat {

        gap: 6px;

        padding-left: 3px;
        padding-right: 3px;
    }


    .tb-footer-stat-icon {

        width: 32px;
        min-width: 32px;
    }


    .tb-footer-stat-icon svg {

        width: 29px;
        height: 29px;
    }


    .tb-footer-stat-text strong {

        font-size: 14px;
    }


    .tb-footer-stat-text span {

        font-size: 8px;
    }


    .tb-footer-main {

        grid-template-columns:
            72px
            1fr
            72px
            60px;

        column-gap: 7px;

        padding-left: 14px;
        padding-right: 14px;
    }


    .tb-footer-column h3 {

        font-size: 11px;
    }


    .tb-contact-item strong,
    .tb-contact-item p,
    .tb-footer-column > a {

        font-size: 8px;
    }

}
/* =====================================================
   WHATSAPP
===================================================== */

.tb-home-whatsapp {
    position: fixed;

    z-index: 200;

    right:
        max(
            18px,
            calc(
                (100vw - 500px) / 2 + 18px
            )
        );

    bottom: 88px;

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #00c875;

    border:
        3px solid
        #fff;

    border-radius: 50%;

    box-shadow:
        0 5px 15px
        rgba(0,200,117,.35);
}

.tb-home-whatsapp svg {
    width: 25px;
    height: 25px;

    fill: #fff;
}


/* =====================================================
   BOTTOM NAV
===================================================== */

.tb-home-bottom-nav {
    position: fixed;

    left: 50%;
    bottom: 0;

    z-index: 150;

    width: 100%;
    max-width: 500px;

    height: 80px;

    transform:
        translateX(-50%);

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    background:
        rgba(255,255,255,.98);

    border-top:
        1px solid
        #e9edf3;

    box-shadow:
        0 -5px 18px
        rgba(0,0,0,.05);

    backdrop-filter:
        blur(8px);
}

.tb-home-bottom-nav a {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    color: #a9b2d2;

    font-size: 10px;

    font-weight: 700;
}

.tb-home-bottom-nav svg {
    width: 27px;
    height: 27px;
}

.tb-home-bottom-nav a.active {
    color: #3047a3;
}

.tb-home-bottom-nav a.active::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 8px;

    width: 28px;
    height: 2px;

    transform:
        translateX(-50%);

    background: #3047a3;

    border-radius: 20px;
}


/* =====================================================
   DESKTOP
   TETAP MOBILE 500PX
===================================================== */

@media (min-width: 501px) {

    .tb-home {
        width: 500px;
        max-width: 500px;

        margin: 0 auto;

        box-shadow:
            0 0 35px
            rgba(0,0,0,.12);
    }

    .tb-home-bottom-nav {
        width: 500px;
        max-width: 500px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 500px) {

    body {
        background: #fff;
    }

    .tb-home {
        width: 100%;
        max-width: 500px;

        box-shadow: none;
    }
}


/* =====================================================
   SMALL PHONE
===================================================== */

@media (max-width: 380px) {

    .tb-home-content {
        padding-left: 12px;
        padding-right: 12px;
    }

    .tb-home-category {
        column-gap: 10px;
    }

    .tb-home-category-icon {
        width: 52px;
        height: 52px;
    }

    .tb-home-category-icon svg {
        width: 27px;
        height: 27px;
    }

    .tb-home-campaign-grid {
        gap: 8px;
    }

    .tb-home-campaign-image {
        height: 125px;
    }

    .tb-home-campaign-body {
        padding: 8px;
    }

    .tb-home-donate-button {
        font-size: 11px;
    }

}

/* =========================================================
   HEADER STICKY - KHUSUS PAGE LAPORAN
========================================================= */

.tb-header-laporan {
    position: sticky !important;
    top: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}


/* =====================================================
   SAFE AREA
===================================================== */

@supports (
    padding-bottom:
    env(safe-area-inset-bottom)
) {

    .tb-home-bottom-nav {
        height:
            calc(
                80px +
                env(safe-area-inset-bottom)
            );

        padding-bottom:
            env(safe-area-inset-bottom);
    }

    .tb-home-content {
        padding-bottom:
            calc(
                120px +
                env(safe-area-inset-bottom)
            );
    }

    .tb-home-footer {
        padding-bottom:
            calc(
                100px +
                env(safe-area-inset-bottom)
            );
    }
}