/* ==========================================================================
   PART B: Content Moderation Page Wrapper & Right Column (1440px x 924px)
   ========================================================================== */

.cm-wrapper {
    width: 100%;
    overflow-x: hidden;
}

/* Outer Wrapper Including Header (1440px x 924px, padding: 12px, gap: 12px) */
.cm-hero-wrapper {
    width: 100%;
    max-width: 100%;;
    min-height: 924px;
    padding: 12px;
    gap: 12px;
    margin: 0 auto;
    background-color: #080711;
    background-image: linear-gradient(360deg, #7D69FC 0%, rgba(45, 36, 102, 0.25) 62.02%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Ensure header sits cleanly at the top of the flex stack inside cm-hero-wrapper */
.cm-hero-wrapper .site-header {
    width: 100%;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    background: transparent;
}

/* Right Column (702px x 768px, padding: 32px, border-radius: 16px) */
.cm-hero-right-col {
    width: 702px;
    min-width: 702px;
    height: 768px;
    padding: 32px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
}

/* Screen-Blend Video Layer (No z-index trap so mix-blend-mode blends with parent gradient) */
.cm-video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: transparent !important;
}

.cm-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: screen;
    display: block;
    pointer-events: none;
}

/* ==========================================================================
   Hatched Bounding Boxes & Corner Crosshairs (+)
   ========================================================================== */

.cm-bbox {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    pointer-events: none;
    box-sizing: border-box;
    border: 1px solid rgba(253, 255, 246, 0.35);
    background-image: repeating-linear-gradient(-45deg,
            rgba(253, 255, 246, 0.08) 0px,
            rgba(253, 255, 246, 0.08) 1px,
            transparent 1px,
            transparent 6px);
    background-color: rgba(253, 255, 246, 0.02);
}

/* Top Box over Video (Frame 2147230827: 226px x 145px, left: 314px, top: 237px) */
.cm-bbox-top {
    width: 226px;
    height: 145px;
    left: 269px;
    top: 191px;
    z-index: 3;
}

/* Bottom Box over Video (Frame 2147230828: 300px x 176px, left: 282px, top: 526px) */
.cm-bbox-bottom {
    width: 300px;
    height: 176px;
    left: 238px;
    top: 481px;
    z-index: 4;
}

/* Lime-Green Corner Crosshairs (+) */
.cm-crosshair {
    position: absolute;
    width: 9px;
    height: 9px;
    pointer-events: none;
}

.cm-crosshair::before,
.cm-crosshair::after {
    content: '';
    position: absolute;
    background-color: #CAED57;
}

.cm-crosshair::before {
    width: 9px;
    height: 1px;
    top: 4px;
    left: 0;
}

.cm-crosshair::after {
    width: 1px;
    height: 9px;
    top: 0;
    left: 4px;
}

.cm-crosshair.tl {
    top: -5px;
    left: -5px;
}

.cm-crosshair.tr {
    top: -5px;
    right: -5px;
}

.cm-crosshair.bl {
    bottom: -5px;
    left: -5px;
}

.cm-crosshair.br {
    bottom: -5px;
    right: -5px;
}





/* ==========================================================================
   Hotspots: "Real-Time Protection" & "Policy-Driven AI"
   ========================================================================== */

/* Shared Badge Pill Styling */
.cm-hotspot-badge {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    height: 48px;
    background-color: #F3F0E8;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    pointer-events: none;
}

.cm-badge-text-area {
    flex: 1;
    height: 48px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F3F0E8;
    box-sizing: border-box;
}

.cm-badge-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 110%;
    color: #111111;
    white-space: nowrap;
}

