/* 5D Webinar Vitrini — Woodmart uyumlu, izole stiller */
.wd5dw-section,
.wd5dw-section * {
    box-sizing: border-box;
}

.wd5dw-section {
    --wd5dw-bg: #fff;
    --wd5dw-primary: #5d3ca4;
    --wd5dw-cta: #6845b3;
    --wd5dw-text: #647189;
    --wd5dw-navy: #173864;
    --wd5dw-border: #e2e8f0;
    --wd5dw-tablet-cols: 2;
    --wd5dw-mobile-cols: 1;

    position: relative;
    width: 100%;
    padding: 42px 0;
    overflow: hidden;
    background: var(--wd5dw-bg);
    font-family: inherit;
}

.wd5dw-container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding-right: 20px;
    padding-left: 20px;
}

.wd5dw-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr) 405px;
    gap: 18px;
    align-items: stretch;
    min-width: 0;
}

.wd5dw-layout--default .wd5dw-intro { order: 1; }
.wd5dw-layout--default .wd5dw-cards { order: 2; }
.wd5dw-layout--default .wd5dw-cta { order: 3; }
.wd5dw-layout--reverse .wd5dw-cta { order: 1; }
.wd5dw-layout--reverse .wd5dw-cards { order: 2; }
.wd5dw-layout--reverse .wd5dw-intro { order: 3; }

/* Intro */
.wd5dw-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 16px 24px 16px 5px;
}

.wd5dw-intro-title {
    max-width: 215px;
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: var(--wd5dw-primary) !important;
    font-family: inherit !important;
    font-size: clamp(28px, 2.2vw, 39px) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: -.8px;
}

.wd5dw-intro-description {
    max-width: 215px;
    margin: 0 0 22px !important;
    padding: 0 !important;
    color: var(--wd5dw-text) !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
}

.wd5dw-intro-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    color: var(--wd5dw-primary) !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none !important;
    transition: gap .2s ease, opacity .2s ease;
}

.wd5dw-intro-link:hover {
    gap: 12px;
    color: var(--wd5dw-primary) !important;
    opacity: .82;
}

.wd5dw-intro-link svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Cards */
.wd5dw-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
}

.wd5dw-card {
    --wd5dw-date-bg: #f1eaff;
    --wd5dw-date-text: #5a3aa2;

    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 202px;
    padding: 18px 18px 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--wd5dw-border);
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(30, 52, 84, .035);
    transition: transform .23s ease, border-color .23s ease, box-shadow .23s ease;
}

.wd5dw-card:hover {
    transform: translateY(-4px);
    border-color: #cfd9e6;
    box-shadow: 0 14px 28px rgba(30, 52, 84, .09);
}

.wd5dw-card--sand {
    --wd5dw-date-bg: #fff1d9;
    --wd5dw-date-text: #7c4b17;
}

.wd5dw-card--blue {
    --wd5dw-date-bg: #e7f2ff;
    --wd5dw-date-text: #275d9b;
}

.wd5dw-card--mint {
    --wd5dw-date-bg: #e6f7f3;
    --wd5dw-date-text: #24766b;
}

.wd5dw-card-hit {
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
}

.wd5dw-card-head,
.wd5dw-speaker,
.wd5dw-card-meta {
    position: relative;
    z-index: 0;
    pointer-events: none;
}

.wd5dw-card-head {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.wd5dw-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 72px;
    min-height: 78px;
    padding: 7px 4px;
    color: var(--wd5dw-date-text);
    background: var(--wd5dw-date-bg);
    border-radius: 11px;
    text-align: center;
}

