
/* =========================================================
   HELCU — HEALTH COMMUNITY POST CATEGORY PAGE
   PREMIUM COMMUNITY DESIGN

   MOBILE FIRST
   0px → 767.98px
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.hc-post-page {

    width: 100%;

    padding: 14px;

    color: #172033;

}


/* =========================================================
   PAGE WRAPPER
========================================================= */

.hc-post-wrapper {

    width: 100%;

    max-width: 1200px;

    margin-left: auto;
    margin-right: auto;

}


/* =========================================================
   MAIN CARD
========================================================= */

.hc-post-card {

    width: 100%;

    background: #FFFFFF;

    border: 1px solid #E7EBF1;

    border-radius: 16px;

    box-shadow:
        0 4px 18px rgba(
            23,
            32,
            51,
            0.06
        );

    overflow: hidden;

}


/* =========================================================
   CATEGORY HERO
========================================================= */

.hc-post-hero {

    width: 100%;

    padding: 28px 18px;

    background: #F7FBFB;

    border-bottom: 1px solid #E8EEEE;

}


.hc-post-hero-content {

    width: 100%;

    max-width: 850px;

    margin: 0 auto;

    text-align: center;

}


/* =========================================================
   CATEGORY LABEL
========================================================= */

.hc-post-category-label {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 28px;

    padding: 5px 11px;

    border: 1px solid #D6EEEE;

    border-radius: 999px;

    background: #FFFFFF;

    color: #168F89;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.3px;

    text-transform: uppercase;

}


/* =========================================================
   HERO TITLE
========================================================= */

.hc-post-hero h1 {

    margin: 13px 0 8px;

    color: #172033;

    font-size: 27px;

    font-weight: 800;

    letter-spacing: -0.6px;

    line-height: 1.2;

}


.hc-post-hero p {

    max-width: 700px;

    margin: 0 auto;

    color: #617572;

    font-size: 13px;

    line-height: 1.7;

}


/* =========================================================
   CONTENT WRAPPER
========================================================= */

.hc-post-content-wrapper {

    width: 100%;

    padding: 18px;

}


/* =========================================================
   SECTION HEADER
========================================================= */

.hc-post-header {

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 16px;

    margin-bottom: 18px;

}


/* =========================================================
   SECTION HEADING
========================================================= */

.hc-post-heading {

    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 0;

}


.hc-post-heading-icon {

    width: 38px;

    height: 38px;

    flex: 0 0 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background: #F0FAFA;

    color: #20B2AA;

}


.hc-post-heading-icon i {

    font-size: 16px;

}


.hc-post-heading h2 {

    margin: 0;

    color: #243936;

    font-size: 18px;

    font-weight: 750;

    line-height: 1.3;

}


.hc-post-heading p {

    margin: 3px 0 0;

    color: #71817F;

    font-size: 12px;

    line-height: 1.5;

}


/* =========================================================
   CREATE POST BUTTON
========================================================= */

.hc-post-create-btn {

    width: 100%;

    min-height: 42px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 9px 15px;

    border: 1px solid #20B2AA;

    border-radius: 10px;

    background: #20B2AA;

    color: #FFFFFF;

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;

}


.hc-post-create-btn:hover {

    background: #168F89;

    border-color: #168F89;

}


.hc-post-create-btn:active {

    transform: translateY(1px);

}


.hc-post-create-btn i {

    font-size: 13px;

}


/* =========================================================
   CREATE POST FORM
========================================================= */

.hc-post-form-wrapper {

    width: 100%;

    margin-bottom: 20px;

    padding: 16px;

    border: 1px solid #DDEEEE;

    border-radius: 13px;

    background: #F8FBFB;

}


/* =========================================================
   FORM HEADER
========================================================= */

.hc-post-form-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 12px;

    margin-bottom: 18px;

}


.hc-post-form-title-wrapper {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    min-width: 0;

}


.hc-post-form-icon {

    width: 34px;

    height: 34px;

    flex: 0 0 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background: #EAF7F7;

    color: #20B2AA;

}


.hc-post-form-icon i {

    font-size: 14px;

}


.hc-post-form-header h3 {

    margin: 0;

    color: #243936;

    font-size: 16px;

    font-weight: 750;

    line-height: 1.3;

}


.hc-post-form-header p {

    margin: 3px 0 0;

    color: #71817F;

    font-size: 12px;

    line-height: 1.5;

}


/* =========================================================
   FORM CLOSE
========================================================= */

