/* Generated from the static site's inline <style> blocks: blog post base, blog listing, 404 page. */

/* ---- Blog post (article) base ---- */
.blog-hero {
            background: linear-gradient(135deg, rgba(10, 10, 30, 0.93), rgba(30, 30, 80, 0.85)),
                url('../assets/kalite-kontrol-laboratuvari.webp') center/cover no-repeat;
            padding: 120px 0 80px;
            text-align: center;
        }

        .blog-hero .blog-tag {
            display: inline-block;
            background: rgba(200, 180, 255, 0.2);
            border: 1px solid rgba(200, 180, 255, 0.4);
            color: #cdb8ff;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            padding: 5px 14px;
            border-radius: 20px;
            margin-bottom: 24px;
        }

        .blog-hero h1 {
            font-family: 'Merriweather', Georgia, serif;
            font-size: clamp(1.6rem, 4vw, 2.8rem);
            font-weight: 700;
            color: #fff;
            max-width: 780px;
            margin: 0 auto 24px;
            line-height: 1.35;
        }

        .blog-hero .article-meta {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 24px;
            color: rgba(255, 255, 255, 0.65);
            font-size: 0.875rem;
            flex-wrap: wrap;
        }

        .blog-hero .article-meta span {
            display: flex;
            align-items: center;
            gap: 7px;
        }

        .article-body {
            max-width: 760px;
            margin: 0 auto;
            padding: 64px 24px 80px;
        }

        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #0077b6;
            font-weight: 600;
            font-size: 0.9rem;
            text-decoration: none;
            margin-bottom: 40px;
            transition: gap 0.2s;
        }

        .back-link:hover {
            gap: 12px;
        }

        .article-lead {
            font-size: 1.2rem;
            line-height: 1.85;
            color: #334;
            margin-bottom: 48px;
            font-family: 'Merriweather', Georgia, serif;
        }

        .article-section {
            margin-bottom: 52px;
        }

        .article-section h2 {
            font-size: 1.45rem;
            font-weight: 700;
            color: #0a1628;
            margin-bottom: 16px;
            padding-left: 16px;
            border-left: 4px solid #5a2dc9;
            line-height: 1.3;
        }

        .article-section p {
            font-size: 1.02rem;
            line-height: 1.9;
            color: #445;
            margin-bottom: 16px;
        }

        .pull-quote {
            background: linear-gradient(135deg, #f5f0ff, #ece5ff);
            border-left: 4px solid #5a2dc9;
            border-radius: 0 12px 12px 0;
            padding: 28px 32px;
            margin: 40px 0;
        }

        .pull-quote p {
            font-family: 'Merriweather', Georgia, serif;
            font-size: 1.1rem;
            font-style: italic;
            color: #2a0d60;
            line-height: 1.75;
            margin: 0;
        }

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

        .highlight-list li {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            background: #f8fbff;
            border: 1px solid #daeaf7;
            border-radius: 10px;
            padding: 16px 20px;
            font-size: 0.975rem;
            color: #334;
            line-height: 1.6;
        }

        .highlight-list li .icon {
            width: 34px;
            height: 34px;
            min-width: 34px;
            background: linear-gradient(135deg, #4a23b8, #7a4df0);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 0.85rem;
            margin-top: 1px;
        }

        .tco-table {
            width: 100%;
            border-collapse: collapse;
            margin: 28px 0;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
        }

        .tco-table thead tr {
            background: linear-gradient(135deg, #4a23b8, #7a4df0);
            color: #fff;
        }

        .tco-table th {
            padding: 14px 20px;
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            text-align: left;
        }

        .tco-table tbody tr {
            border-bottom: 1px solid #e8e8f0;
        }

        .tco-table tbody tr:last-child {
            border-bottom: none;
        }

        .tco-table tbody tr:nth-child(even) {
            background: #f8f6ff;
        }

        .tco-table td {
            padding: 14px 20px;
            font-size: 0.92rem;
            color: #334;
        }

        .tco-table td.positive {
            color: #00875a;
            font-weight: 600;
        }

        .tco-table td.negative {
            color: #c00;
            font-weight: 600;
        }

        .conclusion-box {
            background: linear-gradient(135deg, #0d0620, #1a0a50);
            border-radius: 16px;
            padding: 40px;
            color: #fff;
            margin: 48px 0 0;
            text-align: center;
        }

        .conclusion-box h3 {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 16px;
            color: #cdb8ff;
        }

        .conclusion-box p {
            font-size: 1.02rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.82);
            max-width: 560px;
            margin: 0 auto;
        }

/* ---- Blog listing ---- */
/* ── Blog Listing Page ── */
        .blog-listing-hero {
            background: linear-gradient(135deg, rgba(5, 20, 60, 0.95), rgba(0, 100, 170, 0.85)),
                url('../assets/ana-sayfa-hero-gorseli.webp') center/cover no-repeat;
            padding: 110px 0 70px;
            text-align: center;
        }

        .blog-listing-hero .overline {
            display: inline-block;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: #7dd8f8;
            margin-bottom: 20px;
        }

        .blog-listing-hero h1 {
            font-size: clamp(2rem, 5vw, 3.4rem);
            font-weight: 700;
            color: #fff;
            margin-bottom: 18px;
            line-height: 1.15;
        }

        .blog-listing-hero h1 em {
            font-style: italic;
            color: #7dd8f8;
        }

        .blog-listing-hero p {
            font-size: 1.08rem;
            color: rgba(255, 255, 255, 0.7);
            max-width: 540px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* ── Article Grid ── */
        .blog-listing-section {
            padding: 80px 0 100px;
            background: #f5f8fc;
        }

        .blog-articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 32px;
            margin-top: 20px;
        }

        /* Featured first card spans full width */
        .blog-articles-grid .article-card:first-child {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            min-height: 360px;
        }

        .blog-articles-grid .article-card:first-child .card-image {
            border-radius: 18px 0 0 18px;
            height: 100%;
        }

        .blog-articles-grid .article-card:first-child .card-body {
            padding: 44px 44px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .blog-articles-grid .article-card:first-child .card-title {
            font-size: 1.5rem;
        }

        /* Standard card */
        .article-card {
            background: #fff;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 4px 24px rgba(0, 40, 100, 0.08);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            display: flex;
            flex-direction: column;
        }

        .card-image-link {
            display: block;
            width: 100%;
            height: auto;
            overflow: hidden;
            cursor: pointer !important;
            position: relative;
            z-index: 2;
        }

        .article-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 40px rgba(0, 60, 150, 0.14);
        }

        .card-image {
            height: 220px;
            background-size: cover;
            background-position: center;
            position: relative;
            transition: transform 0.6s ease;
            cursor: pointer !important;
        }

        .article-card:hover .card-image {
            transform: scale(1.05);
        }

        .card-image .category-pill {
            position: absolute;
            top: 16px;
            left: 16px;
            background: rgba(0, 20, 60, 0.75);
            backdrop-filter: blur(8px);
            color: #7dd8f8;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            padding: 5px 12px;
            border-radius: 20px;
            cursor: pointer !important;
            pointer-events: auto;
        }

        .card-body {
            padding: 28px 30px 30px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .card-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 0.8rem;
            color: #889;
            margin-bottom: 14px;
        }

        .card-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .card-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: #0a1628;
            line-height: 1.35;
            margin-bottom: 14px;
        }

        .card-title em {
            font-style: italic;
            color: #0077b6;
        }

        .card-excerpt {
            font-size: 0.92rem;
            color: #556;
            line-height: 1.7;
            margin-bottom: 24px;
            flex: 1;
        }

        .card-read-more {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.875rem;
            font-weight: 700;
            color: #0077b6;
            text-decoration: none;
            transition: gap 0.2s;
            align-self: flex-start;
        }

        .card-read-more:hover {
            gap: 14px;
        }

        .card-read-more i {
            font-size: 0.75rem;
        }

        /* Section header */
        .blog-section-header {
            margin-bottom: 48px;
        }

        .blog-section-header .overline {
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: #0077b6;
            display: block;
            margin-bottom: 12px;
        }

        .blog-section-header h2 {
            font-size: clamp(1.6rem, 3vw, 2.2rem);
            font-weight: 700;
            color: #0a1628;
            line-height: 1.2;
            margin-bottom: 10px;
        }

        .blog-section-header h2 em {
            font-style: italic;
            color: #0077b6;
        }

        .blog-section-header p {
            font-size: 1rem;
            color: #667;
            line-height: 1.7;
            max-width: 520px;
        }

        @media (max-width: 768px) {
            .blog-articles-grid .article-card:first-child {
                grid-column: auto;
                grid-template-columns: 1fr;
            }

            .blog-articles-grid .article-card:first-child .card-image {
                border-radius: 18px 18px 0 0;
                height: 220px;
            }

            .blog-articles-grid .article-card:first-child .card-body {
                padding: 28px 28px;
            }

            .blog-articles-grid .article-card:first-child .card-title {
                font-size: 1.15rem;
            }
        }

/* ---- 404 page ---- */
.error-page {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #003d80 0%, #0056b3 100%);
            color: white;
            text-align: center;
            padding: 20px;
            position: relative;
            overflow: hidden;
        }

        .error-content {
            z-index: 10;
            max-width: 600px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            padding: 60px 40px;
            border-radius: 30px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
            animation: fadeInPage 0.8s ease-out;
        }

        .error-code {
            font-size: 8rem;
            font-weight: 800;
            margin: 0;
            line-height: 1;
            background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.3));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 20px;
        }

        .error-title {
            font-size: 2rem;
            margin-bottom: 20px;
            font-weight: 700;
        }

        .error-message {
            font-size: 1.1rem;
            margin-bottom: 40px;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.6;
        }

        .error-actions {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .bg-bubbles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            overflow: hidden;
        }

        .bg-bubbles li {
            position: absolute;
            list-style: none;
            display: block;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.15);
            bottom: -160px;
            border-radius: 50%;
            animation: square 25s infinite;
            transition-timing-function: linear;
        }

        @keyframes fadeInPage {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes square {
            0% {
                transform: translateY(0);
            }

            100% {
                transform: translateY(-1100px) rotate(600deg);
            }
        }

        .bubble-1 {
            left: 10%;
            width: 80px;
            height: 80px;
            animation-delay: 0s;
        }

        .bubble-2 {
            left: 20%;
            width: 160px;
            height: 160px;
            animation-delay: 2s;
            animation-duration: 17s;
        }

        .bubble-3 {
            left: 25%;
            animation-delay: 4s;
        }

        .bubble-4 {
            left: 40%;
            width: 60px;
            height: 60px;
            animation-duration: 22s;
            background-color: rgba(255, 255, 255, 0.25);
        }

        .bubble-5 {
            left: 70%;
        }

        .bubble-6 {
            left: 80%;
            width: 120px;
            height: 120px;
            animation-delay: 3s;
            background-color: rgba(255, 255, 255, 0.2);
        }

        .bubble-7 {
            left: 32%;
            width: 160px;
            height: 160px;
            animation-delay: 7s;
        }

        .bubble-8 {
            left: 55%;
            width: 20px;
            height: 20px;
            animation-delay: 15s;
            animation-duration: 40s;
        }

        .bubble-9 {
            left: 25%;
            width: 10px;
            height: 10px;
            animation-delay: 2s;
            animation-duration: 40s;
            background-color: rgba(255, 255, 255, 0.3);
        }

        .bubble-10 {
            left: 90%;
            width: 160px;
            height: 160px;
            animation-delay: 11s;
        }

        @media (max-width: 480px) {
            .error-code {
                font-size: 5rem;
            }

            .error-content {
                padding: 40px 20px;
            }

            .error-actions .btn {
                width: 100%;
            }
        }
