/* ==========================================================================
   Rocktech LCD Category & Commercial Hub Styles (Pilot: /high-brightness-displays/)
   Table header/frame: Classic Rocktech #74BA46 green
   Typography & UI text: Calm deep #015D37 / #163023 / #444444 (zero neon green text)
   ========================================================================== */

/* Banner semantic tag cleanup (replaces misused <h2> inside .banner-info) */
.banner-info .rt-banner-tag {
    display: block;
    font-weight: 400;
    margin: 0 0 3px 0;
    font-size: 14.5px;
    line-height: 1.5;
    text-align: left;
    color: #e6f4ea;
}

.rt-hb-hub {
    margin-top: 18px;
    padding-top: 0;
    border-top: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #26332c;
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
}

/* Intro & Value Proposition (Version 1 calm typography) */
.rt-hub-intro {
    background: linear-gradient(180deg, #f6fbf8 0%, #ffffff 100%);
    border: 1px solid #dce8e0;
    border-radius: 12px;
    padding: 26px 30px;
    margin-bottom: 24px;
}

.rt-hub-intro-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.rt-hub-intro-copy {
    flex: 1 1 640px;
    min-width: 0;
}

.rt-hub-intro h2 {
    font-size: 24px;
    font-weight: 700;
    color: #015D37;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.rt-hub-intro p {
    font-size: 15px;
    color: #3d4d44;
    line-height: 1.7;
    margin: 0;
}

.rt-hub-intro-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.rt-hub-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #015D37;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.rt-hub-btn-primary:hover {
    background: #19890E;
    color: #ffffff !important;
}

.rt-hub-cta-note {
    font-size: 12.5px;
    color: #5b6e63;
}

.rt-hub-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #e4eee8;
    font-size: 13.5px;
    color: #2b4236;
    font-weight: 500;
}

.rt-hub-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Interactive Filter Bar */
.rt-hub-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin: 0 0 22px 0;
    padding: 13px 18px;
    background: #f8faf9;
    border: 1px solid #e1ebe4;
    border-radius: 10px;
}

.rt-filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.rt-filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #4c5f55;
    margin-right: 4px;
}

.rt-filter-pill {
    appearance: none;
    border: 1px solid #cfdcd4;
    background: #ffffff;
    color: #2d4237;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 13px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.18s ease;
    line-height: 1.35;
}

.rt-filter-pill:hover {
    border-color: #015D37;
    color: #015D37;
    background: #f2f9f5;
}

.rt-filter-pill.is-active {
    background: #015D37;
    border-color: #015D37;
    color: #ffffff;
    font-weight: 600;
}

.rt-filter-count {
    font-size: 13px;
    color: #5b6e63;
}

/* ==========================================================================
   Product Selector Tables — Classic #74BA46 Header + Calm Neutral Text
   ========================================================================== */
.rt-tier-block {
    margin-bottom: 34px;
}

.rt-tier-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 10px;
}

.rt-tier-header h3 {
    font-size: 19px;
    font-weight: 700;
    color: #163023;
    margin: 0;
}

.rt-tier-sub {
    font-size: 13.5px;
    color: #5a6d62;
}

.rt-selector-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rt-selector-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #ffffff;
    border: 1px solid #3EA83C;
}

.rt-selector-table thead th {
    background-color: #74BA46;
    color: #F4F4F4;
    font-weight: 600;
    font-size: 13.5px;
    padding: 10px 12px;
    text-align: left;
    border-right: 1px solid #D5D5D5;
    border-bottom: 1px solid #3EA83C;
    white-space: nowrap;
}

.rt-selector-table thead th:last-child {
    border-right: none;
    text-align: center;
}

.rt-selector-table tbody td {
    padding: 9px 12px;
    border: 1px solid #3EA83C;
    color: #555555;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 14px;
}

.rt-selector-table tbody td:last-child {
    text-align: center;
}

.rt-selector-table tbody tr:nth-child(even) {
    background-color: #fafcfb;
}

.rt-selector-table tbody tr:hover {
    background-color: #f2f8f0;
}

/* Calm, legible P/N link (deep forest/slate instead of bright green) */
.rt-sku-link {
    color: #015D37 !important;
    font-weight: 600;
    text-decoration: none !important;
}

.rt-sku-link:hover {
    color: #19890E !important;
    text-decoration: underline !important;
}

.rt-form-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #44584d;
    background: #eef4f0;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
}