.cm-badge-icon-area {
    width: 48px;
    min-width: 48px;
    height: 48px;
    background-color: #CAED57;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 1. Real-Time Protection Pointer (34.01px x 34.01px, left: 292px, top: 203px, z-index: 1) */
.cm-pointer-realtime {
    position: absolute;
    width: 34.01px;
    height: 34.01px;
    left: 230px;
    top: 159px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 10px;
    isolation: isolate;
    z-index: 1;
    pointer-events: none;
}

/* 2. Real-Time Protection Badge (Frame 2147230494: 225px x 48px, left: 67px, top: 155px, z-index: 2) */
.cm-badge-realtime {
    position: absolute;
    width: 225px;
    height: 48px;
    left: 5px;
    top: 111px;
    z-index: 2;
}

/* 5. Policy-Driven AI Group (Group 2147224297: 225.01px x 82.01px, left: 55px, top: 432px, z-index: 5) */
.cm-hotspot-policy-group {
    position: absolute;
    width: 225.01px;
    height: 82.01px;
    left: 5px;
    top: 410px;
    z-index: 5;
    pointer-events: none;
}

/* Badge inside Policy Group (top-left of group) */
.cm-badge-policy {
    position: absolute;
    top: 0;
    left: 0;
    width: 191px;
    height: 48px;
}

/* Hexagon Pointer inside Policy Group (bottom-right of group, 34.01px x 34.01px) */
.cm-pointer-policy {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 34.01px;
    height: 34.01px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Fallback */
@media (max-width: 1360px) {

    .cm-hero-wrapper,
    .ow-hero-section,
    .ow-hero-container {
        height: auto;
    }

    .ow-hero-container {
        flex-direction: column;
        align-items: center;
    }

    .ow-hero-left-col {
        width: 100%;
        min-width: 0;
        height: auto;
    }
}

/* Content Moderation hero right column: Tablet (768px design).
   The shared left column (.ow-hero-*) is styled in style.css. */
@media (max-width: 1023px) {

    .cm-hero-wrapper {
        min-height: 0;
        padding: 0 12px 12px;
    }

    .cm-hero-section {
        padding: 12px 0 0;
    }

    .cm-hero-right-col {
        width: 100%;
        min-width: 0;
        height: 396px;
        padding: 0;
        overflow: hidden;
    }

    /* Hotspot coordinates taken from the 768px design (744px-wide column) */
    .cm-badge-realtime {
        left: 51px;
        top: 13px;
    }

    .cm-pointer-realtime {
        left: 286px;
        top: 11px;
    }

    .cm-bbox-top {
        width: 189px;
        height: 123px;
        left: 328px;
        top: 22px;
    }

    .cm-bbox-bottom {
        width: 226px;
        height: 145px;
        left: 273px;
        top: 201px;
    }

    .cm-hotspot-policy-group {
        left: 500px;
        top: 207px;
    }
}

/* Mobile (390px design): taller band, hotspots scaled down and re-placed */
@media (max-width: 767px) {

    .cm-hero-section {
        padding: 12px 0;
    }

    .cm-hero-right-col {
        height: 552px;
    }

    .cm-badge-realtime {
        left: 12px;
        top: 56px;
        transform: scale(0.8);
        transform-origin: left top;
    }

    .cm-pointer-realtime {
        left: 192px;
        top: 94px;
    }

    .cm-bbox-top {
        width: 150px;
        height: 98px;
        left: 200px;
        top: 126px;
    }

    .cm-bbox-bottom {
        width: 190px;
        height: 120px;
        left: 150px;
        top: 360px;
    }

    .cm-hotspot-policy-group {
        left: 16px;
        top: 340px;
        transform: scale(0.85);
        transform-origin: left top;
    }
}


/* ==========================================================================
   Content Moderation Types Carousel Section (1440px x 1058px)
   ========================================================================== */

.cm-types-section {
    width: 100%;
    max-width: 100%;;
    height: 1058px;
    padding: 96px 48px;
    background-color: #FAFDF3;
    color: #111111;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.cm-types-inner-wrapper {
    width: 1344px;
    max-width: 100%;
    height: 866px;
    /* 770px cards + 48px gap + 48px bottom nav */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    box-sizing: border-box;
}

/* Inner Content Section (1344px x 770px, gap: 24px) */
.cm-types-track-wrap {
    width: 1344px;
    max-width: 100%;
    height: 770px;
    overflow: visible;
    box-sizing: border-box;
}

.cm-types-track {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    height: 770px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cm-types-track::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Individual Card (596px x 770px, gap: 24px) */
.cm-type-card {
    width: 596px;
    min-width: 596px;
    height: 770px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

/* Card Image Box (596px x 424px, radius: 4px, padding: 0 32px) */
.cm-type-card-img-box {
    width: 596px;
    height: 424px;
    padding: 0 32px;
    border-radius: 4px;
    background-color: #0D0D0D;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

.cm-type-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* If your exported PNG already includes the dark grid backdrop, let it fill edge-to-edge */
.cm-type-card-img-box:has(.cm-type-card-img) {
    padding: 0;
}

/* Card Text & Points Body (596px x 246px Hug) */
.cm-type-card-body {
    width: 596px;
    min-height: 246px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

.cm-type-card-num {
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 12px;
    line-height: 120%;
    color: #7D69FC;
}

.cm-type-card-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cm-type-copy-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Main Title Typography (Aspekta 36px, 110%, -2%) */
.cm-type-main-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #111111;
    margin: 0;
}

/* Main Description Typography (Inter 16px, line-height 24px) */
.cm-type-main-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: rgba(17, 17, 17, 0.72);
    margin: 0;
}

/* Points Group */
.cm-type-points-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Points Title Typography (Aspekta 20px, 110%, 0%) */
.cm-type-points-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 110%;
    letter-spacing: 0%;
    color: #111111;
    margin: 0;
}

.cm-type-points-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cm-type-point-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.cm-type-point-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Points Typography (Inter 16px, 150%) */
.cm-type-point-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    color: rgba(17, 17, 17, 0.75);
}

/* ==========================================================================
   Bottom Navigation Bar (1344px x 48px)
   ========================================================================== */

.cm-types-bottom-nav {
    width: 1344px;
    max-width: 100%;
    height: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Left Nav Pager Box (40px x 30px, gap: 4px, radius: 8px, border: 1px, padding: 6px) */
.cm-left-pager-box {
    width: 40px;
    height: 30px;
    padding: 6px;
    gap: 4px;
    border-radius: 8px;
    border: 1px solid #111111;
    background-color: #111111;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.cm-pager-bar {
    width: 5px;
    height: 16px;
    border-radius: 2px;
    background-color: rgba(253, 255, 246, 0.3);
    transition: background-color 0.25s ease;
}

.cm-pager-bar.is-active {
    background-color: #FDFFF6;
}

/* Right Arrow Marks Container (100px x 48px, gap: 4px) */
.cm-right-arrows-box {
    width: 100px;
    height: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    box-sizing: border-box;
}

.cm-nav-arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background-color: #111111;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cm-nav-arrow-btn:hover {
    background-color: #262626;
    transform: scale(1.04);
}

/* Responsive Fallback */
@media (max-width: 1400px) {

    .cm-types-section,
    .cm-types-inner-wrapper,
    .cm-types-track-wrap,
    .cm-types-track {
        height: auto;
    }
}

/* Content Moderation types carousel: Tablet (768px design).
   The .cm-type* classes are only used by content-moderation/4-moderation-types.php. */
@media (max-width: 1023px) {

    .cm-types-section {
        padding: 36px;
        background-color: #FDFFF6;
    }

    .cm-types-inner-wrapper {
        justify-content: flex-start;
        gap: 48px;
    }

    .cm-types-track {
        justify-content: flex-start;
        gap: 24px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .cm-type-card {
        width: min(500px, calc(100vw - 72px));
        min-width: min(500px, calc(100vw - 72px));
        height: auto;
        scroll-snap-align: start;
    }

    .cm-type-card-img-box {
        width: 100%;
        height: 360px;
    }

    .cm-type-card-body {
        width: 100%;
    }

    .cm-types-bottom-nav {
        width: 100%;
    }
}

/* Mobile (390px design) */
@media (max-width: 767px) {

    .cm-types-section {
        padding: 36px 16px;
    }

    .cm-type-card {
        width: min(358px, calc(100vw - 32px));
        min-width: min(358px, calc(100vw - 32px));
    }

    .cm-type-main-title {
        font-size: 24px;
        line-height: 26.4px;
        letter-spacing: -0.48px;
    }
}


/* ==========================================================================
   What Our Content Moderation Services Defend Against (1440px x 1279px)
   ========================================================================== */

.defend-section {
    width: 100%;
    max-width: 100%;;
    height: 1279px;
    padding: 116px 120px;
    /* Centers the 1200px x 1047px content block inside 1440px x 1279px */
    background-color: #DBD5FF;
    /* Lavender background */
    color: #111111;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
}

.defend-container {
    width: 1200px;
    max-width: 1200px;
    height: 1047px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    box-sizing: border-box;
}

/* Title Typography (Aspekta 48px, line-height 110%, letter-spacing -2%) */
.defend-main-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #111111;
    margin: 0;
}

/* 3x3 Grid Container (1200px x 840px, 24px gap) */
.defend-grid {
    display: grid;
    grid-template-columns: repeat(3, 384px);
    grid-template-rows: repeat(3, 264px);
    gap: 24px;
    width: 1200px;
    height: 840px;
    box-sizing: border-box;
}

/* Individual Card (384px x 264px with Top-Left Chamfered Cut) */
.defend-card {
    width: 384px;
    height: 264px;
    background-color: #111111;
    /* Dark card background */
    border-radius: 4px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;

    /* Top-left chamfered corner cut (24px cut) */
    clip-path: polygon(24px 0,
            100% 0,
            100% 100%,
            0 100%,
            0 24px);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.defend-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.defend-card-num {
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 12px;
    line-height: 120%;
    color: #7D69FC;
    /* Purple indicator accent */
}

/* Card Content (336px x 139px, gap: 12px) */
.defend-card-content {
    width: 336px;
    height: 139px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
}

/* Card Title Typography (Aspekta 28px, line-height 110%, -2%) */
.defend-card-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #FDFFF6;
    margin: 0;
}

/* Card Description Typography (Inter 16px, line-height 150%) */
.defend-card-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: rgba(253, 255, 246, 0.7);
    margin: 0;
}

/* Responsive Fallback */
@media (max-width: 1260px) {

    .defend-section,
    .defend-container,
    .defend-grid {
        width: 100%;
        height: auto;
    }

    .defend-section {
        padding: 64px 24px;
    }

    .defend-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 384px));
        grid-template-rows: auto;
        justify-content: center;
    }

    .defend-card {
        width: 100%;
        height: auto;
        min-height: 264px;
    }
}

