html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Dynamic Flex Cards Container */
.argus-dfc-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    /* Default height if not set in Elementor */
    height: 500px;
    gap: 1px;
    background-color: #e3e3e394;
    /* Acts as the separator color */
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}


/* Individual Card Item */

.argus-dfc-item {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: flex 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    overflow: hidden;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    /* For tabindex */
}


/* Bottom shadow (Default - Red) */

.argus-dfc-item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(115, 17, 34, 0) 0%, rgba(115, 17, 34, 0) 55%, rgba(115, 17, 34, 0.95) 100%);
    opacity: 1;
    transition: opacity 1.2s ease;
    z-index: 1;
}


/* Bottom shadow (Hover - Black) */

.argus-dfc-item::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 75%, rgba(0, 0, 0, 1) 100%);
    opacity: 0;
    transition: opacity 1.2s ease;
    z-index: 1;
}


/* Content Box */

.argus-dfc-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    display: grid;
    grid-template-rows: min-content 0fr;
    transition: grid-template-rows 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}


/* Title Styling */

.argus-dfc-title {
    color: #fff;
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
    align-self: end;
}


/* Description Styling */

.argus-dfc-description {
    color: #f1f1f1;
    margin-top: 0;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0;
    min-height: 0;
    overflow: hidden;
    transition: opacity 0.8s ease, margin-top 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
}


/* Hover and Active State */

.argus-dfc-container:hover .argus-dfc-item {
    /* Keep un-hovered items closer to original size */
    flex: 1;
}

.argus-dfc-container .argus-dfc-item:hover,
.argus-dfc-container .argus-dfc-item.argus-dfc-active,
.argus-dfc-container .argus-dfc-item:focus {
    flex: 1.8;
    /* Medium stretch to prevent image blur/overstretching */
}


/* Apply hover shadow and hide default shadow */

.argus-dfc-item:hover::before,
.argus-dfc-item.argus-dfc-active::before,
.argus-dfc-item:focus::before {
    opacity: 0;
}

.argus-dfc-item:hover::after,
.argus-dfc-item.argus-dfc-active::after,
.argus-dfc-item:focus::after {
    opacity: 1;
}


/* Reveal Description Container */

.argus-dfc-item:hover .argus-dfc-content,
.argus-dfc-item.argus-dfc-active .argus-dfc-content,
.argus-dfc-item:focus .argus-dfc-content {
    grid-template-rows: min-content 1fr;
}


/* Reveal Description */

.argus-dfc-item:hover .argus-dfc-description,
.argus-dfc-item.argus-dfc-active .argus-dfc-description,
.argus-dfc-item:focus .argus-dfc-description {
    opacity: 1;
    margin-top: 10px;
    transition: opacity 1.2s ease 0.4s, margin-top 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}


/* Mobile Responsive */

@media (max-width: 1024px) {
    .argus-dfc-container {
        flex-direction: column;
        height: auto !important;
        /* Override Elementor's fixed height control */
        gap: 15px;
        background-color: transparent;
        padding: 15px;
    }

    .argus-dfc-item {
        flex: none;
        width: 100%;
        height: 220px;
        border-radius: 12px;
        border: 1px solid #333 !important;
        transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
        background-position: 10% center;
        background-size: cover;
    }

    .argus-dfc-container:hover .argus-dfc-item {
        flex: none;
    }

    .argus-dfc-item.argus-dfc-active,
    .argus-dfc-item:active {
        flex: none;
        transform: scale(0.98);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    }

    .argus-dfc-item::before {
        /* Stronger dark gradient on the left to ensure text readability */
        background: linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0.8) 45%, rgba(0, 0, 0, 0) 100%);
    }

    /* Keep gradient visible on hover */
    .argus-dfc-item:hover::before,
    .argus-dfc-item.argus-dfc-active::before,
    .argus-dfc-item:focus::before {
        opacity: 1;
    }

    .argus-dfc-item::after {
        display: none;
    }

    .argus-dfc-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0 25px;
    }

    .argus-dfc-title {
        font-family: 'Playfair Display', serif;
        font-size: 26px;
        font-weight: normal;
        white-space: normal;
        align-self: auto;
    }

    /* Golden separator line removed as per request */
    .argus-dfc-description {
        opacity: 1;
        margin-top: 15px;
        font-size: 13px;
        color: #ddd;
        max-width: 55%;
        white-space: normal;
    }

    .argus-dfc-item:hover .argus-dfc-description,
    .argus-dfc-item.argus-dfc-active .argus-dfc-description,
    .argus-dfc-item:focus .argus-dfc-description {
        margin-top: 15px;
    }
}


/* =========================================
   Team Accordion Widget
   ========================================= */

