.wattn-expert-box {
    --wattn-eb-bg: var(--e-global-color-secondary, #f7f5f0);
    --wattn-eb-border: color-mix(in srgb, currentColor 12%, transparent);
    --wattn-eb-accent: var(--e-global-color-accent, #1f8f8a);
    --wattn-eb-radius: 14px;
    --wattn-eb-gap: 18px;
    --wattn-eb-avatar: 58px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    color: var(--e-global-color-text, inherit);
    background: var(--wattn-eb-bg);
    border: 1px solid var(--wattn-eb-border);
    border-radius: var(--wattn-eb-radius);
}

.wattn-expert-box::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--wattn-eb-accent);
}

.wattn-expert-box__content {
    display: flex;
    flex-direction: column;
    gap: var(--wattn-eb-gap);
    min-width: 0;
}

.wattn-expert-box__label {
    margin: 0;
    color: var(--wattn-eb-accent);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wattn-expert-box__quote-wrap {
    position: relative;
    min-width: 0;
}

.wattn-expert-box__quote-mark {
    position: absolute;
    top: -0.22em;
    left: -0.05em;
    z-index: 0;
    color: color-mix(in srgb, var(--wattn-eb-accent) 18%, transparent);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(4.25rem, 9vw, 7.25rem);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.wattn-expert-box__text {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--e-global-color-text, inherit);
    font-style: normal;
    line-height: 1.7;
}

.wattn-expert-box__text > :first-child {
    margin-top: 0;
}

.wattn-expert-box__text > :last-child {
    margin-bottom: 0;
}

.wattn-expert-box__author {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin: 0;
}

.wattn-expert-box__avatar {
    display: inline-flex;
    flex: 0 0 var(--wattn-eb-avatar);
    width: var(--wattn-eb-avatar);
    height: var(--wattn-eb-avatar);
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, currentColor 7%, transparent);
}

.wattn-expert-box__avatar img,
.wattn-expert-box__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wattn-expert-box__author-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wattn-expert-box__author-name {
    color: var(--e-global-color-primary, inherit);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.wattn-expert-box__author-role {
    color: color-mix(in srgb, currentColor 68%, transparent);
    font-size: 0.88rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .wattn-expert-box::before {
        width: 3px;
    }

    .wattn-expert-box__quote-mark {
        font-size: clamp(3.8rem, 18vw, 5.8rem);
    }

    .wattn-expert-box__author {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wattn-expert-box *,
    .wattn-expert-box *::before,
    .wattn-expert-box *::after {
        transition-duration: 0s !important;
    }
}
