/* .header-wrapper {
    height: 80px !important;
} */
.logo-img {
    /* Maximum width */
    max-width: 150px;
    /* Maintain aspect ratio */
    height: auto;
}

/* .header-wrapper.grey-dark-bg { */
/* .header-wrapper.grey-dark-bg {
    background-color: #d0c1c1 !important;
} */
.fs-primary-nav {
    background: #d0c1c1 !important;
    background: rgba(208, 193, 193, 0.88) !important;
}

#nav-stick2.has-bg.white .header-wrapper,
#nav-stick2.has-bg.black .header-wrapper {
    background: transparent !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

body.portal-light {
    background-color: #f4f1eb;
}

body.portal-light #nav-stick2 {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(35, 35, 35, 0.08);
    backdrop-filter: blur(8px);
}

body.portal-light #nav-stick2 .header-wrapper {
    background: transparent;
}

body.portal-light #nav-stick2 .fs-menu-icon,
body.portal-light #nav-stick2 .fs-menu-icon::before,
body.portal-light #nav-stick2 .fs-menu-icon::after {
    background-color: #232323;
    box-shadow: none;
}

body.portal-light #nav-stick-public {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(35, 35, 35, 0.08);
    backdrop-filter: blur(8px);
}

body.portal-light #nav-stick-public .header-wrapper {
    background: transparent;
}

body.portal-light #nav-stick-public .logo-img {
    filter: none;
}

body.portal-light #nav-stick-public .fs-menu-icon,
body.portal-light #nav-stick-public .fs-menu-icon::before,
body.portal-light #nav-stick-public .fs-menu-icon::after {
    background-color: #232323;
    box-shadow: none;
}

.client-project-hero {
    padding: 150px 0 70px;
    margin-bottom: 70px;
    background: linear-gradient(135deg, rgba(41, 44, 39, 0.92), rgba(94, 125, 97, 0.88));
    color: #fff;
}

body.portal-light .client-project-hero {
    background: linear-gradient(135deg, #f7f4ee, #e8efe4);
    border-bottom: 1px solid #e4dbcf;
    color: #2f3c31;
}

.client-project-hero h1 {
    color: #fff;
    margin-bottom: 12px;
}

body.portal-light .client-project-hero h1 {
    color: #2f3c31;
}

.client-project-hero .lead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
}

body.portal-light .client-project-hero .lead {
    color: #5e6a5f;
}

body.portal-light .port-subtitle-text {
    color: #5e7d61;
}

.client-auth-hero {
    padding-bottom: 50px;
    margin-bottom: 20px;
}

.auth-shell {
    padding-top: 15px;
}

.auth-card {
    max-width: 760px;
    margin: 0 auto;
}

.auth-card .form-group {
    margin-bottom: 16px;
}

.auth-card label {
    color: #4d4338;
    font-weight: 600;
}

.auth-card input,
.auth-card textarea,
.auth-card select {
    border-color: #d9d0c4;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 4px 0 20px;
    font-size: 13px;
}

.remember-me-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 400;
}

.project-portal-switcher-wrap {
    padding: 0;
    margin-bottom: 10px;
}

.project-portal-switcher-wrap-plain {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.project-portal-switcher-label {
    margin: 0;
    color: #2f3c31;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.portal-card {
    background: #fff;
    border: 1px solid #ebe3d8;
    padding: 26px;
    box-shadow: 0 14px 30px rgba(33, 30, 25, 0.06);
}

.portal-card h3 {
    margin-top: 0;
}

.portal-card .post-prev-img img {
    width: 100%;
    height: auto;
}

.portal-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.portal-link-list li + li {
    margin-top: 10px;
}

.portal-link-list a {
    color: #5e7d61;
    font-weight: 600;
}

.portal-project-list-card {
    max-width: 860px;
}

.portal-project-view-layout {
    margin-top: 10px;
}

.portal-sidebar-note {
    color: #6d7368;
    line-height: 1.7;
}

.portal-action-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.portal-pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.portal-light .portal-pill {
    background: rgba(94, 125, 97, 0.12);
    color: #4f6b51;
}

.portal-pill-inline {
    margin-bottom: 14px;
    background: #eef4ea;
    color: #4f6b51;
}

.portal-post-card {
    height: 100%;
    overflow: hidden;
    padding: 0;
}

.portal-card-inner {
    padding: 26px;
}

.portal-post-grid {
    margin-left: -15px;
    margin-right: -15px;
}

.portal-post-projects {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 16px;
}

.portal-post-project-chip {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef4ea;
    color: #4f6b51;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.portal-post-project-chip:hover {
    background: #5e7d61;
    color: #fff;
}

.portal-post-detail-full {
    padding: 32px;
}

.portal-attachment-grid {
    list-style: none;
    margin: 0;
    padding: 0;
}

.portal-attachment-grid .port-item {
    margin-bottom: 30px;
}

.portal-post-body p:last-child,
.portal-project-description p:last-child,
.portal-comment-body p:last-child {
    margin-bottom: 0;
}

.portal-comment-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-right: 18px;
    border-radius: 50%;
    background: #eef4ea;
    color: #4f6b51;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.comment-list .comment-item {
    margin-bottom: 28px;
}

.comment-list .comment-reply {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #eee6db;
}

.portal-comment-note {
    color: #6d7368;
    line-height: 1.7;
    margin-bottom: 18px;
}

.portal-comment-form {
    padding: 28px;
    border: 1px solid #ebe3d8;
}

.portal-comment-form textarea {
    min-height: 140px;
}

.client-post-hero {
    padding-bottom: 55px;
}

@media (max-width: 767px) {
    .client-project-hero {
        padding: 125px 0 55px;
    }

    .portal-card {
        padding: 20px;
    }

    .auth-links {
        flex-direction: column;
        align-items: flex-start;
    }
}