.argus-team-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 570px;
    gap: 15px;
    background-color: transparent;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.argus-team-item {
    flex: 1;
    position: relative;
    transition: flex 1.8s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    overflow: hidden;
    outline: none;
    border-radius: 8px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.argus-team-item.argus-team-active {
    flex: 3;
}

.argus-team-item-bg-main {
    position: absolute;
    top: 0;
    bottom: 0;
    left: auto;
    right: 0;
    width: 60%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
}

.argus-team-item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, #731122 0%, #731122 40%, transparent 80%);
    z-index: 1;
    opacity: 1;
    /* Fully opaque so the left side is purely solid color */
    transition: opacity 1.8s ease;
}

.argus-team-item::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #731122;
    z-index: 1;
    opacity: 0.7;
    transition: opacity 1.8s ease;
}

.argus-team-item.argus-team-active::after {
    opacity: 0;
}

.argus-team-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.argus-team-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.argus-team-name {
    color: #fff;
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    white-space: normal;
    word-break: break-word;
}

.argus-team-role {
    color: #ffd8d8;
    margin: 5px 0 0 0;
    font-size: 14px;
    font-weight: 400;
    white-space: normal;
    word-break: break-word;
}

.argus-team-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f3d4c8;
    color: #731122;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    line-height: 1;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform 1.0s ease;
    cursor: pointer;
}

.argus-team-toggle::before {
    content: '+';
}

.argus-team-item.argus-team-active .argus-team-toggle {
    opacity: 0;
}

.argus-team-quote-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 1.8s cubic-bezier(0.25, 1, 0.5, 1);
    align-items: end;
}

.argus-team-item.argus-team-active .argus-team-quote-wrapper {
    grid-template-rows: 1fr;
}

.argus-team-quote-inner {
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    flex-direction: column;
}

.argus-team-item.argus-team-active .argus-team-quote-inner {
    opacity: 1;
    transition: opacity 1.5s ease 0.3s;
}

.argus-team-quote-icon {
    font-size: 80px;
    color: #fff;
    line-height: 1;
    font-family: serif;
    font-weight: 700;
    margin-bottom: -15px;
}

.argus-team-quote-text {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    max-width: 45%;
    white-space: normal;
}

.argus-team-quote-text p {
    margin-top: 0;
    margin-bottom: 15px;
}

.argus-team-quote-text p:last-child {
    margin-bottom: 0;
}

.argus-team-divider {
    width: 60px;
    height: 4px;
    background-color: #fff;
    margin-top: 25px;
    margin-bottom: 10px;
}

@media(max-width:1250px) {
    .argus-team-container {
        height: 720px;
    }
}

@media (max-width: 768px) {
    .argus-team-container {
        flex-direction: column;
        height: auto;
    }

    .argus-team-item {
        flex: none;
        height: auto;
    }

    .argus-team-content {
        position: relative;
        min-height: 100px;
        padding: 20px;
    }

    .argus-team-quote-wrapper {
        align-items: start;
        /* Prevents text from falling top-to-down during vertical expansion */
    }

    .argus-team-quote-inner {
        transform: none;
        transition: none;
    }

    .argus-team-item.argus-team-active .argus-team-quote-inner {
        transform: none;
        transition: none;
    }

    .argus-team-quote-text {
        max-width: 100%;
    }

    .argus-team-item-bg-main {
        width: 60%;
        background-size: cover;
        background-position: center 15%;
        /* Keep face in view */
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
        mask-image: linear-gradient(to right, transparent 0%, black 35%);
    }

    .argus-team-item::before {
        background: linear-gradient(to right, #731122 0%, #731122 40%, transparent 80%) !important;
    }
}


}

.argus-team-content {
    position: relative;
    min-height: 100px;
    padding: 20px;
}

.argus-team-quote-wrapper {
    align-items: start;
    /* Prevents text from falling top-to-down during vertical expansion */
}

.argus-team-quote-inner {
    transform: none;
    transition: none;
}

.argus-team-item.argus-team-active .argus-team-quote-inner {
    transform: none;
    transition: none;
}

.argus-team-quote-text {
    max-width: 100%;
}

.argus-team-item-bg-main {
    width: 60%;
    background-size: cover;
    background-position: center 15%;
    /* Keep face in view */

    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
    mask-image: linear-gradient(to right, transparent 0%, black 35%);
}

.argus-team-item::before {
    background: linear-gradient(to right, #731122 0%, #731122 40%, transparent 80%) !important;
}

}

}

.argus-team-content {
    position: relative;
    min-height: 100px;
    padding: 20px;
}

.argus-team-quote-wrapper {
    align-items: start;
    /* Prevents text from falling top-to-down during vertical expansion */
}

.argus-team-quote-inner {
    transform: none;
    transition: none;
}

.argus-team-item.argus-team-active .argus-team-quote-inner {
    transform: none;
    transition: none;
}

.argus-team-quote-text {
    max-width: 100%;
}

.argus-team-item-bg-main {
    width: 60%;
    background-size: cover;
    background-position: center 15%;
    /* Keep face in view */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
    mask-image: linear-gradient(to right, transparent 0%, black 35%);
}

.argus-team-item::before {
    background: linear-gradient(to right, #731122 0%, #731122 40%, transparent 80%) !important;
}

}