.rt-lum-val {
    font-weight: 500;
    color: #444444;
}

.rt-lum-val.is-1000 {
    color: #222222;
    font-weight: 600;
}

.rt-lum-note {
    font-size: 12px;
    color: #777777;
    margin-left: 3px;
}

.rt-touch-ctp {
    color: #333333;
    font-weight: 500;
}

.rt-touch-opt {
    color: #555555;
}

.rt-pdf-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.rt-pdf-icon-link img {
    height: 20px;
    width: auto;
    display: block;
    transition: transform 0.15s ease;
}

.rt-pdf-icon-link:hover img {
    transform: scale(1.12);
}

.rt-ds-req {
    font-size: 12.5px;
    color: #015D37 !important;
    text-decoration: underline !important;
}

.rt-empty-filter-msg {
    display: none;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #5b6e63;
    background: #fafcfb;
    border: 1px dashed #cfdcd4;
    border-radius: 10px;
    margin-top: 10px;
}

/* Optical Transmittance & Compatibility Callout */
.rt-optical-note {
    margin-top: 14px;
    padding: 15px 20px;
    background: #f5faf7;
    border-left: 4px solid #015D37;
    border-radius: 0 10px 10px 0;
    font-size: 14px;
    color: #33443b;
    line-height: 1.65;
}

.rt-optical-note p {
    margin: 0 0 8px 0;
}

.rt-optical-note p:last-child {
    margin-bottom: 0;
}

.rt-optical-note a {
    color: #015D37;
    font-weight: 600;
    text-decoration: underline;
}

/* Engineering Section Wrapper */
.rt-hub-section {
    margin-top: 44px;
}

.rt-hub-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #163023;
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.rt-hub-section-lead {
    font-size: 14.5px;
    color: #516359;
    margin: 0 0 16px 0;
    max-width: 960px;
}

/* Ambient Environment Selection Matrix */
.rt-env-matrix-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rt-env-matrix {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #ffffff;
    border: 1px solid #3EA83C;
}

.rt-env-matrix th {
    background-color: #74BA46;
    color: #F4F4F4;
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
    border-right: 1px solid #D5D5D5;
    border-bottom: 1px solid #3EA83C;
}

.rt-env-matrix th:last-child {
    border-right: none;
}

.rt-env-matrix td {
    padding: 11px 14px;
    border: 1px solid #3EA83C;
    color: #444444;
    vertical-align: top;
    line-height: 1.55;
}

.rt-env-matrix tbody tr:nth-child(even) {
    background-color: #fafcfb;
}

/* 3 Engineering Pillars Grid */
.rt-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 16px;
}

.rt-pillar-card {
    background: #ffffff;
    border: 1px solid #dfe9e3;
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.025);
}

.rt-pillar-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #015D37;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.rt-pillar-card p {
    font-size: 14px;
    color: #3e4e46;
    line-height: 1.65;
    margin: 0 0 10px 0;
}

.rt-pillar-card p:last-child {
    margin-bottom: 0;
}

.rt-pillar-card a {
    color: #015D37;
    font-weight: 600;
    text-decoration: underline;
}

/* Inline Quick Quote Form */
#rt-quote-form.rt-hub-quote-form {
    scroll-margin-top: 172px;
    margin: 44px 0;
    padding: 28px 32px;
    background: linear-gradient(135deg, #f3faf6 0%, #ebf5ef 100%);
    border: 1px solid #cde2d5;
    border-radius: 14px;
    text-align: center;
}

.rt-hub-quote-form h2 {
    font-size: 21px;
    font-weight: 700;
    color: #015D37;
    margin: 0 0 6px 0;
}

.rt-hub-quote-form > p {
    font-size: 14.5px;
    color: #46594f;
    margin: 0 0 18px 0;
}

.rt-hub-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1080px;
    margin: 0 auto;
    justify-content: center;
}

.rt-hub-form-row input[type="email"],
.rt-hub-form-row input[type="text"] {
    height: 42px;
    padding: 0 14px;
    border: 1px solid #bfd3c7;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2d26;
    background: #ffffff;
    box-sizing: border-box;
}

.rt-hub-form-row input[name="email"] {
    flex: 1 1 220px;
}

.rt-hub-form-row input[name="phone"] {
    flex: 1 1 180px;
}

.rt-hub-form-row input[name="message"] {
    flex: 2 1 340px;
}

