/**
 * Blog listesi & detay — okunabilir tipografi, cam kartlar
 */

.blog-page:not(.blog-page--detail) {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: min(1350px, calc(100vw - 48px));
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
    padding: clamp(12px, 3vw, 24px) 0 clamp(48px, 8vw, 72px);
}

.blog-page {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin-left: auto;
    margin-right: auto;
    padding: clamp(12px, 3vw, 24px) 0 clamp(48px, 8vw, 72px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(28px, 5vw, 40px);
}

/* ---- Liste başlığı ---- */
.blog-page__header {
    text-align: center;
    padding: 0 8px;
    max-width: 36rem;
    margin: 0 auto;
}

.blog-page__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    padding: 6px 14px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2dd4d2;
    background: rgba(1, 177, 175, 0.12);
    border: 1px solid rgba(1, 177, 175, 0.28);
    border-radius: 100px;
}

.blog-page__title {
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 4.5vw, 2.35rem);
    font-weight: 700;
    color: #f4f8fc;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.blog-page__title .highlight {
    background: linear-gradient(90deg, #01b1af 0%, #00ece9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.blog-page__lead {
    margin: 0;
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    line-height: 1.65;
    color: rgba(184, 198, 214, 0.92);
}

/* ---- Liste kartları ---- */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
}

.blog-page .blog-list .blog-item {
    --blog-thumb-w: clamp(340px, 46vw, 520px);
    --blog-thumb-h: clamp(148px, 16vw, 200px);
    --blog-cut-slant: 16%;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 0;
    width: 100%;
    min-height: var(--blog-thumb-h);
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(1, 177, 175, 0.2);
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(12, 18, 28, 0.65) 100%
    );
    backdrop-filter: blur(16px) saturate(1.35);
    -webkit-backdrop-filter: blur(16px) saturate(1.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 12px 36px rgba(0, 0, 0, 0.32);
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.blog-item:hover {
    transform: translateY(-3px);
    border-color: rgba(1, 177, 175, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 18px 44px rgba(0, 0, 0, 0.38),
        0 0 20px rgba(1, 177, 175, 0.06);
}

.blog-page .blog-list .blog-item__media {
    display: block;
    flex: 0 0 var(--blog-thumb-w);
    width: var(--blog-thumb-w);
    min-width: var(--blog-thumb-w);
    max-width: var(--blog-thumb-w);
    height: auto;
    min-height: var(--blog-thumb-h);
    align-self: stretch;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: #080e16;
    border: none;
    border-radius: 16px 0 0 16px;
    text-decoration: none;
    z-index: 2;
}

/* Yatay uzun pano — sol kenar karta yapışık, sağda çapraz kesim */
.blog-page .blog-list .blog-item__frame {
    --shape: polygon(
        0% 0%,
        calc(100% - var(--blog-cut-slant)) 0%,
        100% 100%,
        0% 100%
    );
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: var(--blog-thumb-h);
    margin: 0;
    overflow: hidden;
    clip-path: var(--shape);
    -webkit-clip-path: var(--shape);
    border: none;
    border-radius: 16px 0 0 16px;
    box-shadow: none;
    filter: none;
}

/* Çapraz kesim hattı (keskin geometrik kenar) */
.blog-page .blog-list .blog-item__frame::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    width: 42%;
    height: 100%;
    background: linear-gradient(
        118deg,
        transparent calc(100% - 3px),
        rgba(0, 236, 233, 0.92) calc(100% - 2px),
        rgba(1, 177, 175, 0.55) 100%
    );
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Çaprazlama: ikinci diyagonal vurgu */
.blog-page .blog-list .blog-item__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            128deg,
            transparent 0%,
            transparent 44%,
            rgba(1, 177, 175, 0.14) 44.8%,
            rgba(0, 236, 233, 0.22) 45.2%,
            transparent 46%
        ),
        linear-gradient(
            168deg,
            rgba(1, 177, 175, 0.1) 0%,
            transparent 40%,
            transparent 58%,
            rgba(0, 0, 0, 0.28) 100%
        );
    pointer-events: none;
}

.blog-page .blog-list .blog-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: var(--blog-thumb-h);
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: cover;
    object-position: left center;
    transform: scale(1.02);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-page .blog-list .blog-item:hover .blog-image {
    transform: scale(1.05);
}