/* Carousel arrows: hidden on desktop */
.defend-arrows {
    display: none;
}

/* "Defend against" cards: Tablet / Mobile carousel, one card at a time.
   The .defend-* classes are only used by content-moderation/5-defence.php. */
@media (max-width: 1023px) {

    .defend-section {
        padding: 48px;
    }

    .defend-container {
        height: auto;
        gap: 48px;
    }

    .defend-main-title {
        font-size: 48px;
        line-height: 52.8px;
        letter-spacing: -0.96px;
    }

    .defend-main-title br {
        display: none;
    }

    .defend-grid {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 24px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .defend-grid::-webkit-scrollbar {
        display: none;
    }

    .defend-card {
        flex: 0 0 calc((100% - 24px) / 2);
        width: calc((100% - 24px) / 2);
        min-height: 352px;
        padding: 4px 32px 32px;
        scroll-snap-align: start;
    }

    .defend-card:hover {
        transform: none;
        box-shadow: none;
    }

    .defend-card-num {
        font-size: 14px;
        line-height: 120%;
        color: #9180FF;
    }

    .defend-card-content {
        width: 100%;
        height: auto;
        gap: 12px;
    }

    .defend-card-title {
        font-size: 32px;
        line-height: 35.2px;
        letter-spacing: -0.64px;
        color: #FFFFFF;
    }

    .defend-card-desc {
        font-size: 16px;
        line-height: 24px;
        color: rgba(255, 255, 255, 0.75);
    }

    .defend-arrows {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
    }

    .defend-arrow-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 64px;
        height: 64px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background-color: #111111;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .defend-arrow-btn svg {
        width: 28px;
        height: 28px;
    }

    .defend-arrow-btn:hover {
        background-color: #292929;
    }

    .defend-arrow-btn:active {
        transform: scale(0.96);
    }
}