.rt-hub-form-row button[type="submit"] {
    height: 42px;
    padding: 0 26px;
    background: #015D37;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.rt-hub-form-row button[type="submit"]:hover {
    background: #19890E;
}

.rt-hub-form-trust {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 28px;
    font-size: 13px;
    color: #485c51;
}

/* Commercial Cross-Navigation Pills */
.rt-hub-cat-nav {
    margin: 40px 0;
    padding: 24px 28px;
    background: #fafcfb;
    border: 1px solid #e1ebe5;
    border-radius: 12px;
}

.rt-hub-cat-nav h2 {
    font-size: 19px;
    font-weight: 700;
    color: #163023;
    margin: 0 0 14px 0;
}

.rt-hub-cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rt-hub-cat-pills li {
    margin: 0;
}

.rt-hub-cat-pills a {
    display: inline-block;
    padding: 9px 16px;
    background: #ffffff;
    border: 1px solid #cbdcd2;
    border-radius: 999px;
    color: #015D37 !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.18s ease;
}

.rt-hub-cat-pills a:hover {
    background: #015D37;
    border-color: #015D37;
    color: #ffffff !important;
}

/* Engineering FAQ Section */
.rt-hub-faq {
    margin: 40px 0 28px 0;
    padding: 28px 32px;
    background: #f9fbfa;
    border: 1px solid #e1ebe4;
    border-radius: 12px;
}

.rt-hub-faq h2 {
    font-size: 22px;
    font-weight: 700;
    color: #163023;
    margin: 0 0 18px 0;
}

.rt-hub-faq-item {
    padding: 16px 0;
    border-top: 1px solid #e3ece6;
}

.rt-hub-faq-item:first-of-type {
    border-top: none;
    padding-top: 0;
}

.rt-hub-faq-item:last-of-type {
    padding-bottom: 0;
}

.rt-hub-faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: #193829;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.rt-hub-faq-item p {
    font-size: 14.5px;
    color: #3f4f47;
    line-height: 1.68;
    margin: 0;
}

/* ==========================================================================
   Mobile & Tablet Layout (<= 1024px): Clean, Flat, Cardless Flow
   ========================================================================== */
@media (max-width: 1024px) {
    .products-post-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .rt-hb-hub {
        margin-top: 14px;
        padding-top: 0;
    }

    .rt-hub-intro {
        background: transparent;
        border: 0;
        border-bottom: 1px solid #e4ece7;
        border-radius: 0;
        padding: 0 0 20px 0;
        margin-bottom: 20px;
    }

    .rt-hub-intro h2 {
        font-size: 20px;
    }

    .rt-hub-intro-cta {
        width: 100%;
        align-items: stretch;
    }

    .rt-hub-btn-primary {
        width: 100%;
        box-sizing: border-box;
    }

    .rt-hub-cta-note {
        text-align: center;
    }

    .rt-hub-filter-bar {
        padding: 12px 0;
        background: transparent;
        border: 0;
        border-bottom: 1px solid #e6eee9;
        border-radius: 0;
    }

    /* Sticky 1st column on horizontal swipe for mobile selector tables */
    .rt-selector-table th:first-child,
    .rt-selector-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background: #ffffff;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
    }

    .rt-selector-table tbody tr:nth-child(even) td:first-child {
        background: #fafcfb;
    }

    .rt-selector-table thead th:first-child {
        background: #74BA46;
        z-index: 3;
    }

    .rt-pillars-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 8px;
    }

    .rt-pillar-card {
        background: transparent;
        border: 0;
        border-bottom: 1px solid #e5ede8;
        border-radius: 0;
        box-shadow: none;
        padding: 16px 0;
    }

    .rt-pillar-card:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    #rt-quote-form.rt-hub-quote-form {
        scroll-margin-top: 84px;
        padding: 20px 16px;
        margin: 28px 0;
        border-radius: 10px;
    }

    .rt-hub-form-row input[name="email"],
    .rt-hub-form-row input[name="phone"],
    .rt-hub-form-row input[name="message"],
    .rt-hub-form-row button[type="submit"] {
        flex: 1 1 100%;
        width: 100%;
    }

    .rt-hub-cat-nav,
    .rt-hub-faq {
        background: transparent;
        border: 0;
        border-top: 1px solid #e4ece7;
        border-radius: 0;
        padding: 22px 0 0 0;
        margin: 28px 0 16px 0;
    }
}
