/* ==========================================================================
   Phantom Rush Design — Complete Visual Styling
   Design slug: design-phantom-rush
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Font Declarations
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'PhantomrushHeading';
    src: url('../fonts/oswald-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PhantomrushBody';
    src: url('../fonts/lato-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   2. GP Remnant Safety Rule (ONLY allowed !important usage)
   -------------------------------------------------------------------------- */
.site-header,
.main-navigation,
.site-footer,
.site-info,
.top-bar {
    display: none !important;
}

/* --------------------------------------------------------------------------
   3. Body / Page Background
   -------------------------------------------------------------------------- */
.design-phantom-rush {
    background-color: #ffffff;
}

/* --------------------------------------------------------------------------
   4. Skip Link
   -------------------------------------------------------------------------- */
.phahdr-skip {
    position: absolute;
    top: -100%;
    left: 0;
    background: #c49f17;
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
    font-size: 14px;
    text-decoration: none;
}

.phahdr-skip:focus {
    top: 0;
}

/* --------------------------------------------------------------------------
   5. Content Area
   -------------------------------------------------------------------------- */
.phahdr-site-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px 60px;
    min-height: 50vh;
}

/* --------------------------------------------------------------------------
   6. Content Typography (scoped with body class)
   -------------------------------------------------------------------------- */
.design-phantom-rush h1,
.design-phantom-rush h2,
.design-phantom-rush h3,
.design-phantom-rush h4,
.design-phantom-rush h5 {
    font-family: 'PhantomrushHeading', Arial, sans-serif;
    color: #221a11;
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.design-phantom-rush h1 { font-size: 2rem; }
.design-phantom-rush h2 { font-size: 1.7rem; }
.design-phantom-rush h3 { font-size: 1.4rem; }
.design-phantom-rush h4 { font-size: 1.1rem; }
.design-phantom-rush h5 { font-size: 1.05rem; }

.design-phantom-rush body,
.design-phantom-rush p,
.design-phantom-rush li,
.design-phantom-rush td,
.design-phantom-rush th {
    font-family: 'PhantomrushBody', Arial, sans-serif;
    color: #333333;
    line-height: 1.75;
}

.design-phantom-rush p {
    margin-bottom: 1.2em;
    font-size: 16px;
}

/* Links */
.design-phantom-rush a {
    color: #c49f17;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.design-phantom-rush a:hover {
    color: #a4840e;
}

/* Lists */
.design-phantom-rush ul,
.design-phantom-rush ol {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
}

.design-phantom-rush li {
    margin-bottom: 0.4em;
}

/* Images */
.design-phantom-rush .entry-content img,
.design-phantom-rush .page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1em 0;
}

/* Dividers */
.design-phantom-rush hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 2em 0;
}

/* --------------------------------------------------------------------------
   7. CTA Button (in header)
   -------------------------------------------------------------------------- */
.phahdr-cta {
    display: none;
    padding: 8px 20px;
    background: #c49f17;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'PhantomrushBody', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
    margin-left: 12px;
}

.phahdr-cta:hover {
    background: #a4840e;
    color: #fff;
    text-decoration: none;
}


/* --------------------------------------------------------------------------
   Header — Split (Top Bar + Nav Bar)
   -------------------------------------------------------------------------- */
.phahdr-topbar {
    background: #c49f17;
    padding: 0;
}

.phahdr-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 20px;
    text-align: right;
}

.phahdr-topbar-text {
    font-family: 'PhantomrushBody', Arial, sans-serif;
    font-size: 0.75rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.phahdr-wrap {
    background: #221a11;
    padding: 0;
    position: relative;
    z-index: 100;
}

.phahdr-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 62px;
}

.phahdr-brand {
    flex-shrink: 0;
}

.phahdr-brand a {
    text-decoration: none;
}

.phahdr-brand img {
    max-height: 40px;
    width: auto;
    display: block;
}

.phahdr-sitename {
    font-family: 'PhantomrushHeading', Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.phahdr-sitename:hover {
    color: #c49f17;
}

/* Navigation */
.phahdr-nav {
    display: flex;
    align-items: center;
}

.phahdr-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
}

.phahdr-menu li {
    position: relative;
}

.phahdr-menu > li > a {
    display: block;
    padding: 0 16px;
    line-height: 62px;
    color: #dbdbdb;
    text-decoration: none;
    font-family: 'PhantomrushBody', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.phahdr-menu > li > a:hover,
.phahdr-menu > li.current-menu-item > a {
    color: #ffffff;
    background: rgba(196, 159, 23, 0.15);
}

/* Dropdown */
.phahdr-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #18120c;
    border-top: 2px solid #c49f17;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 200;
}

