/*
Theme Name:  Rojahiv Theme
Description: Child theme for GeneratePress – Rojahiv platform
Template:    generatepress
Version:     1.0.1
Text Domain: rojahiv
*/

/* ─────────────────────────────────────────────
   DESIGN TOKENS  (single :root block)
───────────────────────────────────────────── */
:root {
    --gold:      #b08d3c;
    --dark-blue: #0b0f1a;
    --dark-alt:  #0e1424;
    --dark-bg:   #070a12;
    --text:      #eaeaea;
    --text-muted: #aaaaaa;
    --text-dim:  #cccccc;
    --border:    rgba(176, 141, 60, 0.25);
    --border-hover: #b08d3c;
    --radius:    12px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --transition: 0.25s ease;
}

/* ─────────────────────────────────────────────
   RESET / BASE
───────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--dark-blue);
    color: var(--text);
}

/* ─────────────────────────────────────────────
   SHARED BUTTON
───────────────────────────────────────────── */
.roj-btn {
    background:      var(--gold);
    color:           #000;
    padding:         10px 16px;
    border-radius:   var(--radius-sm);
    text-decoration: none;
    font-weight:     600;
    display:         inline-block;
    transition:      opacity var(--transition), transform var(--transition);
}

.roj-btn:hover {
    opacity:   0.85;
    transform: translateY(-2px);
}

/* ─────────────────────────────────────────────
   CONTAINER
───────────────────────────────────────────── */
.roj-container {
    max-width: 1200px;
    margin:    auto;
    padding:   40px 20px;
}

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
.roj-header {
    background:    var(--dark-blue);
    border-bottom: 1px solid var(--border);
}

.roj-topbar {
    display:         flex;
    justify-content: space-between;
    align-items:     center;
    padding:         15px 20px;
}

.roj-logo a {
    color:           var(--gold);
    font-size:       22px;
    font-weight:     bold;
    text-decoration: none;
}

/* MENU SCROLL */
.roj-menu-wrapper {
    overflow-x:  auto;
    white-space: nowrap;
    border-top:  1px solid rgba(176, 141, 60, 0.2);
    scrollbar-width: none; /* Firefox */
}

.roj-menu-wrapper::-webkit-scrollbar {
    display: none; /* Chrome / Safari */
}

.roj-menu {
    display:    flex;
    gap:        20px;
    padding:    10px 20px;
    list-style: none;
    margin:     0;
}

.roj-menu li a {
    color:           var(--text);
    text-decoration: none;
    padding:         6px 10px;
    transition:      color var(--transition);
}