/* Mobile (390px design) */
@media (max-width: 767px) {

    .defend-section {
        padding: 24px 16px;
    }

    .defend-container {
        gap: 24px;
    }

    .defend-main-title {
        font-size: 36px;
        line-height: 39.6px;
        letter-spacing: -0.72px;
    }

    .defend-card {
        flex: 0 0 100%;
        width: 100%;
        min-height: 244px;
        padding: 4px 24px 24px;
    }

    .defend-card-num {
        font-size: 12px;
        line-height: 120%;
    }

    .defend-card-content {
        gap: 12px;
    }

    .defend-card-title {
        font-size: 28px;
        line-height: 1.1;
        letter-spacing: -0.56px;
    }

    .defend-card-desc {
        font-size: 16px;
        line-height: 1.5;
    }

    .defend-arrow-btn {
        width: 48px;
        height: 48px;
    }

    .defend-arrow-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* ==========================================================================
   Our Content Moderation Services Section (1440px x 864px)
   ========================================================================== */

.cm-support-section {
    width: 100%;
    max-width: 100%;;
    height: 864px;
    padding: 96px 48px;
    background-color: #FAFDF3;
    /* Light cream canvas background matching page theme */
    color: #111111;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
}

.cm-support-container {
    width: 1344px;
    max-width: 1344px;
    height: 672px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 48px;
    box-sizing: border-box;
}

/* Left Image Column (648px x 672px, padding: 0 32px) */
.cm-support-image-col {
    width: 648px;
    min-width: 648px;
    height: 672px;
    padding: 0 32px;
    background-color: transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.cm-support-image-frame {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cm-support-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* Right Content Column (648px x 672px, radius: 16px, padding: 32px) */
.cm-support-right-col {
    width: 648px;
    min-width: 648px;
    height: 672px;
    padding: 32px;
    background-color: transparent;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Top Title Layout (564px x 106px) */
.cm-support-title-box {
    width: 564px;
    max-width: 100%;
    height: 106px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

.cm-support-main-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #111111;
    margin: 0;
}

/* Bottom Text Layout (564px x 249px) */
.cm-support-bottom-box {
    width: 564px;
    max-width: 100%;
    min-height: 249px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    box-sizing: border-box;
}

.cm-support-sub-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 110%;
    letter-spacing: 0%;
    color: #111111;
    margin: 0;
}

.cm-support-points-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cm-support-point-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.cm-support-point-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.cm-support-point-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    color: rgba(17, 17, 17, 0.75);
}

/* Responsive Fallback */
@media (max-width: 1360px) {

    .cm-support-section,
    .cm-support-container {
        height: auto;
    }

    .cm-support-container {
        flex-direction: column;
        align-items: center;
    }

    .cm-support-image-col,
    .cm-support-right-col {
        width: 100%;
        min-width: 0;
        height: auto;
    }
}

/* Content Moderation services: Tablet (768px design).
   The .cm-support-* classes are only used by content-moderation/3-services.php.
   The design puts the text above the image, so the image column is ordered after the text. */
@media (max-width: 1023px) {

    .cm-support-section {
        padding: 36px;
        background-color: #FDFFF6;
    }

    .cm-support-container {
        width: 100%;
        max-width: 100%;
        gap: 0;
        align-items: stretch;
    }

    .cm-support-right-col {
        order: 1;
        padding: 36px;
        gap: 36px;
    }

    .cm-support-image-col {
        order: 2;
        padding: 0;
        height: 540px;
    }

    .cm-support-title-box,
    .cm-support-bottom-box {
        width: 100%;
        max-width: 564px;
        height: auto;
        min-height: 0;
    }

    .cm-support-main-title {
        font-size: 48px;
        line-height: 52.8px;
        letter-spacing: -0.96px;
    }

    .cm-support-main-title br {
        display: none;
    }

    .cm-support-bottom-box {
        gap: 36px;
    }

    .cm-support-sub-title {
        font-size: 28px;
        line-height: 30.8px;
    }

    .cm-support-points-list {
        gap: 36px;
    }

    .cm-support-point-item {
        gap: 16px;
    }

    .cm-support-point-text {
        color: rgba(17, 17, 17, 0.75);
    }
}

/* Mobile (390px design) */
@media (max-width: 767px) {

    .cm-support-section {
        padding: 36px 16px;
    }

    .cm-support-container {
        gap: 24px;
    }

    .cm-support-right-col {
        padding: 0;
        gap: 24px;
    }

    .cm-support-bottom-box {
        gap: 24px;
    }

    .cm-support-main-title {
        font-size: 36px;
        line-height: 39.6px;
        letter-spacing: -0.72px;
    }

    .cm-support-sub-title {
        font-size: 24px;
        line-height: 26.4px;
    }

    .cm-support-points-list {
        gap: 24px;
    }

    .cm-support-image-col {
        height: auto;
        aspect-ratio: 358 / 371;
    }
}


/* ==========================================================================
   Inside Our Content Moderation Process Section (1440px x 1614px)
   ========================================================================== */

.mod-process-section {
    width: 100%;
    max-width: 100%;;
    height: 1614px;
    padding: 96px 48px;
    background-color: #FAFDF3;
    /* Light canvas background matching preceding sections */
    color: #111111;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
}

.mod-process-container {
    width: 1200px;
    max-width: 1200px;
    height: 1422px;
    /* Total height including 64px header gap */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 64px;
    box-sizing: border-box;
}

/* Header Group */
.mod-process-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    width: 100%;
}

.mod-process-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #111111;
    margin: 0;
}

