﻿
/* MIHENK HUKUK - Ziyaretçi Dilekçeler Sayfası */

.petitions-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 65px 24px 90px;
}

.petitions-heading {
    margin-bottom: 36px;
}

.petitions-eyebrow {
    color: #a17c55;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.petitions-heading h1 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 500;
    color: #262522;
    line-height: 1.2;
    margin: 0 0 16px;
}

.petitions-description {
    color: #6f6b65;
    font-size: 16px;
    line-height: 1.8;
    max-width: 720px;
}

.petitions-search {
    margin-bottom: 28px;
}

    .petitions-search label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #36332f;
        margin-bottom: 12px;
    }

    .petitions-search input {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 17px 20px;
        border: 1px solid #e4ddd3;
        border-radius: 10px;
        background: #fff;
        color: #262522;
        font-size: 15px;
        transition: border-color .2s, box-shadow .2s;
    }

        .petitions-search input:focus {
            outline: none;
            border-color: #a17c55;
            box-shadow: 0 0 0 3px rgba(161,124,85,.12);
        }

.petitions-list {
    display: grid;
    gap: 14px;
}

    .petitions-list .petition-item {
        padding: 0;
        border: 1px solid #e4ddd3;
        border-radius: 12px;
        background: #fff;
        overflow: hidden;
        transition: border-color .2s, box-shadow .2s;
    }

        .petitions-list .petition-item:hover {
            border-color: #a17c55;
            box-shadow: 0 8px 24px rgba(0,0,0,.06);
        }

        .petitions-list .petition-item a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            padding: 23px 25px;
            color: #262522;
            text-decoration: none;
            font-size: 17px;
            font-weight: 500;
        }

            .petitions-list .petition-item a::after {
                content: "→";
                color: #a17c55;
                font-size: 23px;
            }

.petitions-empty {
    padding: 26px;
    background: #fff;
    border: 1px solid #e4ddd3;
    border-radius: 12px;
    color: #6f6b65;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .petitions-page {
        padding: 42px 18px 65px;
    }

    .petitions-heading {
        margin-bottom: 28px;
    }

    .petitions-list .petition-item a {
        padding: 19px;
        font-size: 15px;
    }
}


/* Dilekçe detay sayfası */

.petition-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    font-size: 13px;
    color: #77716b;
}

    .petition-breadcrumb a {
        color: #a17c55;
        text-decoration: none;
    }

        .petition-breadcrumb a:hover {
            text-decoration: underline;
        }

.petition-detail-page .petitions-heading h1 {
    overflow-wrap: anywhere;
}

.petition-content-card {
    background: #fff;
    border: 1px solid #e4ddd3;
    border-radius: 14px;
    padding: 42px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .035);
}

.petition-document-text {
    color: #34312e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.9;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    user-select: text;
    -webkit-user-select: text;
}

.petition-content-error {
    color: #9b3434;
    line-height: 1.7;
}

.petition-content-empty {
    color: #77716b;
    line-height: 1.7;
}

.petition-detail-footer {
    margin-top: 30px;
}

.petition-back-link {
    color: #a17c55;
    font-weight: 600;
    text-decoration: none;
}

    .petition-back-link:hover {
        text-decoration: underline;
    }

@media (max-width: 768px) {
    .petition-content-card {
        padding: 24px 18px;
    }

    .petition-document-text {
        font-size: 15px;
        line-height: 1.8;
    }
}
/* ==========================================
   LIGHTHOUSE ERİŞİLEBİLİRLİK DÜZELTMELERİ
   ========================================== */

/* Dilekçeler sayfası üst açıklama */
.petitions-eyebrow {
    color: #765735;
}

/* Dilekçe detay sayfası bağlantıları */
.petition-breadcrumb a,
.petition-back-link {
    color: #765735;
}

/* Açıklama metinleri */
.petitions-description,
.petitions-empty,
.petition-content-empty {
    color: #625b54;
}

/* Klavye ile erişilebilir odak göstergesi */
.petitions-search input:focus-visible {
    outline: 2px solid #765735;
    outline-offset: 2px;
}

/* Dilekçe detay - breadcrumb erişilebilirlik düzeltmesi */

.petition-detail-page .petition-breadcrumb,
.petition-detail-page .petition-breadcrumb span {
    color: #51463d;
}

    .petition-detail-page .petition-breadcrumb a {
        color: #79553c;
    }

