/* =============================================================================
   Worgoo YMYL — Frontend Review Block
   ============================================================================= */

.worgoo-ymyl-review-block {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin: 2.5em 0 1.5em;
    background: #f8f9fa;
    font-size: 0.93em;
    overflow: hidden;
}

/* ---- Header ---- */
.worgoo-ymyl-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px 10px;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
    flex-wrap: wrap;
}

.worgoo-ymyl-title {
    flex: 1;
    font-size: 1em;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 0.01em;
}

.worgoo-ymyl-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
    color: #555;
    font-size: 12px;
    line-height: 1;
}

.worgoo-ymyl-toggle-icon {
    display: inline-block;
    transition: transform 0.2s;
}

.worgoo-ymyl-review-block.is-collapsed .worgoo-ymyl-toggle-icon {
    transform: rotate(180deg);
}

/* ---- Tabs ---- */
.worgoo-ymyl-tabs {
    display: flex;
    gap: 4px;
}

.worgoo-ymyl-tab {
    background: none;
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.85em;
    cursor: pointer;
    color: #555;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.worgoo-ymyl-tab:hover {
    background: #eef2ff;
    color: #1a1a2e;
}

.worgoo-ymyl-tab--active {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

/* ---- Body ---- */
.worgoo-ymyl-body {
    padding: 18px 20px;
}

.worgoo-ymyl-review-block.is-collapsed .worgoo-ymyl-body {
    display: none;
}

/* ---- Panels ---- */
.worgoo-ymyl-panel {
    display: none;
}

.worgoo-ymyl-panel--active {
    display: block;
}

.worgoo-ymyl-panel-desc {
    color: #555;
    margin: 0 0 14px;
    line-height: 1.6;
}

/* ---- Versiyon dot ---- */
.worgoo-ymyl-team-version {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.92em;
}

.worgoo-ymyl-version-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.worgoo-ymyl-version-dot--current {
    background: #1a1a2e;
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.15);
}

/* ---- Ekip listesi (dl) ---- */
.worgoo-ymyl-team-list {
    margin: 0 0 12px;
    display: grid;
    gap: 10px;
}

.worgoo-ymyl-team-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 6px 12px;
    align-items: start;
    padding-bottom: 10px;
    border-bottom: 1px solid #ebebeb;
}

