/* Risk Consulting — matches existing M2C Labs / site styles */

/* Section 1 — hero BG (CMS image overrides via inline style) */
.rc_page .labs_hero.rc_hero {
    background-color: #0a0a0a;
    background-image: url('../../../uploads/media/risk-image-1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.rc_why_media {
    max-width: 720px;
    margin: 0 auto 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.rc_why_media img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.rc_page .labs_section {
    padding: 60px 0;
}

.rc_page .slider_head_div {
    padding-top: 20px;
    padding-bottom: 20px;
}

.rc_page .employment_mission_text {
    margin-bottom: 30px;
}

/* Compact employment-style cards for icon rows */
.rc_icon_card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--olive, #3B5323);
    padding: 28px 22px;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: 0.35s ease;
}

.rc_icon_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    border-top-color: var(--khaki, #C3B091);
}

.rc_icon_card i {
    display: block;
    margin-bottom: 14px;
    color: var(--olive, #3B5323);
    font-size: 28px;
}

.rc_icon_card h3 {
    margin: 0 0 10px;
    color: var(--matte-black, #1C1C1C);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.rc_icon_card p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.55;
    text-align: center !important;
}

/* Offering cards — left-aligned, equal content rhythm */
.rc_offer_grid .employment_card {
    height: 100%;
    min-height: 0;
    border-radius: 12px;
}

.rc_offer_grid .employment_image_box {
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.rc_offer_grid .employment_image_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.rc_offer_grid .employment_card_content {
    flex: 1;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding: 22px 22px 24px;
    gap: 0;
}

.rc_offer_grid .employment_card_title_wrapper {
    align-items: flex-start;
    width: 100%;
    margin-bottom: 8px;
}

.rc_offer_grid .employment_card_title {
    font-size: 18px;
    letter-spacing: 1.5px;
    line-height: 1.25;
    text-align: left;
}

.rc_page .rc_offer_grid .employment_card_description,
.tactical_labs_bg .rc_offer_grid .employment_card_description {
    color: #cbd5e0;
    text-align: left !important;
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: normal;
    max-width: none;
    width: 100%;
}

.rc_offer_grid ul {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    color: #cbd5e0;
    text-align: left;
    width: 100%;
}

.rc_offer_grid li {
    position: relative;
    margin: 0 0 6px;
    padding-left: 14px;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}

.rc_offer_grid li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c1bf87;
}

.rc_offer_grid .trasparent-btn-red,
.rc_offer_grid .trasparent-btn-white {
    margin-top: auto;
    align-self: flex-start;
}

/* Media block */
.rc_media_ph {
    width: 100%;
    min-height: 180px;
    overflow: hidden;
    background: #1C1C1C;
}

.rc_media_ph img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.rc_split_box .rc_media_ph img {
    object-fit: contain;
    background: #111;
}

/* Philosophy split */
.rc_split_box {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.rc_split_box .rc_media_ph {
    min-height: 160px;
}

.rc_split_body {
    padding: 24px;
}

.rc_split_body h3 {
    margin: 0 0 12px;
    color: var(--olive, #3B5323);
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rc_split_body p,
.rc_split_body li {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.rc_split_body ul {
    margin: 0;
    padding-left: 18px;
}

/* Flow steps */
.rc_flow_step {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--olive, #3B5323);
    padding: 16px 10px;
    text-align: center;
    height: 100%;
}

.rc_flow_step span {
    display: block;
    margin-bottom: 6px;
    color: var(--olive, #3B5323);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.rc_flow_step strong {
    color: #1C1C1C;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mission row — image left, copy right */
.rc_mission_media {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.rc_mission_media img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.rc_mission_row .labs_subtitle {
    display: block;
    text-align: left;
}

.rc_mission_list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    max-width: 420px;
    text-align: left;
}

.rc_mission_list li {
    position: relative;
    padding: 8px 0 8px 22px;
    color: #444;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.rc_mission_list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--khaki, #C3B091);
}

@media (max-width: 767px) {
    .rc_mission_media img {
        height: 240px;
    }
}

/* ========== Wargaming section (improved) ========== */
.rc_wargame_section.labs_section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.rc_wargame_section .labs_subtitle {
    margin-bottom: 6px;
}

.rc_wargame_section .labs_title {
    margin-bottom: 12px !important;
    letter-spacing: 2px;
    font-size: clamp(26px, 3vw, 34px);
}

.rc_wargame_section .labs_bracket_title::after,
.rc_wargame_section .section_title span::after {
    margin-top: 8px;
}

.rc_wargame_band {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--olive, #3B5323);
    padding: 24px 22px 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.rc_wg_concepts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.rc_wargame_band .rc_concept {
    background: #f8f6f1;
    border-left: 4px solid #c61732;
    padding: 14px 16px;
}

.rc_wargame_band .rc_concept h4 {
    margin: 0 0 6px;
    color: #1C1C1C;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rc_wargame_band .rc_concept p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.55;
    text-align: left !important;
}

/* Connected timeline */
.rc_wg_timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.rc_timeline_item {
    background: #f8f6f1;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--olive, #3B5323);
    padding: 12px 10px;
    text-align: center;
}

.rc_timeline_item:last-child {
    border-right: none;
}

.rc_timeline_item strong {
    display: block;
    margin-bottom: 3px;
    color: var(--olive, #3B5323);
    font-size: 13px;
    font-weight: 900;
}

.rc_timeline_item span {
    display: block;
    color: #666;
    font-size: 12px;
    line-height: 1.35;
}

.rc_india_gap {
    background: rgba(198, 23, 50, 0.06);
    border: 1px solid rgba(198, 23, 50, 0.22);
    padding: 14px 18px;
    text-align: center;
    margin-bottom: 16px;
}

.rc_india_gap h4 {
    margin: 0 0 4px;
    color: #c61732;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center !important;
}

.rc_india_gap p {
    margin: 0;
    color: #444;
    font-size: 14px;
    line-height: 1.5;
    text-align: center !important;
}

.rc_wg_label {
    margin: 0 0 8px;
    color: var(--olive, #3B5323);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center !important;
}

/* Compact outcome chips — one row */
.rc_wg_outcomes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.rc_wg_chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--olive, #3B5323);
    text-align: center;
    min-height: 78px;
}

.rc_wg_chip i {
    color: var(--olive, #3B5323);
    font-size: 18px;
}

.rc_wg_chip span {
    color: #1C1C1C;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.25;
}

.rc_wg_chip_accent {
    border-top-color: #c61732;
    background: rgba(198, 23, 50, 0.04);
}

.rc_wg_chip_accent i {
    color: #c61732;
}

/* Progress path */
.rc_wg_path {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.rc_wg_path_step {
    flex: 1 1 140px;
    max-width: 220px;
    background: #f8f6f1;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--olive, #3B5323);
    padding: 12px 14px;
    text-align: center;
}

.rc_wg_path_step span {
    display: block;
    margin-bottom: 2px;
    color: #c61732;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
}

.rc_wg_path_step strong {
    color: #1C1C1C;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rc_wg_path_arrow {
    display: flex;
    align-items: center;
    color: var(--olive, #3B5323);
    font-size: 18px;
    font-weight: 700;
    padding: 0 2px;
}

.rc_quote {
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center !important;
    color: #1C1C1C;
    font-size: 15px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.55;
}

@media (max-width: 991px) {
    .rc_wg_outcomes {
        grid-template-columns: repeat(3, 1fr);
    }

    .rc_wg_path_arrow {
        display: none;
    }
}

@media (max-width: 767px) {
    .rc_wg_concepts {
        grid-template-columns: 1fr;
    }

    .rc_wg_timeline {
        grid-template-columns: 1fr 1fr;
    }

    .rc_timeline_item:nth-child(2) {
        border-right: none;
    }

    .rc_timeline_item:nth-child(1),
    .rc_timeline_item:nth-child(2) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .rc_wg_outcomes {
        grid-template-columns: 1fr 1fr;
    }

    .rc_wg_chip_accent {
        grid-column: 1 / -1;
    }

    .rc_wg_path_step {
        max-width: none;
        flex: 1 1 100%;
    }
}

/* Capability cards */
.rc_cap_card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--olive, #3B5323);
    padding: 22px 18px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.rc_cap_card h3 {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--olive, #3B5323);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rc_cap_card ul {
    margin: 0;
    padding-left: 18px;
    color: #555;
}

.rc_cap_card li {
    margin-bottom: 6px;
    font-size: 14px;
}

/* ========== Clients logo wall ========== */
.rc_clients_section.labs_section {
    padding-top: 48px;
    padding-bottom: 48px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.rc_clients_lead {
    margin: 0 auto 22px;
    max-width: 640px;
    color: #555;
    font-size: 16px;
    line-height: 1.5;
    text-align: center !important;
}

.rc_logo_wall {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
    overflow: hidden;
}

.rc_logo_cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    padding: 14px 10px;
    background: #f8f6f1;
    text-align: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.rc_logo_cell:hover {
    background: #fff;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.rc_logo_cell img {
    max-width: 110px;
    max-height: 36px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: 0.25s ease;
}

.rc_logo_cell:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.rc_logo_name {
    color: #3B5323;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 1.3;
}

.rc_footnote {
    margin: 0;
    text-align: center !important;
    color: #777;
    font-size: 13px;
    line-height: 1.55;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {
    .rc_logo_wall {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 575px) {
    .rc_logo_wall {
        grid-template-columns: repeat(2, 1fr);
    }

    .rc_logo_cell {
        min-height: 68px;
    }

    .rc_clients_section.labs_section {
        padding-top: 36px;
        padding-bottom: 36px;
    }
}

/* Vision band — editorial split (replaces empty circle) */
.rc_vision_band.labs_section_olive {
    padding-top: 56px;
    padding-bottom: 56px;
    position: relative;
    overflow: hidden;
}

.rc_vision_band.labs_section_olive::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 12% 50%, rgba(195, 176, 145, 0.12) 0%, transparent 55%),
        linear-gradient(110deg, rgba(0, 0, 0, 0.18) 0%, transparent 48%);
    pointer-events: none;
}

.rc_vision_panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem 2.5rem;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
}

.rc_vision_copy .labs_subtitle {
    display: block;
    margin-bottom: 14px;
    color: var(--khaki, #C3B091);
}

.rc_vision_headline {
    margin: 0;
    color: #fff;
    font-size: clamp(1.75rem, 3.2vw, 2.55rem);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    max-width: 16ch;
}

.rc_vision_mission {
    position: relative;
    padding: 28px 28px 28px 32px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(195, 176, 145, 0.35);
    height: 100%;
    display: flex;
    align-items: center;
}

.rc_vision_mission::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 3px;
    background: var(--khaki, #C3B091);
}

.rc_vision_mission p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 600;
}

@media (max-width: 767px) {
    .rc_vision_band.labs_section_olive {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .rc_vision_panel {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .rc_vision_headline {
        max-width: none;
        font-size: 1.55rem;
    }

    .rc_vision_mission {
        padding: 22px 20px 22px 24px;
    }
}

/* Contact / CTA */
.rc_contact_card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 28px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.rc_contact_card h3 {
    margin: 0 0 16px;
    color: #1C1C1C;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rc_contact_card ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.rc_contact_card li {
    margin-bottom: 10px;
    color: #555;
    font-size: 15px;
}

.rc_contact_card a {
    color: var(--olive, #3B5323);
    text-decoration: none;
}

.rc_contact_card a:hover {
    text-decoration: underline;
}

.rc_contact_card i {
    width: 22px;
    color: #c61732;
}

.rc_qr_box {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 28px;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rc_qr_box .rc_linkedin_icon {
    width: 88px;
    height: 88px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: #0a66c2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.28);
}

.rc_qr_box p {
    margin: 0;
    color: #555;
    font-size: 14px;
}

.rc_cta_row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.rc_page .small-nav {
    padding-top: 16px;
}

@media (max-width: 767px) {
    .rc_page .labs_section {
        padding: 40px 0;
    }

    .rc_offer_grid .employment_card {
        min-height: 0;
    }

    .rc_why_media img {
        height: 200px;
    }
}
