/* ==========================================================================
   Vivid Rush Design — Complete Visual Styling
   Design slug: design-vivid-rush
   ========================================================================== */

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

@font-face {
    font-family: 'VividrushBody';
    src: url('../fonts/firasans-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-vivid-rush {
    background-color: #ffffff;
}

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

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

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

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

.design-vivid-rush h1 { font-size: 2.2rem; }
.design-vivid-rush h2 { font-size: 1.8rem; }
.design-vivid-rush h3 { font-size: 1.4rem; }
.design-vivid-rush h4 { font-size: 1.15rem; }
.design-vivid-rush h5 { font-size: 0.95rem; }

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

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

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

.design-vivid-rush a:hover {
    color: #c07d02;
}

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

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

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

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

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

.vivhdr-cta:hover {
    background: #c07d02;
    color: #fff;
    text-decoration: none;
}


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

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

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

.vivhdr-wrap {
    background: #281d10;
    padding: 0;
    position: relative;
    z-index: 100;
}

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

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

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

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

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

.vivhdr-sitename:hover {
    color: #e29608;
}

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

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

.vivhdr-menu li {
    position: relative;
}

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

.vivhdr-menu > li > a:hover,
.vivhdr-menu > li.current-menu-item > a {
    color: #ffffff;
    background: rgba(226, 150, 8, 0.15);
}

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

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

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

.vivhdr-menu .sub-menu a:hover {
    color: #ffffff;
    background: rgba(226, 150, 8, 0.1);
}

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

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

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

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

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


/* --------------------------------------------------------------------------
   Tables — Striped Style
   -------------------------------------------------------------------------- */
.design-vivid-rush .entry-content table,
.design-vivid-rush .page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    font-size: 0.95rem;
    border: 1px solid #e8e8e8;
}

.design-vivid-rush .entry-content th,
.design-vivid-rush .page-content th {
    background: #281d10;
    color: #ffffff;
    padding: 12px 16px;
    text-align: left;
    font-family: 'VividrushHeading', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
}

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

.design-vivid-rush .entry-content tr:nth-child(even) td,
.design-vivid-rush .page-content tr:nth-child(even) td {
    background: #f8f8f8;
}

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


/* --------------------------------------------------------------------------
   Footer — Minimal Single Line
   -------------------------------------------------------------------------- */
.vivft-wrap {
    background: #281d10;
    color: #bdbdbd;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 2px solid #e29608;
}

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

.vivft-line {
    margin: 0 0 8px;
    font-family: 'VividrushBody', Arial, sans-serif;
    font-size: 0.8rem;
    color: #999999;
}

.vivft-nav {
    margin-top: 8px;
}

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

.vivft-menu a {
    color: #bdbdbd;
    text-decoration: none;
    font-family: 'VividrushBody', Arial, sans-serif;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.vivft-menu a:hover {
    color: #e29608;
}


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

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

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

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

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

    /* Dropdown on mobile: always visible */
    .vivhdr-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 */
    .vivft-inner {
        flex-direction: column;
        text-align: center;
    }

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

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

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

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

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

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

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

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