/* ================================================
   EXPERT BOX — Frontend Styles
   expert-box/assets/expert-box.css
================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&family=Lora:ital,wght@0,400;1,400&display=swap');

.expert-box {
    --eb-accent:       #22c55e;
    --eb-accent-glow:  rgba(34, 197, 94, 0.15);
    --eb-radius:       0 10px 10px 0;
    --eb-border-width: 3px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 22px 20px 26px;
    border-radius: var(--eb-radius);
    border-left: var(--eb-border-width) solid #eb9a29;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    margin: 24px 0;
    transition: box-shadow 0.25s ease;
}

/* Hover glow */
.expert-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--eb-radius);
    border-left: var(--eb-border-width) solid #eb9a29;
    opacity: 0;
    filter: blur(6px);
    pointer-events: none;
    transition: opacity 0.3s ease;
}


/* ── DARK ── */
.expert-box.dark {
    border: 1px solid rgba(221,153,51,0.16);
    background: rgba(221,153,51,0.15);
}

.expert-box.dark .eb-label { color: #eb9a29; }
.expert-box.dark .eb-name  { color: #eb9a29; }
.expert-box.dark .eb-quote { color: #53585c; }

/* ── LIGHT ── */
.expert-box.light {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.expert-box.light .eb-label { color: #eb9a29; }
.expert-box.light .eb-name  { color: #eb9a29; }
.expert-box.light .eb-quote { color: #53585c; }

/* ── HEADER ── */
.expert-box .eb-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.expert-box .eb-avatar {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eb9a29;
}

.expert-box.dark .eb-header img {
    border: 3px solid #eb9a29;
}

.expert-box .eb-avatar-initials {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eb9a29, #22c55e);
    border: 2px solid #eb9a29;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    letter-spacing: 0.5px;
}

/* .expert-box .eb-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
} */

.expert-box .eb-label {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.8px;
    opacity: 0.85;
}

.expert-box .eb-name {
    font-size: 18px;
    font-weight: 700;
}

/* ── QUOTE ── */
.expert-box .eb-quote {
    font-size: 14.5px;
    font-style: italic;
    line-height: 1.75;
    margin: 0;
    padding: 0;
}
.expert-box .eb-quote::before { content: '\201E'; }
.expert-box .eb-quote::after  { content: '\201C'; }

.single-news-post .single-content .eb-header img{
    border-radius: 50%;
}

body.lighttheme .expert-box.dark {
    box-shadow: 0 0px 8px rgb(22 163 74 / 30%);
    background: -webkit-linear-gradient(43.32deg, #e6f7ef 22.85%, #fff 85.95%) padding-box, -webkit-linear-gradient(226.4deg, #EEEEEE 0%, #B2E6CD 74.39%) border-box !important;
    background: -moz-linear-gradient(43.32deg, #e6f7ef 22.85%, #fff 85.95%) padding-box, -webkit-linear-gradient(226.4deg, #EEEEEE 0%, #B2E6CD 74.39%) border-box !important;
    background: linear-gradient(43.32deg, #e6f7ef 22.85%, #fff 85.95%) padding-box, -webkit-linear-gradient(226.4deg, #EEEEEE 0%, #B2E6CD 74.39%) border-box !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e6f7ef",endColorstr="#fff",GradientType=0) !important;
    max-width: 100% !important;
}

body.lighttheme .expert-box.dark .eb-quote {
    width: calc(100% - 72px);
    font-size: 16px;
    font-style: normal;
    margin-left: 72px;
	word-wrap: break-word;
}

.expert-box.dark .eb-quote {
    width: calc(100% - 72px);
    font-size: 16px;
    font-style: normal;
    margin-left: 72px;
	word-wrap: break-word;
}
.lighttheme .expert-box.dark .eb-quote {
    color: #151515;
}


/* ── MOBILE ── */
@media (max-width: 480px) {
    .expert-box { padding: 16px 16px 16px 20px; }
    .expert-box .eb-quote { font-size: 13.5px; }
    body.lighttheme .expert-box .eb-avatar{width: 60px; height: auto;}
    .expert-box .eb-avatar{width: 60px; height: auto;}
}
@media(max-width:375px){
	.expert-box.dark .eb-quote{ margin-left:0; width:100%;}
    body.lighttheme .expert-box.dark .eb-quote{ margin-left:0; width:100%;}
}
