/* ==========================================================================
   Profile Header - Replacement header for profile page (logged-in users)
   ========================================================================== */

/* ── Tahoma font faces ── */
@font-face {
    font-family: 'Tahoma';
    src: url('../fonts/Tahoma-Bold.woff2') format('woff2'),
         url('../fonts/Tahoma-Bold.woff') format('woff'),
         url('../fonts/Tahoma-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Tahoma';
    src: url('../fonts/Tahoma.woff2') format('woff2'),
         url('../fonts/Tahoma.woff') format('woff'),
         url('../fonts/Tahoma.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ── 1. Orange Announcement Bar ── */
.ph-orange-bar {
    background: #eabd39;
    height: 55px;
    padding: 0 16px;
    border-bottom: 1px solid #e65100;
    display: flex;
    align-items: center;
}
.ph-orange-inner {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
    max-width: 1423px;
    margin: 0 auto;
}
.ph-orange-left {
    flex-shrink: 0;
}
.ph-orange-logo {
    width: auto;
    height: 45px;
    border-radius: 4px;
}
.ph-orange-center {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.ph-orange-center p {
    margin: 0;
    display: inline;
}
.ph-orange-center i {
    margin-right: 6px;
    color: #555;
}
.ph-orange-right {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
    align-self: flex-end;
    padding-bottom: 0;
}
.ph-orange-right a:last-child {
    margin-left: 24px;
}
.ph-orange-right a {
    color: #607196;
    font-size: 20px;
    text-decoration: none;
    transition: opacity 0.15s;
    position: relative;
}
.ph-orange-right #LiveIconCoins .fa {
    margin: 0 -3px 0 0;
    font-size: 17px;
}
.ph-orange-right a:hover {
    opacity: 0.8;
    color: #607196;
    text-decoration: none;
}
.ph-orange-right .ph-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #d32f2f;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
    line-height: 1.2;
    font-family: Arial, sans-serif;
}
.ph-orange-right .ph-icon-alert {
    color: #c62828;
}
/* ── 2. Banner Area (ad banner) ── */
.ph-banner-area {
    background: linear-gradient(180deg, #d2d2f4 0%, #d2d2f4 100%);
    padding: 0 16px;
    border: 2px solid #5c6690;
    border-radius: 10px;
    max-width: 1423px;
    margin: 6px auto 0 auto;
    text-align: center;
    min-height: 112px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.ph-banner-inner {
    max-width: 1423px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
}
.ph-banner-inner .top_banner {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: static !important;
    left: auto !important;
    transform: none !important;
    width: 100%;
    min-height: 100px;
}
.ph-banner-inner .top_banner #banner_top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.ph-banner-adtext {
    text-align: right;
    max-width: 1423px;
    margin-top: auto;
    font-size: 10px;
    color: #666;
    bottom: 1px;
    position: absolute;
    right: 22px;
}
.ph-banner-adtext a {
    color: #555;
    text-decoration: none;
}
.ph-banner-adtext a:hover {
    color: #1a237e;
    text-decoration: none;
}

/* ── 3. Nav Bar ── */
.ph-nav-bar {
    padding: 6px 0 0 0;
}
.ph-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1423px;
    margin: 0 auto;
    min-height: 112px;
    gap: 12px;
    background: #b0b1df;
    border: 2px solid #5c6690;
    border-radius: 10px;
    padding: 7.42px 12px;
}

/* Left section */
.ph-nav-left {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
    min-width: 160px;
}
.ph-nav-page-icon {
    border-radius: 8px;
    height: 86px;
    width: 80px;
}
.ph-nav-page-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ph-nav-page-title {
    font-family: 'Tahoma', Geneva, sans-serif;
    font-size: 21.04px;
    font-weight: bold;
    color: #000;
}
.ph-nav-breadcrumb {
    font-family: 'Tahoma', Geneva, sans-serif;
    font-size: 13.48px;
    font-weight: normal;
    color: #352d2d;
}
.ph-nav-breadcrumb a {
    color: #1a1a2e;
    text-decoration: none;
}
.ph-nav-breadcrumb a:hover {
    color: #000;
}
.ph-nav-page-select {
    font-family: 'Tahoma', Geneva, sans-serif;
    font-weight: normal;
    font-size: 13.34px;
    border: 1px solid #000;
    border-radius: 4px;
    background: #fff;
    color: #333;
    cursor: pointer;
    margin-top: 3px;
    padding: 3px 8px;
    height: 30px;
    width: 130px;
}

/* Center menu buttons */
.ph-nav-buttons {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    padding-top: 2px;
    max-width: 677px;
}
.ph-nav-btn-row {
    display: block;
    text-align: center;
}
.ph-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 1.5px 4px;
    margin: 7px 9px 7px 9px;
    background: linear-gradient(180deg, #5c74a9 0%, #5c74a9 100%);
    color: #fff;
    border-radius: 14px;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid #000;
    transition: all 0.15s;
    white-space: nowrap;
    min-width: 107px;
}
.ph-nav-btn-row a {
    color: #fff;
}
.ph-nav-btn:hover {
    background: linear-gradient(180deg, #4a5580 0%, #3a4470 100%);
    color: #fff;
    text-decoration: none;
}
.ph-nav-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #fff;
    font-size: 17px;
}

/* Right subscribe section */
.ph-nav-right {
    flex-shrink: 0;
    max-width: 316px;
    text-align: left;
}
.ph-subscribe-title {
    color: #000;
    margin-bottom: 2px;
    font-family: 'Tahoma', Geneva, sans-serif;
    font-size: 15.5px;
    font-weight: bold;
}
.ph-subscribe-text {
    color: #000;
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Tahoma', Geneva, sans-serif;
    font-size: 13px;
}
a.ph-subscribe-btn {
    color: #fff;
}
.ph-subscribe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 1.7px 4px;
    background: linear-gradient(180deg, #5c74a9 0%, #5c74a9 100%);
    color: #fff;
    border-radius: 14px;
    font-family: 'Tahoma', Geneva, sans-serif;
    font-size: 13.2px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid #000;
    transition: all 0.15s;
    white-space: nowrap;
    min-width: 107px;
}
.ph-subscribe-btn:hover {
    background: linear-gradient(180deg, #4a5580 0%, #3a4470 100%);
    color: #fff;
    text-decoration: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .ph-nav-inner {
        flex-wrap: wrap;
    }
    .ph-nav-left {
        min-width: auto;
    }
    .ph-nav-right {
        max-width: 100%;
        text-align: center;
        order: 3;
        width: 100%;
    }
    .ph-nav-buttons {
        order: 2;
        width: 100%;
    }
    .ph-orange-center {
        font-size: 12px;
    }
    .ph-banner-area {
        margin: 6px 4px 0 4px;
        min-height: 100px;
    }
    .ph-nav-bar {
        margin: 0 4px;
    }
}

@media (max-width: 768px) {
    .ph-orange-bar {
        height: auto;
        min-height: 55px;
    }
    .ph-orange-inner {
        flex-wrap: wrap;
    }
    .ph-orange-center {
        font-size: 11px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        flex: 1;
        order: 0;
    }
    .ph-orange-left {
        order: 0;
        flex-shrink: 0;
    }
    .ph-orange-right {
        order: 1;
        width: 100%;
        justify-content: center;
        align-self: auto;
        padding-bottom: 0;
    }
    .ph-orange-center * {
        font-size: inherit !important;
    }
    .ph-nav-btn {
        padding: 3px 10px;
        font-size: 9px;
    }
    .ph-nav-left {
        width: 100%;
        justify-content: center;
    }
    .ph-banner-area {
        margin: 6px 4px 0 4px;
        min-height: 100px;
    }
    .ph-nav-bar {
        margin: 0 4px;
    }
}

@media (max-width: 576px) {
    .ph-orange-bar {
        height: auto;
        min-height: 55px;
        padding: 4px 8px;
    }
    .ph-orange-center {
        font-size: 10px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        flex: 1;
        order: 0;
    }
    .ph-orange-center * {
        font-size: inherit !important;
    }
    .ph-banner-area {
        margin: 6px 4px 0 4px;
        min-height: 100px;
    }
    .ph-nav-bar {
        margin: 0 4px;
    }
    .ph-nav-btn-row {
        gap: 3px;
    }
    .ph-nav-btn {
        padding: 3px 8px;
        font-size: 8px;
        border-radius: 10px;
    }
    .ph-subscribe-title {
        font-size: 11px;
    }
}