.mod-process-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #555555;
    margin: 0;
}

/* 2x2 Cards Grid Container (1200px x 1216px) */
.mod-process-grid {
    display: grid;
    grid-template-columns: repeat(2, 588px);
    grid-template-rows: repeat(2, 596px);
    gap: 24px;
    width: 1200px;
    height: 1216px;
    box-sizing: border-box;
}

/* Individual Card (588px x 596px, Black Background, White Text) */
.mod-process-card {
    width: 588px;
    height: 596px;
    background-color: #0B0914;
    /* Solid dark/black card base */
    color: #FDFFF6;
    border-radius: 4px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;

    /* Custom borders */
    border-top: 2px solid rgba(253, 255, 246, 0.15);
    border-right: 2px solid rgba(253, 255, 246, 0.15);
    border-bottom: 2px solid rgba(253, 255, 246, 0.15);
    border-left: 1px solid rgba(253, 255, 246, 0.15);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 69.12px x 69.12px SVG Grid Lines Overlay */
.mod-card-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 2px, transparent 2px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 2px, transparent 2px);
    background-size: 69.12px 69.12px;
    pointer-events: none;
    z-index: 1;
}

/* Top Content Area (Title layout 492px x 80px) */
.mod-card-top-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    max-width: 492px;
}

.mod-card-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #FDFFF6;
    margin: 0;
    width: 492px;
    min-height: 80px;
}