.roj-menu li a:hover,
.roj-menu li.current-menu-item > a {
    color: var(--gold);
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.roj-footer {
    background:  var(--dark-bg);
    color:       var(--text);
    padding:     40px 20px 20px;
    border-top:  1px solid var(--border);
}

/* Top bar */
.roj-footer-top {
    display:         flex;
    justify-content: space-between;
    align-items:     center;
    margin-bottom:   30px;
}

.roj-footer-brand img {
    width:      70px;
    height:     auto;
    object-fit: contain;
}

/* Social icons */
.roj-footer-social {
    display:     flex;
    gap:         14px;
    align-items: center;
}

.roj-footer-social a {
    width:           38px;
    height:          38px;
    display:         flex;
    align-items:     center;
    justify-content: center;
    border:          1px solid rgba(176, 141, 60, 0.4);
    border-radius:   50%;
    color:           var(--text);
    text-decoration: none;
    transition:      background var(--transition), color var(--transition), transform var(--transition);
}

.roj-footer-social a:hover {
    background: var(--gold);
    color:      #000;
    transform:  translateY(-2px);
}

/* Grid */
.roj-footer-grid {
    display:               grid;
    grid-template-columns: repeat(4, 1fr);
    gap:                   20px;
    margin-bottom:         30px;
}

.footer-card {
    background:    linear-gradient(145deg, var(--dark-blue), var(--dark-alt));
    padding:       25px 20px;
    border:        1px solid var(--border);
    border-radius: 14px;
    text-align:    center;
    color:         #fff;
}

.footer-card h4 {
    color:         var(--gold);
    margin:        0 0 12px;
    font-size:     15px;
}

.footer-card p {
    color:  var(--text-muted);
    margin: 0 0 6px;
    font-size: 14px;
}

.footer-card a {
    color:           red;
    text-decoration: none;
    display:         block;
    margin-bottom:   5px;
    font-size:       14px;
    transition:      color var(--transition);
}

.footer-card a:hover {
    color: var(--gold);
}

/* Legal menu */
.footer-legal {
    list-style: none;
    padding:    0;
    margin:     0;
}

.footer-legal li {
    margin-bottom: 6px;
}

.footer-legal a {
    color:           var(--text);
    text-decoration: none;
    transition:      color var(--transition);
}

.footer-legal a:hover {
    color: var(--gold);
}

/* Copyright */
.roj-footer-bottom {
    text-align:  center;
    border-top:  1px solid rgba(176, 141, 60, 0.2);
    padding-top: 15px;
    font-size:   14px;
    opacity:     0.8;
}

/* Footer responsive */
@media (max-width: 992px) {
    .roj-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .roj-footer-top {
        flex-direction: column;
        gap:            15px;
    }

    .roj-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ─────────────────────────────────────────────
   NEWSLETTER BOX
───────────────────────────────────────────── */
.newsletter-box {
    background:    linear-gradient(145deg, var(--dark-blue), var(--dark-alt));
    padding:       25px;
    border:        1px solid var(--border);
    border-radius: 14px;
    text-align:    center;
    color:         #fff;
}

.newsletter-box h3 {
    color:         var(--gold);
    margin-bottom: 8px;
}

.newsletter-box p {
    color:         var(--text-muted);
    margin-bottom: 20px;
}

.newsletter-box input[type="email"] {
    width:         100%;
    padding:       12px;
    border-radius: var(--radius-md);
    border:        none;
    outline:       none;
    background:    #111827;
    color:         #fff;
    margin-top:    10px;
}

.newsletter-box button {
    width:         100%;
    margin-top:    10px;
    padding:       12px;
    background:    var(--gold);
    border:        none;
    border-radius: var(--radius-md);
    font-weight:   bold;
    cursor:        pointer;
    transition:    opacity var(--transition), transform var(--transition);
    color:         #000;
}

.newsletter-box button:hover {
    opacity:   0.85;
    transform: translateY(-2px);
}

.consent {
    display:       block;
    font-size:     12px;
    color:         #bbb;
    margin-bottom: 15px;
}

.consent a {
    color:           var(--gold);
    text-decoration: none;
}

/* ─────────────────────────────────────────────
   PAGE TITLE
───────────────────────────────────────────── */
.roj-page-title {
    font-size:     28px;
    margin-bottom: 30px;
    color:         var(--gold);
}

/* ─────────────────────────────────────────────
   ARCHIVE GRID + CARDS
───────────────────────────────────────────── */
.roj-grid {
    display:               grid;
    grid-template-columns: repeat(3, 1fr);
    gap:                   20px;
}

.roj-card {
    background:    var(--dark-blue);
    border:        1px solid var(--border);
    border-radius: var(--radius);
    overflow:      hidden;
    transition:    transform var(--transition), border-color var(--transition);
}

.roj-card > a {
    display:         block;
    text-decoration: none;
    color:           inherit;
    height:          100%;
}

.roj-card:hover {
    transform:    translateY(-5px);
    border-color: var(--border-hover);
}

/* Thumbnail */
.roj-thumb img {
    width:      100%;
    height:     200px;
    object-fit: cover;
    display:    block;
}

/* Card content */
.roj-content {
    padding: 15px;
}

.roj-content h2 {
    font-size:     18px;
    margin-bottom: 10px;
    color:         #fff;
}

.roj-content p {
    font-size: 14px;
    color:     var(--text-dim);
    margin:    0;
}

/* Blog card accent */
.blog-card {
    border-left: 3px solid var(--gold);
}

/* Encyclopedia grid */
.encyclopedia-grid {
    grid-template-columns: repeat(2, 1fr);
}

.encyclopedia-card {
    background: var(--dark-alt);
}

/* Gallery (masonry) */
.roj-gallery {
    column-count: 3;
    column-gap:   10px;
}

.gallery-item {
    margin-bottom:   10px;
    break-inside:    avoid;
}

.gallery-item img {
    width:         100%;
    border-radius: 10px;
    transition:    transform var(--transition);
    display:       block;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

/* Archive responsive */
@media (max-width: 992px) {
    .roj-grid,
    .encyclopedia-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .roj-gallery {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .roj-grid,
    .encyclopedia-grid {
        grid-template-columns: 1fr;
    }

    .roj-gallery {
        column-count: 1;
    }

    .roj-page-title {
        font-size: 22px;
    }
}

/* ─────────────────────────────────────────────
   SINGLE TEMPLATES
───────────────────────────────────────────── */
.single-page {
    max-width: 900px;
}

.roj-single {
    background:    var(--dark-blue);
    border:        1px solid var(--border);
    border-radius: var(--radius);
    overflow:      hidden;
}

.roj-single-thumb img {
    width:      100%;
    height:     auto;
    object-fit: cover;
    display:    block;
}

.roj-single-content {
    padding: 25px;
}

.roj-single-title {
    font-size:     28px;
    margin-bottom: 15px;
    color:         #fff;
}

.roj-meta {
    display:       flex;
    gap:           15px;
    font-size:     14px;
    color:         var(--text-muted);
    margin-bottom: 20px;
}

.roj-text {
    font-size:   16px;
    line-height: 1.8;
    color:       #ddd;
}

.roj-text p {
    margin-bottom: 15px;
}

/* Blog single */
.blog-single {
    border-left: 3px solid var(--gold);
}

/* Encyclopedia single */
.encyclopedia-layout {
    max-width: 1000px;
}

.encyclopedia-single {
    padding:    25px;
    background: var(--dark-alt);
}

.encyclopedia-text {
    font-size:   17px;
    line-height: 1.9;
}

/* Gallery single */
.gallery-single .roj-single-thumb img {
    border-radius: 10px;
}

/* Single responsive */
@media (max-width: 768px) {
    .roj-single-title {
        font-size: 22px;
    }

    .roj-single-content {
        padding: 15px;
    }

    .roj-text {
        font-size: 15px;
    }
}

/* ─────────────────────────────────────────────
   HOME PAGE
───────────────────────────────────────────── */
.home-hero {
    text-align:    center;
    padding:       60px 20px;
    background:    var(--dark-alt);
    border-radius: var(--radius);
    margin-bottom: 40px;
}

.home-hero h1 {
    font-size:     32px;
    color:         var(--gold);
    margin-bottom: 10px;
}

.home-hero p {
    color:         var(--text-dim);
    margin-bottom: 20px;
}

.home-section {
    margin-bottom: 50px;
}

.home-section h2 {
    margin-bottom: 20px;
    color:         var(--gold);
}

/* Home responsive */
@media (max-width: 768px) {
    .home-hero h1 {
        font-size: 24px;
    }

    .home-section h2 {
        font-size: 20px;
    }
}

/* ─────────────────────────────────────────────
   STATIC PAGES (About / Contact / Legal)
───────────────────────────────────────────── */
.page-box {
    max-width: 800px;
}

.contact-box {
    background:    var(--dark-blue);
    padding:       20px;
    border-radius: 10px;
    border:        1px solid var(--border);
}

.contact-form {
    margin-top: 20px;
}

.legal-page {
    max-width: 900px;
}

.legal-content {
    font-size:   15px;
    line-height: 1.9;
    color:       var(--text-dim);
}

/* ─────────────────────────────────────────────
   CONTRIBUTION SYSTEM (Kurdistan)
───────────────────────────────────────────── */
.contrib-topbar {
    margin-bottom:   20px;
    display:         flex;
    justify-content: flex-end;
}

.contrib-edit {
    margin: 15px 0;
    display: flex;
}

/* Submission form */
.roj-submit-form {
    background:    var(--dark-alt);
    padding:       25px;
    border-radius: var(--radius);
    border:        1px solid var(--border);
    max-width:     700px;
    margin:        auto;
}

.roj-submit-form h2 {
    color:         var(--gold);
    margin-bottom: 20px;
}

.roj-submit-form label {
    display:       block;
    margin-bottom: 5px;
    color:         var(--text-muted);
    font-size:     14px;
}

.roj-submit-form input[type="text"],
.roj-submit-form textarea {
    width:         100%;
    padding:       12px;
    border-radius: var(--radius-sm);
    border:        1px solid var(--border);
    background:    #111827;
    color:         var(--text);
    font-size:     15px;
    margin-bottom: 16px;
    outline:       none;
    transition:    border-color var(--transition);
}

.roj-submit-form input[type="text"]:focus,
.roj-submit-form textarea:focus {
    border-color: var(--gold);
}

.roj-submit-form textarea {
    min-height: 220px;
    resize:     vertical;
}

.roj-submit-form .roj-btn {
    width:   100%;
    padding: 12px;
    border:  none;
    cursor:  pointer;
}

.roj-notice {
    padding:       12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size:     14px;
}

.roj-notice.success {
    background: rgba(176, 141, 60, 0.15);
    border:     1px solid var(--gold);
    color:      var(--gold);
}

/* ─────────────────────────────────────────────
   ROJAHIV PRODUCTION POLISH v2
───────────────────────────────────────────── */
html { scroll-behavior: smooth; }
img, svg, video { max-width: 100%; height: auto; }
a { text-underline-offset: 3px; }
body { overflow-x: hidden; }
.roj-header { position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(12px); }
.roj-logo img, .custom-logo { max-height: 54px; width: auto; display: block; }
.roj-auth .roj-btn { white-space: nowrap; }

.roj-footer-brandset { display: flex; align-items: center; gap: 12px; }
.roj-footer-logo { display: inline-flex; align-items: center; justify-content: center; }
.roj-footer-logo img { width: 70px; height: 70px; object-fit: contain; border-radius: 16px; background: rgba(255,255,255,.03); }
.roj-footer-group-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; color: var(--gold); background: rgba(176,141,60,.08); }
.roj-footer-group-icon svg, .roj-footer-social svg { width: 19px; height: 19px; fill: currentColor; display: block; }
.roj-footer-social a { flex: 0 0 38px; }
.footer-card a { color: var(--gold); }
.footer-about-card { text-align: left; }
.roj-group-note { margin-top: 12px !important; color: var(--gold) !important; font-weight: 700; }

.home-hero { position: relative; min-height: clamp(520px, 80vh, 760px); margin: 0; padding: 0; border-radius: 0; overflow: hidden; background: #070a12; display: grid; place-items: center; isolation: isolate; }
.home-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.home-hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,10,18,.52), rgba(7,10,18,.84)); }
.home-hero-content { position: relative; z-index: 2; text-align: center; padding-top: 80px; padding-bottom: 80px; }
.hero-kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; }
.home-hero h1 { font-size: clamp(42px, 7vw, 92px); line-height: 1; margin: 14px 0 18px; color: #fff; }
.home-hero p { max-width: 760px; margin: 0 auto 28px; color: #e8e8e8; font-size: clamp(16px, 2vw, 21px); line-height: 1.7; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.roj-btn-outline { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.34); }
.home-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-feature-card { display: block; padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(145deg, var(--dark-blue), var(--dark-alt)); color: inherit; text-decoration: none; transition: transform var(--transition), border-color var(--transition); }
.home-feature-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.home-feature-card span { color: var(--gold); font-weight: 800; font-size: 18px; }
.home-feature-card p { color: var(--text-muted); margin: 10px 0 0; line-height: 1.6; }

.roj-card h3, .roj-card h2 { margin: 0; color: #fff; line-height: 1.35; }
.roj-thumb { aspect-ratio: 16 / 10; background: #05070d; overflow: hidden; }
.roj-thumb img { height: 100%; }

.roj-archive-head, .wiki-hero, .contact-hero { border: 1px solid var(--border); border-radius: 22px; padding: clamp(24px, 4vw, 42px); background: radial-gradient(circle at top left, rgba(176,141,60,.18), transparent 34%), linear-gradient(145deg, var(--dark-blue), var(--dark-alt)); margin-bottom: 28px; }
.roj-archive-head p, .wiki-hero p, .contact-hero p { color: var(--text-dim); max-width: 760px; line-height: 1.7; }
.wiki-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wiki-hero span, .contact-hero span { color: var(--gold); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.wiki-hero h1, .contact-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 52px); margin: 10px 0; }
.encyclopedia-card { border-left: 4px solid var(--gold); }
.encyclopedia-card .roj-content { min-height: 150px; }
.wiki-submit-form { border-radius: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.22); }
.wiki-submit-label { color: var(--gold); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; }
.roj-notice.error { background: rgba(180, 30, 30, .16); border: 1px solid rgba(255, 90, 90, .5); color: #ffb1b1; }

.roj-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-item { margin: 0; break-inside: auto; }
.gallery-item a { display: block; color: inherit; text-decoration: none; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: linear-gradient(145deg, var(--dark-blue), var(--dark-alt)); transition: transform var(--transition), border-color var(--transition); }
.gallery-item a:hover { transform: translateY(-4px); border-color: var(--gold); }
.gallery-media-frame { aspect-ratio: 4 / 3; overflow: hidden; background: #05070d; }
.gallery-media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--transition); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item h2 { padding: 14px; margin: 0; font-size: 16px; color: #fff; }
.gallery-placeholder { height: 100%; display: grid; place-items: center; color: var(--gold); }
.roj-media-content video, .roj-media-content iframe, .roj-text video, .roj-text iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; min-height: 220px; border: 0; border-radius: 16px; background: #000; display: block; }
.roj-media-content video, .roj-text video { object-fit: contain; }
.wp-video, .wp-video video { width: 100% !important; max-width: 100% !important; }

.about-page { max-width: 1050px; }
.about-intro { background: linear-gradient(145deg, var(--dark-blue), var(--dark-alt)); border: 1px solid var(--border); border-radius: 22px; padding: 26px; }
.team-section { margin-top: 34px; }
.team-section h2 { color: var(--gold); }
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.team-card { padding: 22px 16px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(145deg, var(--dark-blue), var(--dark-alt)); text-align: center; }
.team-avatar { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: rgba(176,141,60,.16); color: var(--gold); font-weight: 900; font-size: 24px; }
.team-card h3 { margin: 0 0 6px; color: #fff; }
.team-card p { margin: 0; color: var(--text-muted); font-size: 14px; }

.contact-page { max-width: 1150px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 20px; }
.contact-panel { border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(145deg, var(--dark-blue), var(--dark-alt)); padding: 24px; }
.contact-panel h2 { margin-top: 0; color: var(--gold); }
.contact-channel { padding: 16px; border: 1px solid rgba(176,141,60,.18); border-radius: 14px; margin-bottom: 12px; background: rgba(255,255,255,.025); }
.contact-channel strong, .contact-channel span, .contact-channel a { display: block; }
.contact-channel strong { color: #fff; margin-bottom: 6px; }
.contact-channel span, .contact-channel a { color: var(--text-dim); text-decoration: none; }
.contact-form input, .contact-form textarea, .wpcf7 input, .wpcf7 textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: #101827; color: #fff; }
.contact-form textarea, .wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7-submit { background: var(--gold) !important; color: #000 !important; font-weight: 800; cursor: pointer; }

.legal-content { background: linear-gradient(145deg, var(--dark-blue), var(--dark-alt)); border: 1px solid var(--border); border-radius: 20px; padding: 26px; }
.legal-content a { color: var(--gold); }

.um, .um-page { color: var(--text); }
.um .um-form, .um-profile, .um-account { background: linear-gradient(145deg, var(--dark-blue), var(--dark-alt)); border: 1px solid var(--border); border-radius: 18px; padding: 20px; }
.um input[type=text], .um input[type=password], .um input[type=email], .um textarea { background: #101827 !important; color: #fff !important; border: 1px solid var(--border) !important; border-radius: 10px !important; }
.um .um-button { background: var(--gold) !important; color: #000 !important; border-radius: 10px !important; font-weight: 800 !important; }

.pwa-install-banner, .ios-pwa-banner { position: fixed; z-index: 99999; }
.pwa-install-banner { left: 50%; bottom: 18px; transform: translateX(-50%); width: min(94vw, 520px); }
.pwa-install-box { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 14px; border-radius: 18px; background: #10131d; color: #fff; border: 1px solid var(--border); box-shadow: 0 18px 55px rgba(0,0,0,.34); }
.pwa-install-box span { color: var(--text-muted); font-size: 13px; }
.pwa-install-box button { border: 0; border-radius: 10px; padding: 9px 12px; cursor: pointer; }
#pwa-install-btn { background: var(--gold); color: #000; font-weight: 800; }
#pwa-close-btn { background: rgba(255,255,255,.08); color: #fff; font-size: 18px; }
.ios-pwa-banner { right: 16px; left: 16px; bottom: 18px; background: #10131d; color: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 16px 46px 16px 16px; box-shadow: 0 18px 55px rgba(0,0,0,.34); direction: rtl; text-align: right; }
.ios-pwa-banner strong, .ios-pwa-banner span { display: block; }
.ios-pwa-banner span { margin-top: 6px; color: var(--text-dim); line-height: 1.6; }
.ios-pwa-close { position: absolute; top: 10px; left: 12px; border: 0; background: transparent; color: #fff; font-size: 24px; cursor: pointer; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
    .home-hero-video { display: none; }
}

@media (max-width: 992px) {
    .home-feature-grid, .roj-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .contact-layout { grid-template-columns: 1fr; }
    .wiki-hero { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
    .roj-container { padding: 28px 16px; }
    .roj-topbar { gap: 12px; align-items: flex-start; }
    .roj-auth .roj-btn { padding: 9px 11px; font-size: 13px; }
    .home-hero { min-height: 68vh; }
    .home-hero-content { padding-top: 52px; padding-bottom: 52px; }
    .home-feature-grid, .roj-gallery-grid, .team-grid { grid-template-columns: 1fr; }
    .roj-grid, .encyclopedia-grid { grid-template-columns: 1fr; }
    .roj-footer-top { align-items: center; }
    .roj-footer-social { flex-wrap: wrap; justify-content: center; }
    .footer-about-card { text-align: center; }
    .pwa-install-box { grid-template-columns: 1fr auto; }
    .pwa-install-box span { grid-column: 1 / -1; }
}

/* Rojahiv v1.5.0 — Super Launch visual system */
:root{--roj-bg:#f7f3eb;--roj-surface:#fffaf3;--roj-ink:#141414;--roj-muted:#60646c;--roj-border:#e7ded2;--roj-red:#b91c1c;--roj-red-dark:#7f1d1d;--roj-gold:#c28a2c;--roj-navy:#111827;--roj-radius:22px;--roj-shadow:0 18px 55px rgba(17,24,39,.12)}
body{background:var(--roj-bg);color:var(--roj-ink);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}.roj-container{max-width:1180px;margin-inline:auto;padding-inline:clamp(16px,3vw,28px)}a{color:inherit}.roj-btn,.rjn-button{transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.roj-btn:hover,.rjn-button:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(185,28,28,.22)}
.roj-header{background:rgba(255,250,243,.92);backdrop-filter:blur(18px);border-bottom:1px solid var(--roj-border);position:sticky;top:0;z-index:50}.roj-menu a{font-weight:750}.roj-menu a:hover{color:var(--roj-red)}
.home-hero{min-height:clamp(540px,78vh,820px);isolation:isolate}.home-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.home-hero-overlay{background:linear-gradient(115deg,rgba(17,24,39,.86),rgba(127,29,29,.48),rgba(0,0,0,.25));z-index:1}.home-hero-content{position:relative;z-index:2}.hero-kicker{letter-spacing:.12em;text-transform:uppercase;color:#fde68a;font-weight:800}.home-hero h1{font-size:clamp(3.5rem,9vw,8rem);line-height:.9}.home-feature-card,.roj-card,.footer-card,.contact-panel,.team-card,.about-mission-grid article{border:1px solid var(--roj-border);border-radius:var(--roj-radius);background:rgba(255,250,243,.92);box-shadow:0 12px 34px rgba(17,24,39,.07)}
.about-hero-panel,.contact-hero,.wiki-hero,.gallery-head{border-radius:28px;background:linear-gradient(135deg,#111827,#7f1d1d);color:#fff;padding:clamp(28px,5vw,58px);box-shadow:var(--roj-shadow);margin:28px 0}.about-hero-panel span,.contact-hero span,.wiki-hero span,.gallery-head span,.section-headline span{display:inline-flex;color:#fde68a;text-transform:uppercase;letter-spacing:.12em;font-weight:850;font-size:.78rem}.about-hero-panel h1,.contact-hero h1,.wiki-hero h1{max-width:900px;font-size:clamp(2rem,4vw,4rem);line-height:1.04;margin:12px 0}.about-hero-panel p,.contact-hero p,.wiki-hero p{max-width:760px;color:#e5e7eb;font-size:clamp(1rem,1.4vw,1.18rem);line-height:1.8}.about-mission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0 38px}.about-mission-grid article{padding:22px}.about-mission-grid strong{display:block;font-size:1.05rem;margin-bottom:8px;color:var(--roj-red-dark)}.about-mission-grid p{color:var(--roj-muted);line-height:1.7}.section-headline{margin:10px 0 18px}.section-headline h2{font-size:clamp(1.7rem,3vw,2.7rem);margin:8px 0}.team-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.team-card{padding:22px;text-align:center}.team-avatar{width:66px;height:66px;margin:0 auto 14px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,var(--roj-red),var(--roj-gold));color:#fff;font-size:1.5rem;font-weight:900}.team-card h3{margin:0 0 6px}.team-card p{margin:0;color:var(--roj-muted)}
.contact-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:22px;align-items:start}.contact-panel{padding:clamp(22px,3vw,34px)}.contact-form-panel>p{color:var(--roj-muted);line-height:1.7}.contact-channel{padding:16px;border-radius:16px;background:#fff;border:1px solid var(--roj-border);margin-bottom:12px}.contact-channel strong,.contact-channel span,.contact-channel a{display:block}.contact-channel span,.contact-channel a{margin-top:5px;color:var(--roj-red-dark);font-weight:750}.contact-note{font-size:.95rem;color:var(--roj-muted);line-height:1.7;padding-top:8px}
.wiki-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:24px;align-items:start}.wiki-location-sidebar{position:sticky;top:120px;max-height:calc(100vh - 140px);overflow:auto;border:1px solid var(--roj-border);border-radius:24px;background:#fffaf3;padding:18px;box-shadow:0 14px 34px rgba(17,24,39,.08)}.wiki-location-sidebar h2{font-size:1.25rem;margin:0 0 6px}.wiki-location-sidebar p{color:var(--roj-muted);font-size:.93rem;line-height:1.55}.wiki-location-tree details{border-top:1px solid var(--roj-border);padding:10px 0}.wiki-location-tree summary{cursor:pointer;font-weight:850;color:var(--roj-red-dark)}.wiki-location-tree ul{list-style:none;margin:8px 0 0 12px;padding:0;border-left:1px solid var(--roj-border)}.wiki-location-tree li{margin:0;padding:5px 0 5px 12px}.wiki-location-tree a{text-decoration:none;color:#242424}.wiki-location-tree a:hover{color:var(--roj-red)}.wiki-filter-note{margin-bottom:14px}.wiki-filter-note a{display:inline-flex;border:1px solid var(--roj-border);border-radius:999px;padding:8px 12px;background:#fff;text-decoration:none}.wiki-card-location{display:inline-flex;font-size:.78rem;font-weight:800;color:var(--roj-red-dark);background:#fee2e2;border-radius:999px;padding:4px 8px;margin-bottom:8px}.wiki-submit-v150 select{width:100%;border:1px solid var(--roj-border);border-radius:14px;padding:12px 14px;background:#fff;color:var(--roj-ink);margin-bottom:16px}.wiki-submit-v150 textarea{min-height:300px}
.gallery-media-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.gallery-item a{text-decoration:none}.gallery-media-frame{position:relative;aspect-ratio:16/10;overflow:hidden;border-radius:22px;background:#111827;box-shadow:0 14px 36px rgba(17,24,39,.12)}.gallery-media-frame img,.gallery-media-frame video{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.gallery-item:hover img,.gallery-item:hover video{transform:scale(1.045)}.gallery-play{position:absolute;inset:auto 14px 14px auto;width:44px;height:44px;border-radius:999px;background:rgba(255,255,255,.92);display:grid;place-items:center;color:var(--roj-red);font-weight:900}.gallery-item h2{font-size:1.05rem;margin:12px 2px 0}.video-wrapper{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:18px;background:#000}.video-wrapper video,.video-wrapper iframe{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:0}
.roj-footer{background:#0b1020;color:#fff;margin-top:56px}.roj-footer a{color:#fff}.roj-footer-social a,.roj-footer-group-icon{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}.roj-footer-social svg{width:20px;height:20px;fill:currentColor;display:block}.roj-footer-group-icon img{width:34px;height:34px;object-fit:contain;border-radius:9px}.roj-footer-logo img{border-radius:18px;object-fit:cover}.footer-card,.newsletter-box{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.1);box-shadow:none}.footer-card p,.newsletter-box p,.roj-group-note{color:#cbd5e1}.footer-card h4,.newsletter-box h3{color:#fff}.footer-legal{list-style:none;margin:0;padding:0}.footer-legal li{margin:0 0 8px}
.pwa-install-banner[hidden],.ios-pwa-banner[hidden]{display:none!important}.pwa-install-banner:not([hidden]),.ios-pwa-banner:not([hidden]){display:block!important}
@media (max-width:980px){.about-mission-grid,.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-layout,.wiki-layout{grid-template-columns:1fr}.wiki-location-sidebar{position:relative;top:auto;max-height:460px}.home-hero-video{display:none}.home-hero{background:linear-gradient(135deg,#111827,#7f1d1d)}}@media (max-width:640px){.about-mission-grid,.team-grid{grid-template-columns:1fr}.roj-container{padding-inline:14px}.wiki-location-sidebar{max-height:360px}.gallery-media-grid{grid-template-columns:1fr}.contact-panel{padding:20px}.home-hero{min-height:620px}.roj-footer-social{gap:8px;flex-wrap:wrap}.roj-footer-social a,.roj-footer-group-icon{width:38px;height:38px}}




/* ─────────────────────────────────────────────
   Rojahiv v1.5.2 — Final Premium Color Fix
   Header: Navy + Gold
   Footer: Dark Premium
   Safe scoped rules only
───────────────────────────────────────────── */

:root {
    --roj-premium-navy-1: #06111f;
    --roj-premium-navy-2: #0b1b33;
    --roj-premium-navy-3: #10284d;
    --roj-premium-gold: #d4af37;
    --roj-premium-gold-soft: #f3d982;
    --roj-premium-text: #f8fafc;
    --roj-premium-muted: #cbd5e1;
    --roj-premium-border: rgba(212, 175, 55, 0.28);
}

/* HEADER ONLY */
.roj-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background:
        radial-gradient(circle at top left, rgba(212,175,55,.16), transparent 32%),
        linear-gradient(135deg, #06111f 0%, #0b1b33 45%, #10284d 100%) !important;
    border-bottom: 1px solid var(--roj-premium-border) !important;
    box-shadow: 0 8px 28px rgba(0,0,0,.24);
    backdrop-filter: blur(14px);
}

/* HEADER TOPBAR */
.roj-topbar {
    background: transparent !important;
}

/* LOGO */
.roj-logo a,
.roj-logo a:visited {
    color: var(--roj-premium-gold) !important;
    text-shadow: 0 1px 10px rgba(212,175,55,.18);
}

.roj-logo img,
.roj-header .custom-logo {
    max-height: 56px;
    width: auto;
    display: block;
}

/* MENU WRAPPER */
.roj-menu-wrapper {
    border-top: 1px solid rgba(212,175,55,.18) !important;
    background: rgba(3, 10, 22, 0.22);
}

/* MENU LINKS */
.roj-menu li a,
.roj-menu li a:visited {
    color: #f8fafc !important;
    font-weight: 700;
    letter-spacing: .01em;
}

.roj-menu li a:hover,
.roj-menu li.current-menu-item > a,
.roj-menu li.current_page_item > a {
    color: var(--roj-premium-gold-soft) !important;
}

/* AUTH BUTTON IN HEADER */
.roj-header .roj-btn {
    background: linear-gradient(135deg, #d4af37, #f3d982) !important;
    color: #111827 !important;
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 8px 20px rgba(212,175,55,.18);
}

.roj-header .roj-btn:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
}

/* GOLD LINE UNDER HEADER */
.roj-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212,175,55,.75),
        transparent
    );
    pointer-events: none;
}

/* DO NOT DAMAGE MAIN SITE COLORS */
body {
    background: var(--dark-blue);
    color: var(--text);
}

/* FOOTER PREMIUM FIX */
.roj-footer {
    background:
        radial-gradient(circle at top left, rgba(212,175,55,.10), transparent 28%),
        linear-gradient(135deg, #060b14 0%, #0b1020 48%, #111827 100%) !important;
    color: #e5e7eb !important;
    border-top: 1px solid rgba(212,175,55,.22) !important;
}

.roj-footer .footer-card,
.roj-footer .newsletter-box {
    background:
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035)) !important;
    border: 1px solid rgba(212,175,55,.20) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.18) !important;
    color: #e5e7eb !important;
}

.roj-footer h1,
.roj-footer h2,
.roj-footer h3,
.roj-footer h4 {
    color: var(--roj-premium-gold-soft) !important;
}

.roj-footer p,
.roj-footer span,
.roj-footer li {
    color: #cbd5e1 !important;
}

.roj-footer a,
.roj-footer a:visited {
    color: #ffffff !important;
}

.roj-footer a:hover {
    color: var(--roj-premium-gold-soft) !important;
}

/* FOOTER SOCIAL ICONS */
.roj-footer-social a,
.roj-footer-group-icon {
    background: rgba(255,255,255,.07) !important;
    border: 1px solid rgba(212,175,55,.28) !important;
    color: #f8fafc !important;
}

.roj-footer-social a:hover,
.roj-footer-group-icon:hover {
    background: linear-gradient(135deg, #d4af37, #f3d982) !important;
    color: #111827 !important;
    transform: translateY(-2px);
}

/* FOOTER NEWSLETTER INPUTS */
.roj-footer input,
.roj-footer textarea,
.roj-footer select,
.newsletter-box input,
.newsletter-box textarea,
.newsletter-box select {
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid rgba(212,175,55,.28) !important;
}

.roj-footer input::placeholder,
.roj-footer textarea::placeholder,
.newsletter-box input::placeholder,
.newsletter-box textarea::placeholder {
    color: #94a3b8 !important;
}

/* FOOTER NEWSLETTER BUTTON */
.newsletter-box button,
.roj-footer button,
.roj-footer input[type="submit"] {
    background: linear-gradient(135deg, #d4af37, #f3d982) !important;
    color: #111827 !important;
    font-weight: 800;
    border: none !important;
}

/* MOBILE HEADER */
@media (max-width: 700px) {
    .roj-header {
        background:
            linear-gradient(135deg, #06111f 0%, #0b1b33 60%, #10284d 100%) !important;
    }

    .roj-topbar {
        align-items: center;
    }

    .roj-menu {
        gap: 14px;
    }

    .roj-menu li a {
        font-size: 14px;
        padding: 7px 8px;
    }
}

/* Contact Page — Premium Form Styling */

.contact-page {
    max-width: 1150px;
    margin-inline: auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
    gap: 24px;
    align-items: start;
}

.contact-panel {
    background:
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035)),
        linear-gradient(135deg, #0b1020, #111827);
    border: 1px solid rgba(212,175,55,.22);
    border-radius: 24px;
    padding: clamp(22px, 3vw, 34px);
    box-shadow: 0 18px 55px rgba(0,0,0,.22);
}

.contact-panel h2 {
    color: #f3d982;
    margin: 0 0 10px;
    font-size: clamp(24px, 3vw, 34px);
}

.contact-panel p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 22px;
}

/* Contact Form 7 */
.contact-form .wpcf7-form {
    display: grid;
    gap: 16px;
}

.contact-form .wpcf7-form p {
    margin: 0;
}

.contact-form label {
    display: block;
    color: #e5e7eb;
    font-weight: 700;
    margin-bottom: 7px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
    width: 100%;
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid rgba(212,175,55,.26) !important;
    border-radius: 14px;
    padding: 13px 15px;
    outline: none;
    font-size: 15px;
    transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.contact-form textarea {
    min-height: 170px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #f3d982 !important;
    box-shadow: 0 0 0 4px rgba(212,175,55,.14);
    background: #111c33 !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
}

.contact-form .wpcf7-submit {
    width: 100%;
    background: linear-gradient(135deg, #d4af37, #f3d982) !important;
    color: #111827 !important;
    border: none !important;
    border-radius: 14px;
    padding: 14px 18px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.contact-form .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(212,175,55,.22);
    filter: brightness(1.03);
}

/* CF7 messages */
.contact-form .wpcf7-response-output {
    margin: 16px 0 0 !important;
    border-radius: 14px;
    padding: 12px 14px !important;
    color: #ffffff;
}

.contact-form .wpcf7-not-valid-tip {
    color: #fca5a5;
    font-size: 13px;
    margin-top: 6px;
}

/* Sidebar contact channels */
.contact-channel {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(212,175,55,.18);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
}

.contact-channel strong {
    color: #ffffff;
}

.contact-channel span,
.contact-channel a {
    color: #f3d982;
    text-decoration: none;
    font-weight: 700;
}

/* Mobile */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}