/* ============================================================
   ROBOLODGE — ROBOTIC DEVICE CERTIFICATIONS
   Frontend stylesheet
   ============================================================ */

.rlb-cert-page,
.rlb-cert-page * {
    box-sizing: border-box;
}

.rlb-cert-page {
    --rl-bg: #08090d;
    --rl-blue: #2f7dfd;
    --rl-blue-light: #63a0ff;
    --rl-cyan: #22d3ee;
    --rl-safety: #f5a623;
    --rl-white: #ffffff;
    --rl-text: #e8edf5;
    --rl-muted: #8b96a6;
    --rl-dim: #5b6577;
    --rl-line: rgba(255,255,255,.10);
    --rl-card: rgba(255,255,255,.045);
    --rl-card-hover: rgba(255,255,255,.075);
    --rl-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --rl-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 35px 25px 100px;

    background: var(--rl-bg);
    color: var(--rl-text);

    font-family: var(--rl-sans);
    line-height: 1.55;
}

.rlb-cert-page a { color: inherit; text-decoration: none; }
.rlb-cert-page button,
.rlb-cert-page input { font-family: inherit; }
.rlb-cert-page .rlb-mono { font-family: var(--rl-mono); }


/* ============================================================
   HERO
   ============================================================ */

.rlb-hero {
    position: relative;
    padding: 75px 0 55px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 70px;
    align-items: center;
}

.rlb-hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -280px;
    left: -250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47,125,253,.18), transparent 68%);
    pointer-events: none;
}

.rlb-hero-content { position: relative; z-index: 2; }

.rlb-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    color: #687b91;
    font-family: var(--rl-mono);
    font-size: 11px;
}

.rlb-breadcrumb a { color: #8ea1b7; }
.rlb-breadcrumb span { color: #455569; }

.rlb-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #40c5f5;
    font-family: var(--rl-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rlb-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rl-cyan);
    box-shadow: 0 0 15px rgba(34,211,238,.8);
}

.rlb-hero h1 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(44px, 5.6vw, 72px);
    line-height: 1;
    letter-spacing: -.04em;
    font-weight: 700;
    text-wrap: balance;
}

.rlb-gradient {
    background: linear-gradient(100deg, #fff 0%, #7db4ff 55%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rlb-hero-description {
    max-width: 660px;
    margin: 0 0 30px;
    color: #99a7ba;
    font-size: 16.5px;
    line-height: 1.7;
}

.rlb-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.rlb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 21px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: .2s ease;
}

.rlb-button-primary {
    color: #fff !important;
    background: linear-gradient(135deg, #2065f0, #1eabd8);
    box-shadow: 0 10px 30px rgba(32,101,240,.22);
}

.rlb-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(32,101,240,.34);
}

.rlb-button-outline {
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.035);
    color: #ccd8e8 !important;
}

.rlb-button-outline:hover {
    background: rgba(255,255,255,.075);
    border-color: rgba(255,255,255,.26);
}


/* ============================================================
   HERO SIDE PANEL
   ============================================================ */

.rlb-explorer-card {
    position: relative;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
    backdrop-filter: blur(15px);
}

.rlb-explorer-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -80px;
    right: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,211,238,.16), transparent 70%);
}

.rlb-explorer-title {
    position: relative;
    margin-bottom: 20px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.rlb-search {
    position: relative;
    display: flex;
    align-items: center;
    height: 48px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 7px;
    background: rgba(0,0,0,.25);
}

.rlb-search-icon { width: 17px; margin-left: 15px; color: #687b91; flex-shrink: 0; }

.rlb-search input {
    width: 100%;
    height: 100%;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #dce8f6;
    font-size: 12.5px;
}

.rlb-search input::placeholder { color: #5e7085; }

.rlb-explorer-tags { display: flex; flex-wrap: wrap; gap: 7px; }

.rlb-tag {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 5px;
    color: #93a4b9;
    background: rgba(255,255,255,.025);
    font-family: var(--rl-mono);
    font-size: 10px;
}

.rlb-tag:hover {
    color: #d9edff;
    border-color: rgba(47,125,253,.4);
    background: rgba(47,125,253,.09);
}

.rlb-ai-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: none;
    color: #6fa8e6;
    font-family: var(--rl-mono);
    font-size: 10.5px;
    cursor: pointer;
}

.rlb-ai-hint:hover { color: #9fc7ff; }

.rlb-ai-hint-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rl-cyan);
    box-shadow: 0 0 10px rgba(34,211,238,.8);
    animation: rlb-pulse 2.2s ease-in-out infinite;
}

@keyframes rlb-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}