/* Button Wrapper Container (4px gap, side-by-side) */
.mod-card-btn-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    height: 48px;
}

/* Left Rectangle Button ("LEARN MORE") */
.mod-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 20px;
    background-color: #2E2E2E;
    /* border: 1px solid rgba(253, 255, 246, 0.15); */
    border-radius: 4px;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mod-pill-btn:hover {
    background-color: #262626;
    border-color: rgba(253, 255, 246, 0.3);
}

.mod-btn-text {
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0.02em;
    color: #FDFFF6;
    text-transform: uppercase;
    font-style: Medium;
    leading-trim: NONE;
    letter-spacing: 0%;

}

/* Right Circular Arrow Button (border-radius: 9999px) */
.mod-arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #2E2E2E;
    /* border: 1px solid rgba(253, 255, 246, 0.15); */
    border-radius: 9999px;
    /* Perfect round circle */
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mod-arrow-btn:hover {
    background-color: #262626;
    border-color: rgba(253, 255, 246, 0.3);
    transform: translateX(3px);
}

.mod-btn-text {
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 12px;
    line-height: 120%;
    letter-spacing: 0.02em;
    color: #FDFFF6;
    text-transform: uppercase;
}

.mod-btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.mod-card-btn:hover .mod-btn-arrow {
    transform: translateX(3px);
}