.worgoo-ymyl-team-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.worgoo-ymyl-team-row dt {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 0.9em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.worgoo-ymyl-team-row dd {
    margin: 0;
    color: #333;
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Uzman (CPT) satırı */
.worgoo-ymyl-team-row--expert dt {
    color: #0d6efd;
}

.worgoo-ymyl-verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #198754;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.worgoo-ymyl-expert-name {
    font-weight: 600;
    color: #1a1a2e;
}

.worgoo-ymyl-expert-cred {
    color: #555;
    font-size: 0.88em;
}

.worgoo-ymyl-expert-inst {
    color: #555;
    font-size: 0.85em;
}

/* ---- Son güncelleme ---- */
.worgoo-ymyl-updated {
    margin: 10px 0 0;
    color: #888;
    font-size: 0.85em;
}

/* ---- Kaynaklar listesi ---- */
.worgoo-ymyl-sources-list {
    margin: 0;
    padding-left: 22px;
    display: grid;
    gap: 8px;
}

.worgoo-ymyl-sources-list li {
    font-size: 0.9em;
    line-height: 1.5;
}

.worgoo-ymyl-sources-list a {
    color: #0d6efd;
    text-decoration: none;
    word-break: break-word;
}

.worgoo-ymyl-sources-list a:hover {
    text-decoration: underline;
}

.worgoo-ymyl-source-date {
    display: block;
    font-size: 0.82em;
    color: #888;
}

/* ---- Sorumluluk reddi (blok alt) ---- */
.worgoo-ymyl-disclaimer {
    background: #fff8e1;
    border-top: 1px solid #ffe082;
    padding: 12px 20px;
    font-size: 0.87em;
    color: #555;
    line-height: 1.6;
}

/* ---- Sorumluluk reddi (yazı başı — bağımsız kutu) ---- */
.worgoo-ymyl-disclaimer--top {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 0 0 1.5em;
    font-size: 0.92em;
    color: #555;
    line-height: 1.65;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.worgoo-ymyl-disclaimer--top .worgoo-ymyl-disclaimer__icon {
    font-size: 1.2em;
    flex-shrink: 0;
    margin-top: 1px;
    color: #f59e0b;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .worgoo-ymyl-team-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .worgoo-ymyl-team-row dt {
        color: #888;
        font-size: 0.82em;
        font-weight: 600;
    }
    .worgoo-ymyl-review-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =============================================================================
   Worgoo YMYL — Shortcode Stilleri
   ============================================================================= */

/* ---- [ymyl_author_card] ---- */
.worgoo-author-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fff;
    margin: 1em 0;
}

.worgoo-author-card__avatar img {
    border-radius: 50%;
    display: block;
}

.worgoo-author-card__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.worgoo-author-card__role {
    font-size: 0.78em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0d6efd;
}

.worgoo-author-card__name {
    font-size: 1em;
    color: #1a1a2e;
}

.worgoo-author-card__bio {
    font-size: 0.88em;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* ---- [ymyl_expert_card] ---- */
.worgoo-expert-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fff;
    margin: 1em 0;
}

.worgoo-expert-card--horizontal {
    flex-direction: row;
    align-items: flex-start;
}

.worgoo-expert-card__photo img,
.worgoo-expert-card__thumb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.worgoo-expert-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.worgoo-expert-card__header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.worgoo-expert-card__name {
    font-size: 1.05em;
    color: #1a1a2e;
}

.worgoo-expert-card__credentials {
    font-size: 0.88em;
    color: #0d6efd;
    margin: 0;
    font-weight: 600;
}

.worgoo-expert-card__institution {
    font-size: 0.85em;
    color: #555;
    margin: 0;
}

.worgoo-expert-card__bio {
    font-size: 0.88em;
    color: #444;
    line-height: 1.5;
    margin: 4px 0 0;
}

.worgoo-expert-card__verified-date {
    font-size: 0.8em;
    color: #198754;
    margin: 4px 0 0;
}

.worgoo-expert-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.worgoo-expert-card__link {
    font-size: 0.8em;
    background: #f0f4ff;
    color: #0d6efd;
    padding: 2px 10px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #d0dcff;
}

.worgoo-expert-card__link:hover {
    background: #dce8ff;
    text-decoration: none;
}

/* ---- [ymyl_badge] ---- */
.worgoo-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 0.82em;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.worgoo-badge--verified {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.worgoo-badge--approved {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.worgoo-badge--sources {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

/* ---- [ymyl_sources] ---- */
.worgoo-sources__title {
    margin: 0 0 8px;
}

.worgoo-sources {
    margin: 0 0 1em;
}

.worgoo-sources--numbered,
.worgoo-sources--simple {
    padding-left: 20px;
}

.worgoo-sources--numbered li,
.worgoo-sources--simple li {
    margin-bottom: 6px;
    font-size: 0.92em;
    line-height: 1.5;
}

.worgoo-sources--numbered a,
.worgoo-sources--simple a {
    color: #0d6efd;
    word-break: break-word;
}

.worgoo-sources--cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    padding: 0;
    list-style: none;
}

.worgoo-source-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.worgoo-source-card__title {
    font-size: 0.88em;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
    word-break: break-word;
    line-height: 1.4;
}

.worgoo-source-card__title:hover {
    text-decoration: underline;
}

.worgoo-source-card__date,
.worgoo-source-card__host {
    font-size: 0.78em;
    color: #888;
}

/* ---- [ymyl_team_inline] ---- */
.worgoo-team-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 4px;
    font-size: 0.88em;
    color: #444;
    padding: 10px 0;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    margin: 1em 0;
}

.worgoo-team-inline__item {
    white-space: nowrap;
}

.worgoo-team-inline__sep {
    color: #ccc;
    font-size: 0.8em;
}

@media (max-width: 600px) {
    .worgoo-expert-card--horizontal {
        flex-direction: column;
    }
    .worgoo-sources--cards {
        grid-template-columns: 1fr;
    }
    .worgoo-author-card {
        flex-direction: column;
    }
}
