@charset "UTF-8";
/* Sadece Views/Blog/Index.cshtml ve Post.cshtml (2026-11-20): site.css'ten sonra, layout.css'ten önce yüklenir.
   Renkler sitedekiler: lacivert #112b5c (üst çubuk), koyu gri #404040 (düğmeler), yazı #3d3d3d. */

/* ===== Başlık ve breadcrumb (ürün listesi ve hakkımızdaki gibi) ===== */
.blog-intro {
    margin: 0 0 25px;
    font-size: 1.3em;
    line-height: 1.6;
    color: #555;
    text-align: center;
}

.breadCrumbPoz {
    margin-bottom: 35px;
    margin-top: 10px;
}

.product-descriptive-article {
    background-color: transparent;
    border-radius: 5em;
    border: 4px solid #f0f0f0;
}

.blog-crumbs {
    margin-top: 30px;
}

.blog-crumbs .breadcrumb > li:last-child {
    max-width: 60vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

li {
    margin-left: 0px !important;
}

/* ===== Kartlar ===== */
.blog-list {
    margin-bottom: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.blog-card {
    display: flex;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    overflow: hidden;
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.35);
    transform: translateY(-3px);
}

.blog-card-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    color: #3d3d3d;
}

.blog-card-link:hover,
.blog-card-link:focus {
    color: #3d3d3d;
}

.blog-card-image {
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
}

.blog-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 22px 22px;
}

.blog-date {
    display: block;
    font-size: 0.95em;
    color: #777;
    letter-spacing: 0.5px;
}

h2.blog-card-title,
h3.blog-card-title {
    margin: 8px 0 10px;
    padding: 0;
    font-size: 1.35em;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: normal;
    color: #112b5c;
    text-align: left;
}

.blog-card-summary {
    flex: 1;
    margin: 0 0 15px;
    font-size: 1.05em;
    line-height: 1.6;
    color: #555;
}

.blog-card-more {
    align-self: flex-start;
    font-size: 0.95em;
    font-weight: 700;
    letter-spacing: 1px;
    color: #404040;
    border-bottom: 2px solid #404040;
}

.blog-empty {
    margin: 10px auto 40px;
    max-width: 700px;
    font-size: 1.3em;
    line-height: 1.6;
    text-align: center;
    color: #555;
}

.blog-empty a {
    color: #112b5c;
    text-decoration: underline;
}

/* ===== Yazı ===== */
.blog-draft {
    margin: 0 auto 25px;
    max-width: 780px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #fff4d6;
    border: 1px solid #f0d58a;
    color: #5c4400;
    font-size: 1.05em;
}

.blog-article {
    margin: 0 auto 50px;
    max-width: 780px;
}

.blog-article-header {
    margin-bottom: 25px;
}

h1.blog-title {
    margin: 0 0 12px;
    font-size: 2.3em;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: normal;
    color: #112b5c;
    text-align: left;
}

.blog-article-header .blog-date {
    text-align: left;
}

.blog-cover {
    margin: 0 0 30px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
}

.blog-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.blog-content {
    font-size: 1.2em;
    line-height: 1.75;
    color: #3d3d3d;
    overflow-wrap: break-word;
}

.blog-content p {
    margin: 0 0 1.1em;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    margin: 1.6em 0 0.6em;
    padding: 0;
    line-height: 1.35;
    letter-spacing: normal;
    color: #112b5c;
    text-align: left;
}

.blog-content h2 {
    font-size: 1.5em;
}

.blog-content h3 {
    font-size: 1.25em;
}

.blog-content h4 {
    font-size: 1.1em;
}

.blog-content ul,
.blog-content ol {
    margin: 0 0 1.1em;
    padding-left: 1.4em;
}

.blog-content li {
    margin-bottom: 0.4em;
}

.blog-content ul li {
    list-style: disc;
}

.blog-content ol li {
    list-style: decimal;
}

.blog-content a {
    color: #112b5c;
    text-decoration: underline; /* metin içindeki link sadece renkle ayırt edilmesin (A1) */
}

.blog-content blockquote {
    margin: 0 0 1.1em;
    padding: 10px 20px;
    border-left: 4px solid #112b5c;
    background: #f7f8fb;
    color: #444;
}

.blog-content img {
    max-width: 100%;
    height: auto;
}

.blog-content table {
    width: 100%;
    margin-bottom: 1.1em;
    border-collapse: collapse;
}

.blog-content th,
.blog-content td {
    padding: 8px 10px;
    border: 1px solid #ddd;
}

.blog-cta {
    margin-top: 40px;
    padding: 25px 25px 15px;
    border-radius: 12px;
    background: #f5f6f9;
    text-align: center;
}

.blog-cta-text {
    margin: 0 0 15px;
    font-size: 1.2em;
    line-height: 1.5;
    color: #3d3d3d;
}

.blog-button {
    display: inline-block;
    margin: 0 5px 10px;
    padding: 12px 18px;
    border-radius: 6px;
    background: #404040;
    color: #ffffff !important;
    letter-spacing: 1px;
    transition: all 0.3s ease 0s;
}

.blog-button:hover,
.blog-button:focus {
    background: #112b5c;
}

.blog-button-whatsapp {
    background: #1f8a4c;
}

/* ===== Diğer yazılar ===== */
.blog-others {
    margin-bottom: 50px;
    padding-top: 30px;
    border-top: 4px solid #f0f0f0;
}

h2.blog-others-title {
    margin: 0 0 25px;
    font-size: 1.6em;
    font-weight: 600;
    letter-spacing: 1px;
    color: #3d3d3d;
}

.blog-all {
    margin-top: 30px;
    text-align: center;
}

/* ===== Sayfa numaraları (ürün listesindeki gibi, product-list.css) ===== */
.blog-list .pagination-container {
    text-align: center;
}

.pagination > li {
    border: none;
    background: white;
    color: #404040 !important;
    font-weight: 100;
    padding: 5px;
    text-transform: uppercase;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease 0s;
}

.pagination > li > a,
.pagination > li > span {
    border: none;
    background: white;
    color: #404040 !important;
    font-weight: 100;
    text-transform: uppercase;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease 0s;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    border: none;
    background: #404040;
    color: #ffffff !important;
    font-weight: 100;
    text-transform: uppercase;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease 0s;
}

/* ===== Telefon (viewport 500 px) ===== */
@media (max-width: 661px) {
    .blog-intro {
        font-size: 1.15em;
    }

    h1.blog-title {
        font-size: 1.9em;
    }

    .blog-content {
        font-size: 1.15em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-card,
    .blog-card:hover {
        transition: none;
        transform: none;
    }
}
