/* ==========================================================================
   Omega Flash Design — Complete Visual Styling
   Design slug: design-omega-flash
   ========================================================================== */

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

@font-face {
    font-family: 'OmegaflashBody';
    src: url('../fonts/outfit-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-omega-flash {
    background-color: #ffffff;
    
    background-image: linear-gradient(rgba(44,162,226,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(44,162,226,0.04) 1px, transparent 1px); background-size: 24px 24px;
}

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

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

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

/* --------------------------------------------------------------------------
   6. Content Typography (scoped with body class)
   -------------------------------------------------------------------------- */
.design-omega-flash h1,
.design-omega-flash h2,
.design-omega-flash h3,
.design-omega-flash h4,
.design-omega-flash h5 {
    font-family: 'OmegaflashHeading', Arial, sans-serif;
    color: #21262c;
    line-height: 1.25;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

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

.design-omega-flash body,
.design-omega-flash p,
.design-omega-flash li,
.design-omega-flash td,
.design-omega-flash th {
    font-family: 'OmegaflashBody', Arial, sans-serif;
    color: #333333;
    line-height: 1.7;
}

.design-omega-flash p {
    margin-bottom: 1.2em;
    font-size: 15px;
}

/* Links */
.design-omega-flash a {
    color: #2ca2e2;
    text-decoration: none;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.design-omega-flash a:hover {
    color: #168fd0;
}

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

.design-omega-flash li {
    margin-bottom: 0.4em;
}

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

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

/* --------------------------------------------------------------------------
   7. CTA Button (in header)
   -------------------------------------------------------------------------- */
.omehdr-cta {
    display: none;
    padding: 10px 24px;
    background: #2ca2e2;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'OmegaflashBody', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    transition: background 0.2s;
    margin-left: 12px;
}

.omehdr-cta:hover {
    background: #168fd0;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

/* ── Search Bar ────────────────────────────────────────── */
.omehdr-search {
    margin-left: 12px;
    position: relative;
}
.omehdr-search-form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.omehdr-search-form:focus-within {
    border-color: #2ca2e2;
}
.omehdr-search-input {
    background: transparent;
    border: none;
    padding: 6px 10px;
    color: #dbdbdb;
    font-family: 'OmegaflashBody', Arial, sans-serif;
    font-size: 0.85rem;
    width: 160px;
    outline: none;
}
.omehdr-search-input::placeholder {
    color: rgba(255,255,255,0.4);
}
.omehdr-search-btn {
    background: transparent;
    border: none;
    padding: 6px 10px;
    color: #dbdbdb;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.omehdr-search-btn:hover {
    color: #2ca2e2;
}


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

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

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

.omehdr-wrap {
    background: #21262c;
    padding: 0;
    position: relative;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

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

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

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

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

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

.omehdr-sitename:hover {
    color: #2ca2e2;
}

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

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

.omehdr-menu li {
    position: relative;
}

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

.omehdr-menu > li > a:hover,
.omehdr-menu > li.current-menu-item > a {
    color: #ffffff;
    background: rgba(44, 162, 226, 0.1);
    border-radius: 8px;
}

/* Dropdown */
.omehdr-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #1c2126;
    border-top: 2px solid #2ca2e2;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    display: none;
    z-index: 200;
}

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

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

.omehdr-menu .sub-menu a:hover {
    color: #ffffff;
    background: rgba(44, 162, 226, 0.1);
}

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

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

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

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

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


/* --------------------------------------------------------------------------
   Tables — Striped Style
   -------------------------------------------------------------------------- */
.design-omega-flash .entry-content table,
.design-omega-flash .page-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1.5em;
    font-size: 0.95rem;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.design-omega-flash .entry-content th,
.design-omega-flash .page-content th {
    background: #21262c;
    color: #ffffff;
    padding: 12px 16px;
    text-align: left;
    font-family: 'OmegaflashHeading', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
}

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

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

.design-omega-flash .entry-content tr:hover td,
.design-omega-flash .page-content tr:hover td {
    background: #eef8fd;
}


/* --------------------------------------------------------------------------
   Footer — Stacked Two-Row
   -------------------------------------------------------------------------- */
.omeft-wrap {
    background: #21262c;
    color: #b0b0b0;
    margin-top: 40px;
    border-top: 1px solid #2ca2e2;
}

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

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

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

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

.omeft-menu a:hover {
    color: #2ca2e2;
}

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

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

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

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


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

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

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

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

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

    .omehdr-search {
        margin: 0;
        padding: 10px 20px;
    }
    .omehdr-search-input {
        width: 100%;
    }

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

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

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

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

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

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

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

    .design-omega-flash p {
        font-size: 0.95rem;
    }

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