.phahdr-menu li:hover > .sub-menu {
    display: block;
}

.phahdr-menu .sub-menu a {
    display: block;
    padding: 10px 20px;
    color: #c8c8c8;
    text-decoration: none;
    font-family: 'PhantomrushBody', Arial, sans-serif;
    font-size: 0.9rem;
    transition: color 0.2s, background 0.2s;
}

.phahdr-menu .sub-menu a:hover {
    color: #ffffff;
    background: rgba(196, 159, 23, 0.1);
}

/* Mobile Menu Toggle (hidden on desktop) */
.phahdr-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 150;
}

.phahdr-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: transform 0.3s, opacity 0.3s;
}

.phahdr-toggle[aria-expanded="true"] .phahdr-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.phahdr-toggle[aria-expanded="true"] .phahdr-toggle-bar:nth-child(2) {
    opacity: 0;
}

.phahdr-toggle[aria-expanded="true"] .phahdr-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* --------------------------------------------------------------------------
   Tables — Bordered Style
   -------------------------------------------------------------------------- */
.design-phantom-rush .entry-content table,
.design-phantom-rush .page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    font-size: 0.95rem;
    border: 2px solid #221a11;
}

.design-phantom-rush .entry-content th,
.design-phantom-rush .page-content th {
    background: #221a11;
    color: #ffffff;
    padding: 8px 12px;
    text-align: left;
    font-family: 'PhantomrushHeading', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid #221a11;
}

.design-phantom-rush .entry-content td,
.design-phantom-rush .page-content td {
    padding: 8px 12px;
    border: 1px solid #e8e8e8;
    text-align: left;
}

.design-phantom-rush .entry-content tr:hover td,
.design-phantom-rush .page-content tr:hover td {
    background: #faf7ec;
}


/* --------------------------------------------------------------------------
   Footer — Stacked Two-Row
   -------------------------------------------------------------------------- */
.phaft-wrap {
    background: #221a11;
    color: #a6a6a6;
    margin-top: 40px;
    border-top: 3px solid #c49f17;
}

.phaft-links-row {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.phaft-row-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.phaft-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.phaft-menu a {
    color: #a6a6a6;
    text-decoration: none;
    font-family: 'PhantomrushBody', Arial, sans-serif;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.phaft-menu a:hover {
    color: #c49f17;
}

.phaft-info-row {
    padding: 15px 0;
}

.phaft-info-row .phaft-row-inner {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.phaft-copyright {
    margin: 0;
    font-family: 'PhantomrushBody', Arial, sans-serif;
    font-size: 0.8rem;
    color: #999999;
}

.phaft-small {
    margin: 0;
    font-family: 'PhantomrushBody', Arial, sans-serif;
    font-size: 0.8rem;
    color: #777777;
}


/* --------------------------------------------------------------------------
   Responsive — Tablet (768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Show hamburger */
    .phahdr-toggle {
        display: flex;
    }

    /* Hide desktop nav, show when toggled */
    .phahdr-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #18120c;
        border-top: 2px solid #c49f17;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        z-index: 200;
    }

    .phahdr-nav.is-open {
        display: block;
    }

    .phahdr-menu {
        flex-direction: column;
        padding: 10px 0;
    }

    .phahdr-menu > li > a {
        line-height: 1.4;
        padding: 12px 20px;
    }

    /* Dropdown on mobile: always visible */
    .phahdr-menu .sub-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        background: rgba(0, 0, 0, 0.15);
        padding-left: 15px;
        display: block;
        transform: none;
    }

    /* Footer adjustments */
    .phaft-inner {
        flex-direction: column;
        text-align: center;
    }

    .phaft-menu {
        justify-content: center;
    }

    /* Content */
    .phahdr-site-content {
        padding: 25px 15px 40px;
    }
}

/* --------------------------------------------------------------------------
   Responsive — Mobile (480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .phahdr-inner {
        height: 60px;
        padding: 0 15px;
    }

    .phahdr-sitename {
        font-size: 1.15rem;
    }

    .phahdr-brand img {
        max-height: 35px;
    }

    .design-phantom-rush h1 { font-size: 1.6rem; }
    .design-phantom-rush h2 { font-size: 1.35rem; }
    .design-phantom-rush h3 { font-size: 1.15rem; }

    .design-phantom-rush p {
        font-size: 0.95rem;
    }

    .phahdr-site-content {
        padding: 20px 12px 30px;
    }
}
