/* ==========================================================================
   TRENDYOL GÖRSEL BOYUTLARI REHBERİ — ÖZEL MAKALE CSS MODÜLÜ (.post-trendyol-guide)
   Konum: blog/trendyol-magaza-kapak-banner-ve-urun-gorselleri-boyutlari/assets/css/blog.css
   ========================================================================== */

/* Genel Kapsayıcı */
.post-trendyol-guide {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Geniş İçerik Kapsayıcısı (Dar Akıştan Kurtaran Geniş Gridler İçin) */
.tyg-wide-container {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* 1. Başlık ve Editoryal Giriş (Hero) */
.tyg-header-section {
    padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(1.5rem, 2.5vw, 2rem);
    position: relative;
    border-bottom: none;
}

.tyg-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.35rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.tyg-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background-color: var(--muted);
    border: 1px solid var(--border);
    padding: 0.25rem 0.85rem;
    border-radius: 9999px;
    font-weight: 600;
    color: var(--foreground);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tyg-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
}

.tyg-article-title {
    font-size: clamp(2.35rem, 4.8vw, 3.85rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--foreground);
    margin: 0;
}

.tyg-article-title .serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--accent);
}

.tyg-article-lead {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.7;
    color: var(--foreground);
    text-align: center;
    max-width: 820px;
    margin: 0;
}

/* 1.1. Kapak Görseli Vitrini (16:9) */
.tyg-cover-section {
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.tyg-cover-figure {
    margin: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    background-color: var(--muted);
}

.tyg-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.tyg-cover-figure:hover .tyg-cover-img {
    transform: scale(1.02);
}

/* Genel Bölüm Düzeni */
.tyg-section {
    padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.tyg-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: clamp(2rem, 3.5vw, 3rem);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.tyg-subbadge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 0.25rem 0.85rem;
    border-radius: 9999px;
}

.tyg-section-title {
    font-size: clamp(1.75rem, 3.2vw, 2.45rem);
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
    letter-spacing: -0.02em;
}

.tyg-section-title .serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.tyg-section-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--muted-foreground);
    margin: 0;
}

/* ==========================================================================
   2. BÖLÜM: BENTO SENARYO & KARŞILAŞTIRMA IZGARASI
   ========================================================================== */
.tyg-bento-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
}

.tyg-bento-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
}

.tyg-story-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tyg-bento-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.75rem;
    border-radius: 9999px;
    background: var(--muted);
    color: var(--muted-foreground);
    border: 1px solid var(--border);
    align-self: flex-start;
}

.tyg-bento-tag.accent {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: rgba(255, 82, 69, 0.2);
}

.tyg-bento-title {
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
    letter-spacing: -0.015em;
}

.tyg-bento-p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--foreground);
    margin: 0;
}

.tyg-muted-text {
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.tyg-quote-inline {
    margin: 0.5rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--accent);
    background: var(--background);
    border-radius: 0 16px 16px 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--foreground);
}

.tyg-quote-inline strong {
    color: var(--accent);
}

/* Karşılaştırma Listesi */
.tyg-compare-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    justify-content: space-between;
}

.tyg-compare-item {
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tyg-compare-item.negative {
    background: rgba(239, 68, 68, 0.04);
    border-color: rgba(239, 68, 68, 0.2);
}

.tyg-compare-item.positive {
    background: rgba(16, 185, 129, 0.04);
    border-color: rgba(16, 185, 129, 0.25);
}

.tyg-compare-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tyg-compare-item.negative .tyg-compare-badge {
    color: #ef4444;
}

.tyg-compare-item.positive .tyg-compare-badge {
    color: #10b981;
}

.tyg-compare-item ul {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--muted-foreground);
}

.tyg-compare-item ul li {
    margin-bottom: 0.35rem;
}

/* ==========================================================================
   3. BÖLÜM: DETAYLI MODÜLLER STREAM (MAĞAZA KAPAĞI, BANNER, ÜRÜN)
   ========================================================================== */
.tyg-modules-stream {
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 4vw, 3.5rem);
}

.tyg-module-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: clamp(2rem, 3.5vw, 2.75rem);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.tyg-module-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.tyg-module-meta {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.tyg-module-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1;
    color: var(--accent);
}

.tyg-module-title {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
    letter-spacing: -0.015em;
}