.wd5dw-date strong {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

.wd5dw-date span {
    margin-top: 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
}

.wd5dw-date small {
    margin-top: 3px;
    color: inherit;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.1;
    opacity: .82;
}

.wd5dw-card-title {
    margin: 4px 0 0 !important;
    padding: 0 !important;
    color: var(--wd5dw-navy) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.45 !important;
}

.wd5dw-speaker {
    display: flex;
    align-items: center;
    gap: 11px;
        margin: 13px 0 13px 6px !important;
}

.wd5dw-speaker-photo {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #7e61c9, #493084);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
}

.wd5dw-speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wd5dw-speaker-copy {
    min-width: 0;
}

.wd5dw-speaker-copy strong,
.wd5dw-speaker-copy span {
    display: block;
    margin: 0;
    font-family: inherit;
    line-height: 1.3;
}

.wd5dw-speaker-copy strong {
    color: #40516d;
    font-size: 12px;
    font-weight: 700;
}

.wd5dw-speaker-copy span {
    margin-top: 3px;
    color: #8792a4;
    font-size: 10.5px;
    font-weight: 400;
}

.wd5dw-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid #edf1f5;
}

.wd5dw-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: #596983;
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
}

.wd5dw-card-meta svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: #8795aa;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wd5dw-empty {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 202px;
    padding: 24px;
    color: #6d7889;
    background: #f8fafc;
    border: 1px dashed #d8e0e9;
    border-radius: 15px;
    text-align: center;
}

/* CTA */
.wd5dw-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    align-items: center;
    min-width: 0;
    min-height: 202px;
    padding: 24px 18px 20px 28px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,.18), transparent 38%),
        linear-gradient(135deg, color-mix(in srgb, var(--wd5dw-cta) 86%, #8d70df), var(--wd5dw-cta));
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(79, 49, 143, .16);
}

.wd5dw-cta::before {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -80px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
}

.wd5dw-cta-copy,
.wd5dw-cta-art {
    position: relative;
    z-index: 1;
}

.wd5dw-cta-title {
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 18px !important;
    font-weight: 750 !important;
    line-height: 1.3 !important;
}

.wd5dw-cta-description {
    max-width: 205px;
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: rgba(255,255,255,.88) !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}

.wd5dw-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 47px;
    padding: 11px 22px;
    color: var(--wd5dw-primary) !important;
    background: #fff;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 10px;
    box-shadow: 0 7px 17px rgba(33, 19, 72, .15);
    font-family: inherit;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease;
}