.hc-post-form-close {

    width: 32px;

    height: 32px;

    flex: 0 0 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border: 1px solid #DDE7E7;

    border-radius: 8px;

    background: #FFFFFF;

    color: #667875;

    font-size: 20px;

    line-height: 1;

    cursor: pointer;

}


.hc-post-form-close:hover {

    color: #172033;

    border-color: #C9DADA;

}


/* =========================================================
   POST FORM
========================================================= */

.hc-post-form {

    width: 100%;

}


/* =========================================================
   FORM GROUP
========================================================= */

.hc-post-form-group {

    width: 100%;

    margin-bottom: 15px;

}


.hc-post-form-group label {

    display: block;

    margin-bottom: 6px;

    color: #344C49;

    font-size: 12px;

    font-weight: 700;

}


.hc-post-form-group input,
.hc-post-form-group textarea {

    width: 100%;

    border: 1px solid #D8E4E4;

    border-radius: 9px;

    background: #FFFFFF;

    color: #243936;

    font-family: inherit;

    font-size: 13px;

    line-height: 1.5;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


.hc-post-form-group input {

    min-height: 42px;

    padding: 9px 11px;

}


.hc-post-form-group textarea {

    min-height: 130px;

    padding: 10px 11px;

    resize: vertical;

}


.hc-post-form-group input::placeholder,
.hc-post-form-group textarea::placeholder {

    color: #9AA8A6;

}


.hc-post-form-group input:focus,
.hc-post-form-group textarea:focus {

    border-color: #20B2AA;

    box-shadow:
        0 0 0 3px rgba(
            32,
            178,
            170,
            0.10
        );

}


/* =========================================================
   CATEGORY DISPLAY
========================================================= */

.hc-post-category-display {

    min-height: 42px;

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 9px 11px;

    border: 1px solid #DCEAEA;

    border-radius: 9px;

    background: #F5FAFA;

    color: #168F89;

    font-size: 13px;

    font-weight: 650;

}


.hc-post-category-display i {

    font-size: 13px;

}


/* =========================================================
   FORM HELP TEXT
========================================================= */

.hc-post-form-group small {

    display: block;

    margin-top: 5px;

    color: #899795;

    font-size: 10px;

    line-height: 1.4;

}


/* =========================================================
   FORM ACTIONS
========================================================= */

.hc-post-form-actions {

    display: flex;

    flex-direction: column-reverse;

    gap: 9px;

    margin-top: 18px;

}


.hc-post-cancel-btn,
.hc-post-submit-btn {

    width: 100%;

    min-height: 41px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    border-radius: 9px;

    font-family: inherit;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

}


/* =========================================================
   CANCEL
========================================================= */

.hc-post-cancel-btn {

    border: 1px solid #D8E3E3;

    background: #FFFFFF;

    color: #60716F;

}


.hc-post-cancel-btn:hover {

    border-color: #C6D5D4;

    color: #344C49;

}


/* =========================================================
   SUBMIT
========================================================= */

.hc-post-submit-btn {

    border: 1px solid #20B2AA;

    background: #20B2AA;

    color: #FFFFFF;

}


.hc-post-submit-btn:hover {

    border-color: #168F89;

    background: #168F89;

}


/* =========================================================
   POSTS SCROLL WRAPPER
========================================================= */

.hc-post-scroll-wrapper {

    width: 100%;

    margin-top: 4px;

}


/* =========================================================
   POST LIST
========================================================= */

.hc-post-list {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 14px;

}


/* =========================================================
   POST ITEM
========================================================= */

.hc-post-item {

    width: 100%;

    padding: 15px;

    border: 1px solid #E3EAEA;

    border-radius: 12px;

    background: #FFFFFF;

}


/* =========================================================
   POST TOP
========================================================= */

.hc-post-top {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;

    padding-bottom: 12px;

    border-bottom: 1px solid #EEF2F2;

}


/* =========================================================
   POST AUTHOR
========================================================= */

.hc-post-author {

    display: flex;

    align-items: center;

    gap: 9px;

    min-width: 0;

}


.hc-post-author-icon {

    width: 34px;

    height: 34px;

    flex: 0 0 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #F0FAFA;

    color: #20B2AA;

}


.hc-post-author-icon i {

    font-size: 13px;

}


.hc-post-author-info {

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 2px;

}


.hc-post-author-info strong {

    overflow: hidden;

    color: #263C39;

    font-size: 13px;

    font-weight: 700;

    text-overflow: ellipsis;

    white-space: nowrap;

}


.hc-post-author-info span {

    color: #899795;

    font-size: 10px;

    line-height: 1.4;

}


/* =========================================================
   POST CATEGORY
========================================================= */

.hc-post-category {

    display: inline-flex;

    align-items: center;

    min-height: 25px;

    padding: 4px 9px;

    border: 1px solid #DDEEEE;

    border-radius: 999px;

    background: #F7FBFB;

    color: #168F89;

    font-size: 10px;

    font-weight: 700;

}


/* =========================================================
   POST BODY
========================================================= */

.hc-post-body {

    width: 100%;

    padding: 14px 0;

}


.hc-post-body p {

    margin: 0;

    color: #526663;

    font-size: 13px;

    line-height: 1.75;

    overflow-wrap: anywhere;

}


/* =========================================================
   POST ACTIONS
========================================================= */

.hc-post-actions {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    padding-top: 12px;

    border-top: 1px solid #EEF2F2;

}


/* =========================================================
   POST ACTION BUTTONS
========================================================= */

.hc-post-replies-btn,
.hc-post-reply-btn {

    min-height: 34px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    padding: 6px 10px;

    border: 1px solid #DDE7E7;

    border-radius: 8px;

    background: #FFFFFF;

    color: #526663;

    font-family: inherit;

    font-size: 11px;

    font-weight: 650;

    cursor: pointer;

}


.hc-post-replies-btn:hover,
.hc-post-reply-btn:hover {

    border-color: #BFD8D7;

    color: #168F89;

}


.hc-post-replies-btn i,
.hc-post-reply-btn i {

    font-size: 11px;

}


/* =========================================================
   REPLY COUNT
========================================================= */

.hc-post-reply-count {

    min-width: 19px;

    height: 19px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 0 5px;

    border-radius: 999px;

    background: #EEF8F8;

    color: #168F89;

    font-size: 9px;

    font-weight: 800;

}


/* =========================================================
   REPLIES PANEL
========================================================= */

.hc-post-replies-panel {

    width: 100%;

    margin-top: 13px;

    padding: 12px;

    border: 1px solid #E2EBEB;

    border-radius: 10px;

    background: #F9FBFB;

}


/* =========================================================
   REPLIES HEADER
========================================================= */

.hc-post-replies-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    padding-bottom: 9px;

    border-bottom: 1px solid #E5EEEE;

}