.blog-page .blog-list .blog-item:hover .blog-item__frame {
    filter: none;
}

.blog-page .blog-list .blog-item:hover .blog-item__frame::before {
    background: linear-gradient(
        118deg,
        transparent calc(100% - 3px),
        rgba(0, 236, 233, 1) calc(100% - 2px),
        rgba(126, 255, 252, 0.75) 100%
    );
}

.blog-page .blog-list .blog-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1 1 auto;
    gap: 12px;
    padding: 22px 28px 24px 20px;
    min-width: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.blog-item .blog-title {
    margin: 0;
    font-size: clamp(1.1rem, 2.2vw, 1.32rem);
    font-weight: 600;
    color: #f8fafc;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.blog-excerpt {
    margin: 0;
    font-size: 0.9375rem;
    color: rgba(196, 208, 220, 0.9);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 2px 0 0;
    font-size: 0.8125rem;
    color: rgba(148, 163, 184, 0.95);
}

.blog-meta__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-meta__date i {
    font-size: 0.75rem;
    color: #01b1af;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #01b1af, #017f7d);
    color: #fff;
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blog-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(1, 177, 175, 0.32);
    color: #fff;
}

.blog-empty {
    text-align: center;
    padding: 32px 20px;
    font-size: 1rem;
    color: rgba(184, 198, 214, 0.9);
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.blog-item::before,
.blog-item::after {
    display: none;
}

/* Sayfalama */
.blog-page .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 8px auto 0;
    padding: 0;
    font-size: 0.875rem;
    width: 100%;
}

.blog-page .pagination a,
.blog-page .pagination span {
    padding: 9px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.22s ease, color 0.22s ease;
}

