/* ===================================================
   YABİ VETERİNER KLİNİĞİ - BLOG DETAY STİLLERİ
   (Hizmet Detay ile %100 Uyumlu, Kusursuz Responsive Tasarım)
   =================================================== */

/* --- 1. HERO / BREADCRUMB EK DÜZENLEMELERİ --- */
.blog-hero-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 16px;
}

.blog-hero-meta-item {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 500;
}

.blog-hero-meta-item i {
    color: var(--primary-color, #f79e1b);
}

/* --- 2. GÖRSEL KARTI (ILLÜSTRASYON ÖZEL) --- */
.blog-cover-card {
    background: linear-gradient(135deg, #f4ecfc 0%, #ebe0f7 100%) !important;
    height: 380px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(121, 40, 202, 0.1) !important;
}

.blog-cover-card .detail-cover-img {
    max-height: 85% !important;
    max-width: 85% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 14px 28px rgba(21, 22, 42, 0.18)) !important;
    transition: transform 0.5s ease !important;
}

.blog-cover-card:hover .detail-cover-img {
    transform: scale(1.04) !important;
}

/* --- 3. MAKALE GÖVDESİ & TIPOGRAFİ --- */
.blog-content-card {
    min-width: 0 !important;
    overflow: hidden !important;
}

.blog-summary-quote {
    background: linear-gradient(135deg, rgba(121, 40, 202, 0.06) 0%, rgba(247, 158, 27, 0.05) 100%);
    border-left: 4px solid var(--brand-purple, #7928ca);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 34px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.blog-summary-quote .quote-icon {
    font-size: 24px;
    color: var(--brand-purple, #7928ca);
    margin-top: 3px;
    flex-shrink: 0;
}

.blog-summary-quote .quote-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--brand-purple, #7928ca);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-summary-quote p {
    font-size: 15.5px;
    line-height: 1.75;
    color: #383c50;
    margin: 0;
}

.article-body-content {
    font-size: 16px;
    line-height: 1.85;
    color: #3e4256;
    min-width: 0 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

.article-body-content p {
    margin-bottom: 22px;
}

.article-body-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--dark-navy, #15162a);
    margin-top: 40px;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
    position: relative;
    padding-bottom: 12px;
    line-height: 1.3;
}

.article-body-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3.5px;
    background: linear-gradient(90deg, var(--brand-purple, #7928ca), var(--primary-color, #f79e1b));
    border-radius: 3px;
}

.article-body-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-navy, #15162a);
    margin-top: 32px;
    margin-bottom: 14px;
    line-height: 1.35;
}

.article-body-content ul,
.article-body-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-body-content li {
    margin-bottom: 10px;
    line-height: 1.75;
}

.article-body-content strong {
    color: var(--dark-navy, #15162a);
    font-weight: 700;
}

/* Callout Kutuları */
.callout-box {
    border-radius: 16px;
    padding: 22px 26px;
    margin: 28px 0;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    font-size: 15px;
    line-height: 1.7;
    min-width: 0 !important;
}

.callout-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.callout-content {
    flex: 1;
    min-width: 0 !important;
}

.callout-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
}

.callout-content p {
    margin: 0;
}

.callout-box.info {
    background-color: #f4effd;
    border: 1px solid rgba(121, 40, 202, 0.2);
    border-left: 4px solid var(--brand-purple, #7928ca);
    color: #2b1754;
}
.callout-box.info .callout-icon,
.callout-box.info .callout-title {
    color: var(--brand-purple, #7928ca);
}

.callout-box.warning {
    background-color: #fff9ed;
    border: 1px solid rgba(247, 158, 27, 0.35);
    border-left: 4px solid #f79e1b;
    color: #5c3b06;
}
.callout-box.warning .callout-icon,
.callout-box.warning .callout-title {
    color: #d97706;
}

.callout-box.emergency {
    background-color: #fef2f2;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-left: 4px solid #ef4444;
    color: #6b1414;
}
.callout-box.emergency .callout-icon,
.callout-box.emergency .callout-title {
    color: #dc2626;
}

.callout-box.success {
    background-color: #f0fdf4;
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-left: 4px solid #22c55e;
    color: #14532d;
}
.callout-box.success .callout-icon,
.callout-box.success .callout-title {
    color: #16a34a;
}

/* Tıbbi Tablolar (Yatay Kaydırma Koruması) */
.article-table-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    margin: 28px 0;
    border-radius: 16px;
    border: 1px solid #ede8f5;
    box-shadow: 0 4px 18px rgba(21, 22, 42, 0.03);
    display: block;
}

.vet-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
    background: #ffffff;
}

.vet-table thead {
    background: linear-gradient(135deg, #15162a 0%, #26154d 100%);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.vet-table th {
    padding: 14px 18px;
    font-size: 13px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.vet-table td {
    padding: 13px 18px;
    border-bottom: 1px solid #f0edf7;
    color: #3b3e51;
    vertical-align: middle;
}

.vet-table tbody tr:last-child td {
    border-bottom: none;
}

.vet-table tbody tr:nth-child(even) {
    background-color: #faf9fd;
}

.vet-table tbody tr:hover {
    background-color: #f3ecfb;
}

.badge-required {
    background-color: rgba(220, 38, 38, 0.12);
    color: #dc2626;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    display: inline-block;
    white-space: nowrap;
}

.badge-recommended {
    background-color: rgba(121, 40, 202, 0.12);
    color: var(--brand-purple, #7928ca);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    display: inline-block;
    white-space: nowrap;
}

.badge-routine {
    background-color: rgba(247, 158, 27, 0.15);
    color: #b45309;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    display: inline-block;
    white-space: nowrap;
}

/* İlk Yardım Adım Kartları */
.step-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 26px 0;
}

.step-card {
    background: #ffffff;
    border: 1px solid #ede8f5;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(21, 22, 42, 0.02);
}

.step-card:hover {
    border-color: rgba(121, 40, 202, 0.3);
    box-shadow: 0 8px 24px rgba(121, 40, 202, 0.08);
    transform: translateX(4px);
}

.step-badge {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, var(--brand-purple, #7928ca), #9d62fc);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 17px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(121, 40, 202, 0.28);
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    min-width: 0 !important;
}

.step-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--dark-navy, #15162a);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 14px;
    color: #64687d;
    margin: 0;
    line-height: 1.6;
}

/* Makale Etiketleri */
.article-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid #f0edf7;
}

.article-tag-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--dark-navy, #15162a);
    margin-right: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-tag {
    background: #faf8ff;
    border: 1px solid #e9e4f5;
    color: var(--brand-purple, #7928ca);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.article-tag:hover {
    background: var(--brand-purple, #7928ca);
    color: #ffffff;
    border-color: var(--brand-purple, #7928ca);
    transform: translateY(-1px);
}

/* Paylaşım Barı */
.article-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: linear-gradient(135deg, #f8f6fc 0%, #f3edf9 100%);
    border: 1px solid #eae4f6;
    border-radius: 18px;
    padding: 18px 24px;
    margin: 28px 0;
}

.share-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-navy, #15162a);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.share-whatsapp {
    background: #25d366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.share-twitter {
    background: #111111;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.share-facebook {
    background: #1877f2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}
.share-copy {
    background: var(--brand-purple, #7928ca);
    box-shadow: 0 4px 12px rgba(121, 40, 202, 0.3);
}

.share-btn:hover {
    transform: translateY(-3px);
}

/* Yazar Künyesi */
.author-card {
    display: flex;
    align-items: center;
    gap: 22px;
    background: linear-gradient(135deg, #faf8ff 0%, #f4effd 100%);
    border: 1px solid rgba(121, 40, 202, 0.12);
    padding: 26px 30px;
    border-radius: 20px;
    margin: 32px 0;
}

.author-avatar {
    width: 68px;
    height: 68px;
    min-width: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-purple, #7928ca) 0%, #a855f7 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 18px rgba(121, 40, 202, 0.3);
    flex-shrink: 0;
}

.author-info {
    flex: 1;
    min-width: 0 !important;
}

.author-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--dark-navy, #15162a);
    margin-bottom: 2px;
}

.author-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--brand-purple, #7928ca);
    display: block;
    margin-bottom: 6px;
}

.author-desc {
    font-size: 13.8px;
    color: #555970;
    line-height: 1.6;
    margin: 0;
}

/* Önceki - Sonraki Yazı Gezinmesi */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.post-nav-card {
    background: #ffffff;
    border: 1.5px solid #f0edf7;
    border-radius: 16px;
    padding: 18px 22px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0 !important;
}

.post-nav-card:hover {
    border-color: var(--brand-purple, #7928ca);
    background: #faf8ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(121, 40, 202, 0.08);
}

.post-nav-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #7e8299;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-nav-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--dark-navy, #15162a);
    line-height: 1.35;
}

.post-nav-right {
    text-align: right;
    align-items: flex-end;
}

/* İlgili Yazılar Grid'i */
.related-posts-section {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #f0edf7;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 20px;
}

.related-card {
    background: #faf9fd;
    border: 1px solid #ede8f5;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-width: 0 !important;
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(121, 40, 202, 0.3);
    box-shadow: 0 10px 26px rgba(121, 40, 202, 0.09);
    background: #ffffff;
}

.related-thumb {
    height: 140px;
    background: linear-gradient(135deg, #f5effc 0%, #ebe2f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.related-thumb img {
    height: 105px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(21, 22, 42, 0.12));
    transition: transform 0.4s ease;
}

.related-card:hover .related-thumb img {
    transform: scale(1.06);
}

.related-body {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0 !important;
}

.related-category {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--brand-purple, #7928ca);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: block;
}

.related-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--dark-navy, #15162a);
    line-height: 1.35;
    margin-bottom: 12px;
}

.related-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #7e8299;
    padding-top: 10px;
    border-top: 1px solid #f0edf7;
}

.related-read-more {
    font-weight: 700;
    color: var(--brand-purple, #7928ca);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Sidebar Popüler Yazılar */
.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.popular-post-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e9e7f4;
    transition: transform 0.2s ease;
    min-width: 0 !important;
}

.popular-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post-item:hover {
    transform: translateX(4px);
}

.popular-post-thumb {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    background: #f4effd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post-thumb img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.popular-post-info {
    flex: 1;
    min-width: 0 !important;
}

.popular-post-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark-navy, #15162a);
    line-height: 1.35;
    margin-bottom: 3px;
    transition: color 0.2s ease;
}

.popular-post-item:hover .popular-post-title {
    color: var(--brand-purple, #7928ca);
}

.popular-post-date {
    font-size: 11.5px;
    color: #7e8299;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Sidebar Butonları */
.sidebar-card-text {
    font-size: 13.5px;
    color: #555970;
    line-height: 1.6;
    margin-bottom: 16px;
}

.btn-sidebar-randevu-act {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, var(--brand-purple, #7928ca) 0%, #9d62fc 100%);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14.5px;
    font-weight: 800;
    padding: 13px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(121, 40, 202, 0.35);
    transition: all 0.25s ease;
}

.btn-sidebar-randevu-act:hover {
    background: linear-gradient(135deg, #6820b3 0%, #8c4bfb 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(121, 40, 202, 0.45);
}

.btn-sidebar-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #25d366;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 10px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
}

.btn-sidebar-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

/* Toast Bildirimi */
.blog-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #15162a;
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(247, 158, 27, 0.35);
    max-width: calc(100vw - 32px);
}

.blog-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.blog-toast i {
    color: #22c55e;
}


/* ===================================================
   4. RESPONSIVE MEDYA SORGULARI (BLOG DETAY ÖZEL)
   =================================================== */

@media screen and (max-width: 992px) {
    .blog-cover-card {
        height: 290px !important;
    }
}

@media screen and (max-width: 768px) {
    .blog-cover-card {
        height: 230px !important;
        border-radius: 18px !important;
    }

    .blog-summary-quote {
        padding: 16px 18px;
        margin-bottom: 24px;
    }

    .post-navigation {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .post-nav-right {
        text-align: left;
        align-items: flex-start;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .article-share-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 18px;
    }
}

@media screen and (max-width: 480px) {
    .blog-cover-card {
        height: 190px !important;
        border-radius: 16px !important;
    }

    .blog-summary-quote {
        padding: 14px 14px;
        margin-bottom: 20px;
    }

    .blog-summary-quote .quote-title {
        font-size: 14px;
    }

    .blog-summary-quote p {
        font-size: 13.5px;
    }

    .callout-box {
        padding: 14px 14px;
        gap: 10px;
        border-radius: 12px;
        margin: 20px 0;
    }

    .callout-title {
        font-size: 14px;
    }

    .callout-box p {
        font-size: 13px;
    }

    .step-card {
        padding: 14px 14px;
        gap: 12px;
        border-radius: 12px;
    }

    .step-badge {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 14px;
        border-radius: 10px;
    }

    .step-content h4 {
        font-size: 14px;
    }

    .step-content p {
        font-size: 12.8px;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
        padding: 18px 14px;
        gap: 12px;
        border-radius: 16px;
        margin: 24px 0;
    }

    .author-avatar {
        width: 58px;
        height: 58px;
        min-width: 58px;
        font-size: 24px;
    }

    .author-info h4 {
        font-size: 15.5px;
    }

    .author-desc {
        font-size: 12.8px;
    }

    .article-tags-wrapper {
        gap: 6px;
        margin-top: 24px;
        padding-top: 16px;
    }

    .article-tag {
        font-size: 11px;
        padding: 5px 12px;
    }
}

@media screen and (max-width: 360px) {
    .blog-cover-card {
        height: 160px !important;
    }
}
