.ard-partnership-section {
    /* Widget-scoped custom properties */
    --ard-partnership-gold: #cca97b;
    --ard-partnership-gold-dark: #b08d5f;
    --ard-partnership-teal-dark: #10505a;
    --ard-partnership-teal-deep: #0a353c;
    --ard-partnership-bg-start: #161513;
    --ard-partnership-bg-mid: #10505a;
    --ard-partnership-bg-end: #0a353c;
    --ard-partnership-text-white: #ffffff;
    --ard-partnership-text-gray: #e5e7eb;

    /* CSS isolation */
    isolation: isolate;
    
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--ard-partnership-bg-start) 0%, var(--ard-partnership-bg-mid) 60%, var(--ard-partnership-bg-end) 100%);
    font-family: 'Manrope', sans-serif;
    color: var(--ard-partnership-text-white);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Background Decor */
.ard-partnership-bg-decor {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.ard-partnership-bg-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--ard-partnership-bg-start), transparent);
    z-index: 0;
    pointer-events: none;
}

.ard-partnership-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* ROW 1 */
.ard-partnership-row-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 1024px) {
    .ard-partnership-row-1 {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

/* Text Column */
.ard-partnership-text-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    opacity: 0; /* JS will handle this */
    transform: translateX(-100px); /* JS will handle this */
    will-change: transform, opacity;
}

/* Removed .ard-animate rule for text-col as JS handles scrubbing */

.ard-partnership-tag-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ard-partnership-tag-line {
    height: 1px;
    width: 32px;
    background-color: var(--ard-partnership-gold);
}

.ard-partnership-tag {
    color: var(--ard-partnership-gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ard-partnership-heading {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--ard-partnership-text-white);
    margin: 0;
}

@media (min-width: 768px) {
    .ard-partnership-heading { font-size: 64px; }
}

.ard-partnership-x {
    color: var(--ard-partnership-gold);
    font-weight: 300;
}

.ard-partnership-subheading {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    color: #e5e7eb;
    max-width: 600px;
    margin: 0;
}

@media (min-width: 768px) {
    .ard-partnership-subheading { font-size: 24px; }
}

.ard-partnership-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #9ca3af;
    max-width: 500px;
    border-left: 2px solid rgba(255,255,255,0.1);
    padding-left: 24px;
    margin: 0;
}

@media (min-width: 768px) {
    .ard-partnership-desc { font-size: 18px; }
}

.ard-partnership-cta-wrapper {
    padding-top: 16px;
}

.ard-partnership-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ard-partnership-text-white);
    text-decoration: none;
    border-bottom: 1px solid var(--ard-partnership-gold);
    padding-bottom: 4px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.ard-partnership-cta:hover {
    color: var(--ard-partnership-gold);
}

.ard-partnership-cta-text {
    font-weight: 500;
}

.ard-partnership-cta-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.ard-partnership-cta:hover .ard-partnership-cta-icon {
    transform: translateX(4px);
}

/* Visual Column */
.ard-partnership-visual-col {
    opacity: 0; /* JS will handle this */
    transform: translateX(100px) scale(0.95); /* JS will handle this */
    will-change: transform, opacity;
}

/* Removed .ard-animate rule for visual-col as JS handles scrubbing */

.ard-partnership-visual-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

/* Image-only visual card (requested) */
.ard-partnership-visual-card.ard-partnership-visual-card--image {
    padding: 0;
}

.ard-partnership-visual-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 16px;
}

/* Video + overlay visual card */
.ard-partnership-visual-card.ard-partnership-visual-card--video {
    position: relative;
}

.ard-partnership-visual-video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 16px;
    vertical-align: middle;
}

.ard-partnership-visual-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    border-radius: 16px;
    z-index: 1;
}

.ard-partnership-map-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    border-radius: 16px;
    overflow: hidden;
}

.ard-partnership-map-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.25);
}

.ard-partnership-logos-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    max-width: 400px;
}