.blog-page .pagination a {
    background: rgba(255, 255, 255, 0.07);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.blog-page .pagination a:hover {
    background: #01b1af;
    color: #021014;
    border-color: #01b1af;
}

.blog-page .pagination .current {
    background: linear-gradient(135deg, #01b1af, #00ece9);
    color: #021014;
    font-weight: 700;
    border: none;
}

/* ---- Detay sayfası ---- */
.blog-page--detail {
    width: min(820px, calc(100% - 40px));
    max-width: 820px;
    gap: 28px;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.blog-breadcrumb {
    margin-bottom: 20px;
}

.blog-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(45, 212, 210, 0.95);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-breadcrumb a:hover {
    color: #00ece9;
}

.blog-article {
    border-radius: 20px;
    border: 1px solid rgba(1, 177, 175, 0.22);
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(10, 16, 26, 0.75) 100%
    );
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 16px 48px rgba(0, 0, 0, 0.36);
    overflow: hidden;
}

.blog-article__header {
    padding: clamp(24px, 4vw, 32px) clamp(20px, 4vw, 36px) 0;
}

.blog-article__eyebrow {
    display: inline-flex;
    margin: 0 0 12px;
    padding: 6px 14px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2dd4d2;
    background: rgba(1, 177, 175, 0.12);
    border: 1px solid rgba(1, 177, 175, 0.28);
    border-radius: 100px;
}

.blog-page--detail .blog-title {
    margin: 0 0 16px;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #f8fafc;
    text-align: left;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding-bottom: 20px;
    margin: 0;
    font-size: 0.875rem;
    color: rgba(148, 163, 184, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-article__meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-article__meta i {
    color: #01b1af;
    font-size: 0.8rem;
}

.blog-cover-wrap {
    margin: 0;
    padding: 0 clamp(20px, 4vw, 36px);
}

.blog-cover-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-article__body {
    padding: clamp(24px, 4vw, 36px);
}

/* Okunabilir gövde metni */
.blog-contents,
.blog-prose {
    font-size: 1.0625rem;
    line-height: 1.78;
    color: rgba(226, 232, 240, 0.96);
    letter-spacing: 0.01em;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.blog-prose > *:first-child {
    margin-top: 0;
}

.blog-prose > *:last-child {
    margin-bottom: 0;
}

.blog-prose p {
    margin: 0 0 1.25em;
}

.blog-prose h2,
.blog-prose h3,
.blog-prose h4 {
    margin: 1.75em 0 0.65em;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.blog-prose h2 {
    font-size: 1.45rem;
    padding-bottom: 0.35em;
    border-bottom: 1px solid rgba(1, 177, 175, 0.25);
}

.blog-prose h3 {
    font-size: 1.2rem;
}

.blog-prose h4 {
    font-size: 1.05rem;
}

.blog-prose ul,
.blog-prose ol {
    margin: 0 0 1.35em;
    padding-left: 0;
    list-style: none;
}

.blog-prose li {
    position: relative;
    margin-bottom: 0.65em;
    padding-left: 1.35em;
    line-height: 1.7;
}

.blog-prose ul > li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #01b1af;
    font-weight: 600;
}

.blog-prose ol {
    counter-reset: blog-ol;
}

.blog-prose ol > li {
    counter-increment: blog-ol;
}

.blog-prose ol > li::before {
    content: counter(blog-ol) ".";
    position: absolute;
    left: 0;
    color: #2dd4d2;
    font-weight: 700;
    font-size: 0.9em;
}

.blog-prose li::marker {
    color: #01b1af;
}

.blog-prose a {
    color: #2dd4d2;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.blog-prose a:hover {
    color: #00ece9;
}

.blog-prose img {
    max-width: 100%;
    height: auto;
    margin: 1.5em 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-prose blockquote {
    margin: 1.5em 0;
    padding: 14px 18px;
    border-left: 3px solid #01b1af;
    border-radius: 0 12px 12px 0;
    background: rgba(1, 177, 175, 0.08);
    color: rgba(203, 213, 225, 0.95);
    font-style: italic;
}

.blog-prose pre,
.blog-prose code {
    font-family: "Cascadia Code", "Consolas", monospace;
    font-size: 0.9em;
}

.blog-prose pre {
    margin: 1.25em 0;
    padding: 16px 18px;
    overflow-x: auto;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-prose code {
    padding: 0.15em 0.4em;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
}

.blog-prose pre code {
    padding: 0;
    background: none;
}

.blog-prose hr {
    margin: 2em 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.blog-prose table {
    width: 100%;
    margin: 1.25em 0;
    border-collapse: collapse;
    font-size: 0.95em;
}

.blog-prose th,
.blog-prose td {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
}

.blog-prose th {
    background: rgba(1, 177, 175, 0.15);
    color: #f1f5f9;
}

.blog-article__footer {
    padding: 0 clamp(20px, 4vw, 36px) clamp(24px, 4vw, 32px);
    text-align: left;
}

.blog-page--detail .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 12px 22px;
    background: linear-gradient(135deg, #00ece9, #01b1af);
    color: #021014;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blog-page--detail .back-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(1, 177, 175, 0.35);
    color: #021014;
}

/* ---- Yorumlar & form (tek panel) ---- */
.blog-discussion {
    padding: clamp(24px, 4vw, 32px);
    border-radius: 20px;
    border: 1px solid rgba(1, 177, 175, 0.22);
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(8, 14, 24, 0.82) 100%
    );
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 40px rgba(0, 0, 0, 0.32);
}

.blog-discussion__head {
    margin-bottom: 22px;
}

.blog-discussion__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    font-size: clamp(1.2rem, 3vw, 1.45rem);
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.blog-discussion__title i {
    color: #01b1af;
}

.blog-discussion__lead {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(168, 184, 200, 0.92);
}

.blog-comments__list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comment-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-card__avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    color: #021014;
    background: linear-gradient(135deg, #7af8f6, #01b1af);
}

.comment-card__body {
    flex: 1;
    min-width: 0;
}

.comment-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 12px;
    margin-bottom: 8px;
}

.comment-card__name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #e2e8f0;
}

.comment-card__date {
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.95);
}

.comment-card__text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(203, 213, 225, 0.96);
    word-break: break-word;
}

.blog-comments-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 24px;
    padding: 22px 16px;
    text-align: center;
    font-size: 0.9375rem;
    color: rgba(184, 198, 214, 0.95);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.14);
}

/* Yorum formu kartı */
.blog-comment-form-card {
    padding: clamp(20px, 4vw, 26px);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-comment-form-card__title {
    margin: 0 0 18px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
}

.blog-comment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.blog-comment-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.blog-comment-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.blog-comment-form__field--full {
    grid-column: 1 / -1;
}

.blog-comment-form__field label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(203, 213, 225, 0.95);
}

.blog-form-input,
.blog-form-textarea,
.blog-comment-form input,
.blog-comment-form textarea {
    position: static !important;
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: #f4f8fc !important;
    background: rgba(0, 0, 0, 0.32) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-form-textarea,
.blog-comment-form textarea {
    min-height: 140px !important;
    resize: vertical !important;
}

.blog-form-input:focus,
.blog-form-textarea:focus,
.blog-comment-form input:focus,
.blog-comment-form textarea:focus {
    outline: none !important;
    border-color: rgba(0, 236, 233, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(1, 177, 175, 0.22) !important;
}

.blog-field-error {
    margin: 0;
    font-size: 0.8125rem;
    color: #f87171;
}

.blog-form-errors {
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fecaca;
    font-size: 0.875rem;
}

.blog-comment-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    margin-top: 4px;
    padding: 13px 26px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #021014;
    background: linear-gradient(135deg, #7af8f6 0%, #00ece9 42%, #01b1af 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(1, 177, 175, 0.32);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blog-comment-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(1, 177, 175, 0.4);
}

@media (max-width: 640px) {
    .blog-comment-form__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .blog-page .blog-list .blog-item {
        --blog-thumb-w: 148px;
        --blog-thumb-h: 108px;
        --blog-cut-slant: 12%;
    }

    .blog-page .blog-list .blog-item__media {
        padding: 0;
        margin: 0;
    }

    .blog-page .blog-list .blog-content {
        padding: 14px 14px 16px;
        gap: 8px;
    }

    .blog-item .blog-title {
        font-size: 0.95rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-excerpt {
        font-size: 0.8125rem;
        -webkit-line-clamp: 2;
    }

    .blog-link {
        padding: 8px 14px;
        font-size: 0.75rem;
    }
}

@media (max-width: 991px) {
    .blog-page {
        width: min(100%, calc(100vw - 28px));
        max-width: 100%;
    }

    .blog-page--detail {
        width: min(100%, calc(100vw - 28px));
        max-width: 100%;
    }

    .blog-cover-img {
        max-height: 280px;
    }

    .blog-contents,
    .blog-prose {
        font-size: 1rem;
        line-height: 1.72;
    }
}

/* Açık tema */
body.light-mode .blog-page__title,
body.light-mode .blog-page--detail .blog-title,
body.light-mode .blog-item .blog-title,
body.light-mode .blog-discussion__title,
body.light-mode .blog-comment-form-card__title {
    color: #0f172a;
}

body.light-mode .blog-page__lead,
body.light-mode .blog-excerpt,
body.light-mode .blog-contents,
body.light-mode .blog-prose {
    color: #334155;
}

body.light-mode .blog-prose h2,
body.light-mode .blog-prose h3,
body.light-mode .blog-prose h4 {
    color: #0f172a;
}

body.light-mode .blog-item,
body.light-mode .blog-article {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(1, 177, 175, 0.2);
}

body.light-mode .blog-page .blog-list .blog-item__frame {
    box-shadow:
        0 10px 24px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(1, 177, 175, 0.2);
    filter: drop-shadow(0 6px 14px rgba(1, 177, 175, 0.08));
}

body.light-mode .blog-discussion {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(1, 177, 175, 0.2);
}

body.light-mode .comment-card {
    background: rgba(241, 245, 249, 0.95);
    border-color: rgba(15, 23, 42, 0.08);
}

body.light-mode .comment-card__text {
    color: #475569;
}

body.light-mode .comment-card__name {
    color: #0f172a;
}

body.light-mode .blog-comment-form-card {
    background: rgba(248, 250, 252, 0.9);
    border-color: rgba(15, 23, 42, 0.1);
}

body.light-mode .blog-form-input,
body.light-mode .blog-form-textarea,
body.light-mode .blog-comment-form input,
body.light-mode .blog-comment-form textarea {
    color: #0f172a !important;
    background: #fff !important;
    border-color: rgba(15, 23, 42, 0.15) !important;
}

body.light-mode .blog-comment-form__field label {
    color: #475569;
}