.tyg-module-subtitle {
    font-size: 0.85rem;
    color: var(--muted-foreground);
    display: block;
    margin-top: 0.25rem;
}

.tyg-dimension-badges {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.tyg-dim-badge {
    background: var(--background);
    border: 1px solid var(--border);
    padding: 0.45rem 0.85rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

.tyg-dim-badge.highlight {
    background: var(--accent-soft);
    border-color: rgba(255, 82, 69, 0.3);
}

.tyg-dim-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.tyg-dim-val {
    font-family: var(--font-mono, monospace);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--foreground);
}

.tyg-dim-badge.highlight .tyg-dim-val {
    color: var(--accent);
}

.tyg-module-body {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.tyg-module-text {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.tyg-module-text p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--foreground);
    margin: 0;
}

.tyg-points-list {
    margin: 0;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--muted-foreground);
}

.tyg-points-list strong {
    color: var(--foreground);
}

.tyg-tip-box {
    background: var(--background);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    padding: 1.15rem 1.35rem;
    border-radius: 0 14px 14px 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--muted-foreground);
}

.tyg-tip-title {
    font-weight: 700;
    color: var(--foreground);
    display: block;
    margin-bottom: 0.25rem;
}

/* Ürün Görselleri 2 Kural Kutusu */
.tyg-rules-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tyg-rules-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
}

.tyg-rule-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tyg-rule-num-pill {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.tyg-rule-content h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 0.25rem;
}

.tyg-rule-content p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin: 0;
}

/* Görsel Figür Vitrini (Pürüzsüz zoom, kenarlık çıkmaz) */
.tyg-figure-showcase {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.tyg-figure-frame {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--muted);
    box-shadow: var(--shadow-soft);
}

.tyg-showcase-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.tyg-figure-frame:hover .tyg-showcase-img {
    transform: scale(1.018);
}

.tyg-figure-caption {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--muted-foreground);
    text-align: center;
    padding: 0 0.5rem;
}

/* ==========================================================================
   4. BÖLÜM: HIZLI REFERANS TABLOSU (CHEAT SHEET)
   ========================================================================== */
.tyg-table-wrapper {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: clamp(1.75rem, 3.5vw, 2.5rem);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tyg-table-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.tyg-table-title {
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    font-weight: 700;
    color: var(--foreground);
    margin: 0.25rem 0 0;
}

.tyg-table-hint {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted-foreground);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tyg-table-responsive {
    overflow-x: auto;
}

.tyg-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.tyg-table th {
    padding: 0.85rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    border-bottom: 1px solid var(--border);
}

.tyg-table td {
    padding: 1.15rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--foreground);
    vertical-align: middle;
}

.tyg-table tr:last-child td {
    border-bottom: none;
}

.tyg-table tr:hover td {
    background: var(--background);
}

.tyg-badge-mono {
    font-family: var(--font-mono, monospace);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.25rem 0.65rem;
    background: var(--muted);
    border-radius: 8px;
    border: 1px solid var(--border);
    white-space: nowrap;
    display: inline-block;
}

.tyg-badge-mono.highlight {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: rgba(255, 82, 69, 0.25);
}

/* ==========================================================================
   5. BÖLÜM: 4 ALTIN PRENSİP & STRATEJİK SONUÇ KARTLARI
   ========================================================================== */
.tyg-principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.tyg-principle-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    transition: transform 0.3s ease;
}

.tyg-principle-card:hover {
    transform: translateY(-3px);
}

.tyg-principle-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--accent);
}

.tyg-principle-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
    line-height: 1.35;
}

.tyg-principle-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin: 0;
}

/* Kapanış Kartı */
.tyg-verdict-card {
    padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.tyg-verdict-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.tyg-verdict-title {
    font-size: clamp(1.75rem, 3.2vw, 2.45rem);
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
    letter-spacing: -0.02em;
}

.tyg-verdict-title .serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.tyg-verdict-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--muted-foreground);
    max-width: 720px;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE UYARLAMALAR
   ========================================================================== */
@media (max-width: 960px) {
    .tyg-bento-grid {
        grid-template-columns: 1fr;
    }

    .tyg-principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .tyg-principles-grid {
        grid-template-columns: 1fr;
    }

    .tyg-module-header {
        flex-direction: column;
    }

    .tyg-dimension-badges {
        width: 100%;
    }

    .tyg-dim-badge {
        flex: 1;
    }
}