.hc-post-replies-header > div {

    display: flex;

    align-items: center;

    gap: 7px;

}


.hc-post-replies-header i {

    color: #20B2AA;

    font-size: 13px;

}


.hc-post-replies-header strong {

    color: #344C49;

    font-size: 12px;

    font-weight: 700;

}


.hc-post-replies-header > span {

    min-width: 22px;

    height: 21px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 0 6px;

    border-radius: 999px;

    background: #EEF8F8;

    color: #168F89;

    font-size: 9px;

    font-weight: 800;

}


/* =========================================================
   REPLIES LIST CONTAINER
========================================================= */

.hc-post-replies-list {

    width: 100%;

    padding-top: 11px;

}


/* =========================================================
   NO REPLIES
========================================================= */

.hc-post-no-replies {

    margin: 0;

    color: #899795;

    font-size: 11px;

    line-height: 1.5;

}


/* =========================================================
   MAIN POST REPLY FORM
========================================================= */

.hc-post-reply-form-wrapper {

    width: 100%;

    margin-top: 13px;

    padding: 13px;

    border: 1px solid #DDEEEE;

    border-radius: 10px;

    background: #F8FBFB;

}


/* =========================================================
   REPLY FORM HEADER
========================================================= */

.hc-post-reply-form-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 13px;

}