.wd5dw-cta-button:hover {
    color: var(--wd5dw-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 11px 22px rgba(33, 19, 72, .22);
}

.wd5dw-cta-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wd5dw-cta-art {
    align-self: end;
    min-width: 0;
    margin-right: -14px;
    margin-bottom: -18px;
}

.wd5dw-cta-svg,
.wd5dw-cta-image {
    display: block;
    width: 100%;
    max-width: 210px;
    height: auto;
    margin-left: auto;
    object-fit: contain;
}

@media (max-width: 1450px) {
    .wd5dw-layout {
        grid-template-columns: 215px minmax(0, 1fr) 350px;
    }

    .wd5dw-cta {
        grid-template-columns: minmax(0, 1fr) 150px;
        padding-left: 23px;
    }

    .wd5dw-card {
        padding-right: 14px;
        padding-left: 14px;
    }

    .wd5dw-card-head {
        grid-template-columns: 65px minmax(0, 1fr);
        gap: 11px;
    }

    .wd5dw-date {
        width: 65px;
    }

    .wd5dw-speaker {
        margin-left: 76px;
    }
}

@media (max-width: 1220px) {
    .wd5dw-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .wd5dw-layout--default .wd5dw-intro,
    .wd5dw-layout--reverse .wd5dw-intro {
        grid-row: span 2;
    }

    .wd5dw-layout--default .wd5dw-intro { order: 1; }
    .wd5dw-layout--default .wd5dw-cards { order: 2; }
    .wd5dw-layout--default .wd5dw-cta { order: 3; }
    .wd5dw-layout--reverse .wd5dw-cta { order: 1; grid-column: 1 / -1; }
    .wd5dw-layout--reverse .wd5dw-cards { order: 2; grid-column: 1 / -1; }
    .wd5dw-layout--reverse .wd5dw-intro { order: 3; grid-column: 1 / -1; grid-row: auto; }

    .wd5dw-cards {
        grid-template-columns: repeat(var(--wd5dw-tablet-cols), minmax(0, 1fr));
    }

    .wd5dw-cta {
        grid-column: 2;
        min-height: 190px;
    }
}

@media (max-width: 900px) {
    .wd5dw-section {
        padding: 36px 0;
    }

    .wd5dw-layout,
    .wd5dw-layout--default,
    .wd5dw-layout--reverse {
        grid-template-columns: minmax(0, 1fr);
    }

    .wd5dw-layout--default .wd5dw-intro,
    .wd5dw-layout--reverse .wd5dw-intro,
    .wd5dw-layout--default .wd5dw-cards,
    .wd5dw-layout--reverse .wd5dw-cards,
    .wd5dw-layout--default .wd5dw-cta,
    .wd5dw-layout--reverse .wd5dw-cta {
        grid-column: auto;
        grid-row: auto;
    }

    .wd5dw-layout--default .wd5dw-intro { order: 1; }
    .wd5dw-layout--default .wd5dw-cards { order: 2; }
    .wd5dw-layout--default .wd5dw-cta { order: 3; }
    .wd5dw-layout--reverse .wd5dw-cta { order: 1; }
    .wd5dw-layout--reverse .wd5dw-cards { order: 2; }
    .wd5dw-layout--reverse .wd5dw-intro { order: 3; }

    .wd5dw-intro {
        align-items: center;
        padding: 0 18px 8px;
        text-align: center;
    }

    .wd5dw-intro-title,
    .wd5dw-intro-description {
        max-width: 620px;
    }

    .wd5dw-intro-link {
        align-self: center;
    }

    .wd5dw-cards {
        grid-template-columns: repeat(var(--wd5dw-tablet-cols), minmax(0, 1fr));
    }

    .wd5dw-cta {
        grid-template-columns: minmax(0, 1fr) 220px;
        min-height: 210px;
    }
}

@media (max-width: 600px) {
    .wd5dw-container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .wd5dw-intro-title {
        font-size: 29px !important;
    }

    .wd5dw-intro-description {
        font-size: 14px !important;
    }

    .wd5dw-cards {
        grid-template-columns: repeat(var(--wd5dw-mobile-cols), minmax(0, 1fr));
        gap: 10px;
    }

    .wd5dw-card {
        min-height: 215px;
        padding: 15px 12px 13px;
        border-radius: 13px;
    }

    .wd5dw-card-head {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 9px;
    }

    .wd5dw-date {
        width: 58px;
        min-height: 70px;
    }

    .wd5dw-date strong {
        font-size: 21px;
    }

    .wd5dw-card-title {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    .wd5dw-speaker {
        gap: 8px;
        margin: 12px 0 12px 67px;
    }

    .wd5dw-speaker-photo {
        flex-basis: 37px;
        width: 37px;
        height: 37px;
        font-size: 12px;
    }

    .wd5dw-speaker-copy strong {
        font-size: 10.5px;
    }

    .wd5dw-speaker-copy span {
        font-size: 9.5px;
    }

    .wd5dw-card-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .wd5dw-card-meta span {
        font-size: 10.5px;
    }

    .wd5dw-cta {
        grid-template-columns: minmax(0, 1fr) 135px;
        min-height: 205px;
        padding: 22px 13px 18px 20px;
    }

    .wd5dw-cta-title {
        font-size: 16px !important;
    }

    .wd5dw-cta-description {
        font-size: 11px !important;
    }

    .wd5dw-cta-button {
        min-height: 43px;
        padding: 10px 15px;
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .wd5dw-cta {
        grid-template-columns: minmax(0, 1fr);
        padding-right: 18px;
    }

    .wd5dw-cta-art {
        position: absolute;
        right: -20px;
        bottom: -25px;
        width: 145px;
        opacity: .28;
    }

    .wd5dw-cta-copy {
        max-width: 250px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wd5dw-card,
    .wd5dw-intro-link,
    .wd5dw-cta-button {
        transition: none;
    }
}