/* Bottom-Left Illustration PNG Container (420px x 426px) */
.mod-card-img-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 420px;
    height: 426px;
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    bottom: -5px;
    left: 165px;
}

.mod-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom left;
    display: block;
}

/* Responsive Fallback */
@media (max-width: 1260px) {

    .mod-process-section,
    .mod-process-container,
    .mod-process-grid {
        width: 100%;
        height: auto;
    }

    .mod-process-section {
        padding: 64px 24px;
    }

    .mod-process-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        justify-content: center;
    }

    .mod-process-card {
        width: 100%;
        height: auto;
        min-height: 596px;
    }
}

/* Inside our process: Tablet (768px design). All four cards stay visible, stacked as rows.
   The .mod-* classes are only used by content-moderation/6-inside.php. */
@media (max-width: 1023px) {

    .mod-process-section {
        padding: 36px;
        background-color: #FDFFF6;
    }

    .mod-process-container {
        width: 100%;
        max-width: 100%;
        height: auto;
        gap: 48px;
    }

    .mod-process-header {
        max-width: 564px;
        margin: 0 auto;
        gap: 24px;
    }

    .mod-process-title {
        font-size: 36px;
        line-height: 39.6px;
        letter-spacing: -0.72px;
    }

    .mod-process-desc {
        color: rgba(17, 17, 17, 0.75);
    }

    .mod-process-grid {
        gap: 24px;
    }

    .mod-process-card {
        min-height: 524px;
        padding: 36px;
    }

    .mod-card-top-content {
        max-width: none;
        gap: 36px;
    }

    .mod-card-title {
        width: 100%;
        min-height: 0;
    }

    .mod-card-img-wrap {
        left: auto;
        right: 0;
    }
}

/* Mobile (390px design) */
@media (max-width: 767px) {

    .mod-process-section {
        padding: 24px 16px;
    }

    .mod-process-container {
        gap: 24px;
    }

    .mod-process-header {
        gap: 16px;
    }

    .mod-process-card {
        min-height: 474px;
        padding: 28px;
    }

    .mod-card-top-content {
        gap: 36px;
    }

    .mod-card-title {
        font-size: 28px;
        line-height: 30.8px;
        letter-spacing: -0.56px;
    }

    .mod-card-img-wrap {
        width: 100%;
        max-width: 358px;
        height: 60%;
        right: 0;
    }
}