.hc-post-reply-form-header > div {

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.hc-post-reply-form-header strong {

    color: #344C49;

    font-size: 13px;

    font-weight: 700;

}


.hc-post-reply-form-header span {

    color: #899795;

    font-size: 10px;

    line-height: 1.4;

}


/* =========================================================
   REPLY FORM CLOSE
========================================================= */

.hc-post-reply-close {

    width: 28px;

    height: 28px;

    flex: 0 0 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border: 1px solid #DDE7E7;

    border-radius: 7px;

    background: #FFFFFF;

    color: #667875;

    font-size: 18px;

    line-height: 1;

    cursor: pointer;

}


.hc-post-reply-close:hover {

    color: #172033;

    border-color: #C9DADA;

}


/* =========================================================
   REPLY FORM GROUP
========================================================= */

.hc-post-reply-form-group {

    width: 100%;

    margin-bottom: 12px;

}


.hc-post-reply-form-group label {

    display: block;

    margin-bottom: 5px;

    color: #344C49;

    font-size: 11px;

    font-weight: 700;

}


.hc-post-reply-form-group input,
.hc-post-reply-form-group textarea {

    width: 100%;

    border: 1px solid #D8E4E4;

    border-radius: 8px;

    background: #FFFFFF;

    color: #243936;

    font-family: inherit;

    font-size: 12px;

    line-height: 1.5;

    outline: none;

}


.hc-post-reply-form-group input {

    min-height: 39px;

    padding: 8px 10px;

}


.hc-post-reply-form-group textarea {

    min-height: 100px;

    padding: 9px 10px;

    resize: vertical;

}


.hc-post-reply-form-group input::placeholder,
.hc-post-reply-form-group textarea::placeholder {

    color: #9AA8A6;

}


.hc-post-reply-form-group input:focus,
.hc-post-reply-form-group textarea:focus {

    border-color: #20B2AA;

    box-shadow:
        0 0 0 3px rgba(
            32,
            178,
            170,
            0.10
        );

}


/* =========================================================
   REPLY FORM ACTIONS
========================================================= */

.hc-post-reply-form-actions {

    display: flex;

    flex-direction: column-reverse;

    gap: 8px;

    margin-top: 14px;

}


.hc-post-reply-cancel,
.hc-post-reply-submit {

    width: 100%;

    min-height: 38px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    border-radius: 8px;

    font-family: inherit;

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;

}


.hc-post-reply-cancel {

    border: 1px solid #D8E3E3;

    background: #FFFFFF;

    color: #60716F;

}


.hc-post-reply-cancel:hover {

    border-color: #C6D5D4;

    color: #344C49;

}


.hc-post-reply-submit {

    border: 1px solid #20B2AA;

    background: #20B2AA;

    color: #FFFFFF;

}


.hc-post-reply-submit:hover {

    border-color: #168F89;

    background: #168F89;

}


/* =========================================================
   EMPTY STATE
========================================================= */

.hc-post-empty {

    width: 100%;

    padding: 28px 18px;

    text-align: center;

    border: 1px solid #E3EBEB;

    border-radius: 12px;

    background: #FAFCFC;

}


.hc-post-empty-icon {

    width: 48px;

    height: 48px;

    margin: 0 auto 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 13px;

    background: #F0FAFA;

    color: #20B2AA;

}


.hc-post-empty-icon i {

    font-size: 20px;

}


.hc-post-empty h3 {

    margin: 0 0 6px;

    color: #344C49;

    font-size: 17px;

    font-weight: 750;

}


.hc-post-empty p {

    max-width: 450px;

    margin: 0 auto 15px;

    color: #71817F;

    font-size: 12px;

    line-height: 1.6;

}


/* =========================================================
   EMPTY STATE BUTTON
========================================================= */

.hc-post-empty-btn {

    min-height: 39px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding: 8px 13px;

    border: 1px solid #20B2AA;

    border-radius: 9px;

    background: #20B2AA;

    color: #FFFFFF;

    font-family: inherit;

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;

}


.hc-post-empty-btn:hover {

    border-color: #168F89;

    background: #168F89;

}


/* =========================================================
   DISCLAIMER
========================================================= */

.hc-post-disclaimer {

    width: 100%;

    margin-top: 18px;

    padding: 11px 12px;

    display: flex;

    align-items: flex-start;

    gap: 9px;

    border: 1px solid #DDEEEE;

    border-radius: 9px;

    background: #F5FAFA;

}


.hc-post-disclaimer > i {

    flex: 0 0 auto;

    margin-top: 2px;

    color: #20B2AA;

    font-size: 13px;

}


.hc-post-disclaimer p {

    margin: 0;

    color: #6A7C79;

    font-size: 10px;

    line-height: 1.6;

}


/* =========================================================
   TABLET
   768px → 1199.98px
========================================================= */

@media (min-width: 768px) {


    /* =====================================================
       PAGE
    ====================================================== */

    .hc-post-page {

        padding: 22px;

    }


    /* =====================================================
       CARD
    ====================================================== */

    .hc-post-card {

        border-radius: 18px;

    }


    /* =====================================================
       HERO
    ====================================================== */

    .hc-post-hero {

        padding: 34px 30px;

    }


    .hc-post-hero h1 {

        font-size: 30px;

    }


    .hc-post-hero p {

        font-size: 13px;

    }


    /* =====================================================
       CONTENT
    ====================================================== */

    .hc-post-content-wrapper {

        padding: 28px 30px 32px;

    }


    /* =====================================================
       HEADER
    ====================================================== */

    .hc-post-header {

        flex-direction: row;

        align-items: center;

        justify-content: space-between;

        gap: 20px;

        margin-bottom: 20px;

    }


    .hc-post-create-btn {

        width: auto;

        flex: 0 0 auto;

        min-width: 105px;

    }


    /* =====================================================
       CREATE FORM
    ====================================================== */

    .hc-post-form-wrapper {

        padding: 20px;

    }


    .hc-post-form-actions {

        flex-direction: row;

        justify-content: flex-end;

    }


    .hc-post-cancel-btn,
    .hc-post-submit-btn {

        width: auto;

        min-width: 100px;

    }


    /* =====================================================
       POST
    ====================================================== */

    .hc-post-item {

        padding: 17px;

    }


    .hc-post-top {

        flex-direction: row;

        align-items: center;

        justify-content: space-between;

    }


    .hc-post-body p {

        font-size: 14px;

        line-height: 1.8;

    }


    /* =====================================================
       MAIN POST REPLY FORM
    ====================================================== */

    .hc-post-reply-form-actions {

        flex-direction: row;

        justify-content: flex-end;

    }


    .hc-post-reply-cancel,
    .hc-post-reply-submit {

        width: auto;

        min-width: 85px;

    }


    /* =====================================================
       EMPTY
    ====================================================== */

    .hc-post-empty {

        padding: 36px 25px;

    }

}


/* =========================================================
   DESKTOP
   1200px+
========================================================= */

@media (min-width: 1200px) {


    /* =====================================================
       PAGE
    ====================================================== */

    .hc-post-page {

        padding: 28px;

    }


    /* =====================================================
       CARD
    ====================================================== */

    .hc-post-card {

        border-radius: 20px;

    }


    /* =====================================================
       HERO
    ====================================================== */

    .hc-post-hero {

        padding: 42px 50px;

    }


    .hc-post-hero h1 {

        font-size: 32px;

    }


    .hc-post-hero p {

        font-size: 14px;

        line-height: 1.75;

    }


    /* =====================================================
       CONTENT
    ====================================================== */

    .hc-post-content-wrapper {

        padding: 34px 50px 40px;

    }


    /* =====================================================
       HEADER
    ====================================================== */

    .hc-post-header {

        margin-bottom: 22px;

    }


    .hc-post-heading-icon {

        width: 42px;

        height: 42px;

        flex-basis: 42px;

    }


    .hc-post-heading-icon i {

        font-size: 17px;

    }


    .hc-post-heading h2 {

        font-size: 19px;

    }


    .hc-post-heading p {

        font-size: 12px;

    }


    .hc-post-create-btn {

        min-height: 43px;

        min-width: 115px;

        padding-left: 17px;

        padding-right: 17px;

    }


    /* =====================================================
       CREATE FORM
    ====================================================== */

    .hc-post-form-wrapper {

        padding: 22px;

        border-radius: 14px;

    }


    /* =====================================================
       POSTS
    ====================================================== */

    .hc-post-list {

        gap: 16px;

    }


    .hc-post-item {

        padding: 19px;

        border-radius: 13px;

    }


    .hc-post-body {

        padding: 16px 0;

    }


    .hc-post-body p {

        font-size: 14px;

        line-height: 1.85;

    }


    /* =====================================================
       REPLIES PANEL
    ====================================================== */

    .hc-post-replies-panel {

        padding: 14px;

    }


    /* =====================================================
       MAIN POST REPLY FORM
    ====================================================== */

    .hc-post-reply-form-wrapper {

        padding: 15px;

    }


    /* =====================================================
       EMPTY
    ====================================================== */

    .hc-post-empty {

        padding: 42px 30px;

    }


    .hc-post-empty h3 {

        font-size: 18px;

    }


    /* =====================================================
       DISCLAIMER
    ====================================================== */

    .hc-post-disclaimer {

        margin-top: 20px;

        padding: 12px 14px;

    }


    .hc-post-disclaimer p {

        font-size: 11px;

        line-height: 1.7;

    }

}


/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hc-post-page *,
    .hc-post-page *::before,
    .hc-post-page *::after {

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

    }

}