@media (min-width: 768px) {
    .ard-partnership-logos-wrapper {
        flex-direction: row;
        gap: 64px;
    }
}

.ard-partnership-logo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ard-partnership-logo-group:hover {
    transform: scale(1.05);
}

.ard-partnership-logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .ard-partnership-logo-circle {
        width: 96px;
        height: 96px;
    }
}

.ard-logo-bg {
    background-color: #ffffff;
    color: #161513;
}

.ruda-logo-bg {
    background-color: #10505a;
    color: #ffffff;
    border: 1px solid rgba(204, 169, 123, 0.3);
}

.ard-partnership-logo-circle i,
.ard-partnership-logo-circle svg {
    font-size: 36px;
    width: 36px;
    height: 36px;
}

.ard-partnership-logo-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--ard-partnership-text-white);
    margin-top: 8px;
}

.ard-partnership-connector {
    display: none;
    flex: 1;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

@media (min-width: 768px) {
    .ard-partnership-connector { display: flex; }
}

.ard-partnership-draw-line {
    width: 100%;
    height: 48px;
}

.ard-partnership-draw-line path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s ease-out;
}

.ard/* Transition removed for JS scrubbing */
}

/* Removed .ard-animate rule for draw-line as JS handles scrubbing */   position: relative;
    z-index: 10;
    margin-top: 32px;
    text-align: center;
}

.ard-partnership-badge span {
    padding: 4px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(204, 169, 123, 0.3);
    background-color: rgba(204, 169, 123, 0.1);
    color: var(--ard-partnership-gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ROW 2: Slider */
.ard-partnership-row-2 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    /* Initial state for animation */
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out 0.4s;
}

.ard-partnership-row-2.ard-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Scoped Swiper Styles for Partnership Widget */
.ard-partnership-section .swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.ard-partnership-section .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.ard-partnership-section .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}

.ard-partnership-slider-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 8px;
}

.ard-partnership-slider-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--ard-partnership-text-white);
    margin: 0;
}

.ard-partnership-nav {
    display: flex;
    gap: 8px;
}

.ard-partnership-prev,
.ard-partnership-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--ard-partnership-text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ard-partnership-prev:hover,
.ard-partnership-next:hover {
    background-color: var(--ard-partnership-gold);
    color: #000;
    border-color: var(--ard-partnership-gold);
}

/* Swiper Cards */
.ard-partnership-swiper {
    width: 100%;
    padding-bottom: 40px;
    overflow: visible; /* Allow shadows to show */
}

.ard-part-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    group: hover;
}

.ard-part-img-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ard-part-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.ard-part-card:hover .ard-part-img {
    transform: scale(1.05);
}

.ard-part-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
}

.ard-part-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 768px) {
    .ard-part-content { padding: 32px; }
}

.ard-part-status-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.ard-part-status {
    padding: 4px 10px;
    border-radius: 4px;
    background-color: rgba(16, 80, 90, 0.9);
    backdrop-filter: blur(4px);
    color: var(--ard-partnership-text-white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ard-part-line {
    flex: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.ard-part-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--ard-partnership-text-white);
    margin: 0;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .ard-part-title { font-size: 30px; }
}

.ard-part-card:hover .ard-part-title {
    color: var(--ard-partnership-gold);
}

.ard-part-desc {
    font-size: 14px;
    color: #d1d5db;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.ard-part-card:hover .ard-part-desc {
    opacity: 1;
    transform: translateY(0);
}

.ard-part-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
}

/* Swiper Pagination - Scoped */
.ard-partnership-section .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.ard-partnership-section .swiper-pagination-bullet-active {
    background: var(--ard-partnership-gold);
}

/* Fallback: Show elements after a delay if JS doesn't animate them */
@keyframes ard-partnership-fade-in-left {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ard-partnership-fade-in-right {
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.ard-partnership-text-col {
    animation: ard-partnership-fade-in-left 0.8s ease 0.5s forwards;
}

.ard-partnership-visual-col {
    animation: ard-partnership-fade-in-right 0.8s ease 0.7s forwards;
}