/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.rlb-section { padding: 68px 0; }

.rlb-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.rlb-section-heading-left { max-width: 640px; }

.rlb-section-label {
    display: block;
    margin-bottom: 9px;
    color: #35b8ea;
    font-family: var(--rl-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.rlb-section-heading h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(27px, 3.6vw, 40px);
    line-height: 1.1;
    letter-spacing: -.03em;
    font-weight: 700;
    text-wrap: balance;
}

.rlb-section-heading p { margin: 0; color: #8191a6; font-size: 14px; line-height: 1.7; }

.rlb-view-all { color: #55bdf3 !important; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.rlb-view-all:hover { color: #fff !important; }


/* ============================================================
   FEATURED CERTIFICATION CARDS
   ============================================================ */

.rlb-cert-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rlb-cert-card {
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .3s ease;
}

.rlb-cert-card:hover {
    transform: translateY(-5px);
    border-color: rgba(47,125,253,.4);
    background: rgba(255,255,255,.065);
}

.rlb-cert-image {
    position: relative;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 35%, rgba(47,125,253,.24), transparent 65%), #060810;
}

.rlb-cert-image::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(56,150,255,.14);
    border-radius: 50%;
}

.rlb-cert-image::after {
    content: "";
    position: absolute;
    width: 226px;
    height: 226px;
    border: 1px solid rgba(56,150,255,.06);
    border-radius: 50%;
}

.rlb-cert-symbol {
    position: relative;
    z-index: 2;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(52,150,255,.4);
    border-radius: 12px;
    color: #57b8f5;
    background: rgba(47,125,253,.12);
    font-size: 24px;
    box-shadow: 0 0 40px rgba(47,125,253,.14);
}

.rlb-cert-body { display: flex; flex-direction: column; flex: 1; padding: 20px 21px 21px; }

.rlb-provider { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }

.rlb-provider-name {
    color: #5dbff0;
    font-family: var(--rl-mono);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.rlb-type {
    padding: 4px 7px;
    border-radius: 4px;
    color: #8195aa;
    background: rgba(255,255,255,.05);
    font-family: var(--rl-mono);
    font-size: 8.5px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.rlb-type-safety { color: #ffd28f; background: rgba(245,166,35,.14); }

.rlb-cert-card h3 { margin: 0 0 4px; color: #f3f7fc; font-size: 17px; font-weight: 600; line-height: 1.3; }

.rlb-standard-code {
    display: block;
    margin-bottom: 10px;
    color: #6c8099;
    font-family: var(--rl-mono);
    font-size: 10.5px;
    letter-spacing: .02em;
}

.rlb-cert-card-description { margin: 0 0 16px; color: #8493a7; font-size: 11.5px; line-height: 1.65; }

.rlb-card-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }

.rlb-meta {
    padding: 5px 8px;
    border-radius: 4px;
    color: #8092a7;
    background: rgba(255,255,255,.035);
    font-family: var(--rl-mono);
    font-size: 9px;
}

.rlb-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.07);
    color: #4dbbf0 !important;
    font-size: 11.5px;
    font-weight: 600;
}

.rlb-card-link span { transition: transform .2s ease; }
.rlb-cert-card:hover .rlb-card-link span { transform: translateX(4px); }

.rlb-cert-card.rlb-flash { animation: rlb-flash-highlight 1.6s ease; }

@keyframes rlb-flash-highlight {
    0%   { box-shadow: 0 0 0 0 rgba(47,125,253,0); border-color: rgba(255,255,255,.09); }
    15%  { box-shadow: 0 0 0 4px rgba(47,125,253,.35); border-color: rgba(47,125,253,.6); }
    100% { box-shadow: 0 0 0 0 rgba(47,125,253,0); border-color: rgba(255,255,255,.09); }
}


/* ============================================================
   DEVICE-TYPE CATEGORIES
   ============================================================ */

.rlb-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.rlb-category {
    position: relative;
    min-height: 145px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.028);
    transition: .2s ease;
}

.rlb-category:hover {
    transform: translateY(-3px);
    border-color: rgba(47,125,253,.32);
    background: rgba(47,125,253,.06);
}

.rlb-category-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 8px;
    color: #4db4f1;
    background: rgba(47,125,253,.1);
    font-size: 17px;
}

.rlb-category h3 { margin: 0 0 5px; color: #eaf2fb; font-size: 14px; font-weight: 600; }
.rlb-category p { margin: 0; color: #6f8197; font-size: 10.5px; line-height: 1.6; }
.rlb-category-arrow { position: absolute; right: 18px; bottom: 17px; color: #43566d; font-size: 13px; }


/* ============================================================
   STANDARDS BODIES / AUTHORITIES
   ============================================================ */

.rlb-authority-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }

.rlb-authority {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    background: rgba(255,255,255,.025);
    transition: .2s ease;
}

.rlb-authority:hover { border-color: rgba(47,125,253,.32); background: rgba(255,255,255,.05); }

.rlb-authority-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 8px;
    background: rgba(255,255,255,.035);
    color: #dce9f7;
    font-family: var(--rl-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.rlb-authority-info strong { display: block; margin-bottom: 2px; color: #dce7f3; font-size: 12px; font-weight: 600; }
.rlb-authority-info span { color: #687b90; font-size: 9.5px; }


/* ============================================================
   NOTICE
   ============================================================ */

.rlb-notice {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    margin-top: 16px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 9px;
    background: rgba(255,255,255,.02);
}

.rlb-notice-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(47,125,253,.12);
    color: #57b8f5;
    font-family: var(--rl-mono);
    font-size: 11px;
    font-weight: 600;
}

.rlb-notice p { margin: 0; color: #758699; font-size: 10.5px; line-height: 1.7; }
.rlb-notice strong { color: #a3b3c2; }


/* ============================================================
   REGIONS
   ============================================================ */

.rlb-region-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }

.rlb-region {
    padding: 18px 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    background: rgba(255,255,255,.022);
}

.rlb-region-symbol { margin-bottom: 8px; color: #4db4f1; font-family: var(--rl-mono); font-size: 15px; font-weight: 600; }
.rlb-region strong { display: block; margin-bottom: 3px; color: #dbe7f3; font-size: 11px; font-weight: 600; }
.rlb-region span { color: #65778d; font-family: var(--rl-mono); font-size: 8.5px; }


/* ============================================================
   CERTIFICATION PROCESS
   ============================================================ */

.rlb-how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }

.rlb-how::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 25px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(47,125,253,.45), rgba(34,211,238,.45), transparent);
}

.rlb-how-step { position: relative; z-index: 2; padding: 0 18px; text-align: center; }

.rlb-how-number {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin: 0 auto 17px;
    border: 1px solid rgba(47,125,253,.4);
    border-radius: 50%;
    background: #05070c;
    color: #57b8f5;
    font-family: var(--rl-mono);
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 0 25px rgba(47,125,253,.1);
}

.rlb-how-step h3 { margin: 0 0 6px; color: #e9f2fc; font-size: 13.5px; font-weight: 600; }
.rlb-how-step p { margin: 0; color: #718197; font-size: 10.5px; line-height: 1.6; }


/* ============================================================
   AI COMPLIANCE ASSISTANT
   ============================================================ */

.rlb-ai-card {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: linear-gradient(180deg, #0d1119 0%, #090b11 100%);
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
    overflow: hidden;
}

.rlb-ai-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
}

.rlb-ai-header-title { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 3px; }

.rlb-ai-header-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6f8299;
    font-family: var(--rl-mono);
    font-size: 10px;
    letter-spacing: .02em;
}

.rlb-ai-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px rgba(52,211,153,.8);
}

.rlb-ai-messages {
    max-height: 420px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rlb-ai-msg { max-width: 84%; padding: 11px 14px; border-radius: 12px; font-size: 13px; line-height: 1.6; }

.rlb-ai-msg-assistant {
    align-self: flex-start;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.045);
    color: #cbd6e4;
    border-bottom-left-radius: 3px;
}

.rlb-ai-msg-user {
    align-self: flex-end;
    background: linear-gradient(135deg, #1c58d8, #159de9);
    color: #fff;
    border-bottom-right-radius: 3px;
}

.rlb-ai-msg p { margin: 0 0 8px; }
.rlb-ai-msg p:last-child { margin-bottom: 0; }

.rlb-ai-matches { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }

.rlb-ai-match {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 8px;
    background: rgba(255,255,255,.035);
    color: #dce9f7 !important;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: .15s ease;
}

.rlb-ai-match:hover { border-color: rgba(47,125,253,.4); background: rgba(47,125,253,.1); }

.rlb-ai-match-icon {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: rgba(47,125,253,.14);
    color: #57b8f5;
    font-size: 13px;
}

.rlb-ai-match-text strong { display: block; font-size: 12px; font-weight: 600; color: #eef4fb; }
.rlb-ai-match-text span { font-family: var(--rl-mono); font-size: 9.5px; color: #7d8ea3; }

.rlb-ai-typing {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    border-bottom-left-radius: 3px;
    background: rgba(255,255,255,.045);
}

.rlb-ai-typing span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #7d8ea3;
    animation: rlb-typing 1.1s ease-in-out infinite;
}

.rlb-ai-typing span:nth-child(2) { animation-delay: .15s; }
.rlb-ai-typing span:nth-child(3) { animation-delay: .3s; }

@keyframes rlb-typing {
    0%, 60%, 100% { transform: translateY(0); opacity: .5; }
    30% { transform: translateY(-3px); opacity: 1; }
}

.rlb-ai-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 14px; }

.rlb-ai-suggestion {
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    background: rgba(255,255,255,.03);
    color: #93a4b9;
    font-size: 11px;
    cursor: pointer;
}

.rlb-ai-suggestion:hover { color: #d9edff; border-color: rgba(47,125,253,.4); background: rgba(47,125,253,.1); }
.rlb-ai-suggestion:disabled { opacity: .5; cursor: not-allowed; }

.rlb-ai-form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
}

.rlb-ai-form input {
    flex: 1;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(0,0,0,.3);
    color: #dce8f6;
    font-size: 13px;
    outline: 0;
}

.rlb-ai-form input::placeholder { color: #5e7085; }
.rlb-ai-form input:focus { border-color: rgba(47,125,253,.5); }

.rlb-ai-send {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #1c58d8, #159de9);
    color: #fff;
    cursor: pointer;
}

.rlb-ai-send:disabled { opacity: .5; cursor: not-allowed; }
.rlb-ai-send svg { width: 17px; height: 17px; }

.rlb-ai-footnote {
    padding: 10px 20px 16px;
    color: #4a5a6e;
    font-family: var(--rl-mono);
    font-size: 9px;
    line-height: 1.5;
    border-top: 1px dashed rgba(255,255,255,.06);
}


/* ============================================================
   FINAL CTA
   ============================================================ */

.rlb-final {
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    padding: 65px 35px;
    text-align: center;
    border: 1px solid rgba(47,125,253,.2);
    border-radius: 16px;
    background: radial-gradient(circle at 50% 0%, rgba(47,125,253,.14), transparent 62%), rgba(255,255,255,.025);
}

.rlb-final h2 {
    position: relative;
    z-index: 2;
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(27px, 3.6vw, 42px);
    line-height: 1.15;
    letter-spacing: -.03em;
    font-weight: 700;
    text-wrap: balance;
}

.rlb-final p { position: relative; z-index: 2; max-width: 600px; margin: 0 auto 25px; color: #8292a7; font-size: 14px; }
.rlb-final .rlb-hero-buttons { position: relative; z-index: 2; justify-content: center; }


/* ============================================================
   FULL-WIDTH PAGE OVERRIDE
   ============================================================ */

/*
   Added only to pages using the full [robolodge_certifications]
   shortcode (see rlb_cert_maybe_add_fullwidth_body_class() in
   render.php) — never on pages using the individual section
   shortcodes. Targets the two most common width squeezes: a theme
   sidebar layout, and Elementor's "boxed" section content width.
   Header and footer markup sit outside these wrappers and are
   untouched by any of these rules.
*/

/* Generic WordPress/theme sidebar layouts */
body.rlb-fullwidth-page #right-sidebar,
body.rlb-fullwidth-page #secondary,
body.rlb-fullwidth-page .sidebar,
body.rlb-fullwidth-page .widget-area {
    display: none;
}

body.rlb-fullwidth-page #primary,
body.rlb-fullwidth-page #main,
body.rlb-fullwidth-page #content,
body.rlb-fullwidth-page #content-wrap,
body.rlb-fullwidth-page .content-area,
body.rlb-fullwidth-page .site-content {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

/* Elementor's boxed section content width */
body.rlb-fullwidth-page .elementor-section-boxed > .elementor-container {
    max-width: 100% !important;
}


/* ============================================================
   STANDALONE SECTION SHORTCODES
   ============================================================ */

/*
   Used by the per-section shortcodes ([robolodge_hero],
   [robolodge_categories], etc.) so a section can be dropped onto a
   page that already has its own background, instead of carrying the
   solid page background/padding meant for the full [robolodge_certifications]
   page. All card, text and spacing styles are unchanged.
*/
.rlb-cert-page.rlb-cert-section {
    background: transparent;
    padding: 0;
}

.rlb-cert-page.rlb-cert-section .rlb-final {
    margin-top: 0;
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */

.rlb-cert-page button:focus-visible,
.rlb-cert-page input:focus-visible,
.rlb-cert-page a:focus-visible {
    outline: 2px solid var(--rl-blue-light);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .rlb-ai-hint-dot,
    .rlb-ai-typing span,
    .rlb-cert-page .rlb-flash { animation: none; }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1050px) {
    .rlb-hero { grid-template-columns: 1fr; gap: 35px; }
    .rlb-explorer-card { max-width: 600px; }
    .rlb-cert-grid { grid-template-columns: repeat(2, 1fr); }
    .rlb-category-grid { grid-template-columns: repeat(2, 1fr); }
    .rlb-authority-list { grid-template-columns: repeat(2, 1fr); }
    .rlb-region-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
    .rlb-cert-page { padding: 20px 15px 60px; }
    .rlb-hero { padding: 45px 0 35px; }
    .rlb-hero h1 { font-size: 42px; }
    .rlb-hero-description { font-size: 14px; }
    .rlb-hero-buttons { flex-direction: column; }
    .rlb-button { width: 100%; }
    .rlb-section { padding: 48px 0; }
    .rlb-section-heading { display: block; }
    .rlb-view-all { display: inline-block; margin-top: 15px; }
    .rlb-cert-grid, .rlb-category-grid, .rlb-authority-list { grid-template-columns: 1fr; }
    .rlb-region-grid { grid-template-columns: repeat(2, 1fr); }
    .rlb-how { grid-template-columns: 1fr; gap: 30px; }
    .rlb-how::before { display: none; }
    .rlb-how-step { padding: 0 10px; }
    .rlb-final { padding: 50px 20px; }
    .rlb-ai-messages { max-height: 340px; }
    .rlb-ai-msg { max-width: 92%; }
}
