/* =========================================================
   DEPREM VERİSİ
   REHBER DETAY SAYFASI
   Header / Footer CSS içermez.
   Ortak header.html kullanılmaktadır.
========================================================= */


/* ---------------------------------------------------------
   VARIABLES
--------------------------------------------------------- */

.rd-page {
    --rd-page-width: 1140px;

    --rd-ink: #17231d;
    --rd-muted: #718078;
    --rd-soft: #f4f7f5;
    --rd-line: #e2e9e5;
    --rd-green: #356b51;
    --rd-red: #d64545;
    --rd-red-light: #fdf0f0;
    --rd-white: #ffffff;
}


/* ---------------------------------------------------------
   BASE
--------------------------------------------------------- */

.rd-page,
.rd-page * {
    box-sizing: border-box;
}

.rd-page {
    width: 100%;
    color: var(--rd-ink);
}

.rd-page a {
    color: inherit;
    text-decoration: none;
}


/* ---------------------------------------------------------
   MAIN
--------------------------------------------------------- */

.rd-page__main {
    width: 100%;
    min-height: 700px;

    padding: 0 0 90px;

    background: var(--rd-white);
}


/* ---------------------------------------------------------
   CONTAINER
--------------------------------------------------------- */

.rd-container {
    width: min(
        var(--rd-page-width),
        calc(100% - 40px)
    );

    max-width: var(--rd-page-width);

    margin: 0 auto;
}


/* ---------------------------------------------------------
   BREADCRUMB
--------------------------------------------------------- */

.rd-breadcrumb {
    display: flex;
    align-items: center;

    gap: 9px;

    padding: 27px 0 25px;

    color: var(--rd-muted);

    font-size: 13px;

    white-space: nowrap;
    overflow: hidden;
}

.rd-breadcrumb a {
    transition: color 0.2s ease;
}

.rd-breadcrumb a:hover {
    color: var(--rd-red);
}

.rd-breadcrumb span:last-child {
    overflow: hidden;

    text-overflow: ellipsis;
}


/* ---------------------------------------------------------
   ARTICLE
--------------------------------------------------------- */

.rd-article {
    width: 100%;

    background: var(--rd-white);
}


/* ---------------------------------------------------------
   ARTICLE HEADER
--------------------------------------------------------- */

.rd-article-header {
    width: 100%;

    padding: 48px 0 42px;
}

.rd-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 20px;

    color: var(--rd-red);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.rd-article-header h1 {
    max-width: 1000px;

    margin: 0;

    color: var(--rd-ink);

    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -2px;
}

.rd-summary {
    max-width: 950px;

    margin: 23px 0 0;

    color: var(--rd-muted);

    font-size: 18px;
    line-height: 1.7;
}

.rd-meta {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-top: 27px;

    color: var(--rd-muted);

    font-size: 12px;
    font-weight: 600;
}

.rd-meta-dot {
    color: var(--rd-line);
}


/* ---------------------------------------------------------
   DIVIDER
--------------------------------------------------------- */

.rd-divider {
    width: 100%;
    height: 1px;

    background: var(--rd-line);
}


/* ---------------------------------------------------------
   ARTICLE CONTENT
--------------------------------------------------------- */

.rd-content {
    width: 100%;

    padding: 48px 0 55px;

    color: #29352f;

    font-size: 17px;
    line-height: 1.85;
}

.rd-content > *:first-child {
    margin-top: 0;
}

.rd-content > *:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   HEADINGS
--------------------------------------------------------- */

.rd-content h2 {
    max-width: 1000px;

    margin: 52px 0 18px;

    color: var(--rd-ink);

    font-size: 28px;
    line-height: 1.25;

    font-weight: 800;

    letter-spacing: -0.7px;
}

.rd-content h3 {
    max-width: 1000px;

    margin: 38px 0 14px;

    color: var(--rd-ink);

    font-size: 21px;
    line-height: 1.35;

    font-weight: 750;

    letter-spacing: -0.3px;
}

.rd-content h4 {
    max-width: 1000px;

    margin: 30px 0 12px;

    color: var(--rd-ink);

    font-size: 18px;
    line-height: 1.4;

    font-weight: 750;
}


/* ---------------------------------------------------------
   PARAGRAPHS
--------------------------------------------------------- */

.rd-content p {
    max-width: 1000px;

    margin: 0 0 22px;
}

.rd-content strong {
    color: var(--rd-ink);

    font-weight: 750;
}

.rd-content em {
    color: var(--rd-green);
}


/* ---------------------------------------------------------
   LINKS
--------------------------------------------------------- */

.rd-content a {
    color: var(--rd-red);

    font-weight: 650;

    text-decoration: underline;
    text-decoration-color: rgba(214, 69, 69, 0.3);
    text-underline-offset: 3px;

    transition:
        text-decoration-color 0.2s ease;
}

.rd-content a:hover {
    text-decoration-color: var(--rd-red);
}


/* ---------------------------------------------------------
   LISTS
--------------------------------------------------------- */

.rd-content ul,
.rd-content ol {
    max-width: 1000px;

    margin: 20px 0 27px;

    padding-left: 27px;
}

.rd-content li {
    margin: 8px 0;

    padding-left: 4px;
}

.rd-content li::marker {
    color: var(--rd-red);

    font-weight: 700;
}


/* ---------------------------------------------------------
   BLOCKQUOTE
--------------------------------------------------------- */

.rd-content blockquote {
    max-width: 1000px;

    margin: 32px 0;

    padding: 22px 25px;

    background: var(--rd-soft);

    border-left: 3px solid var(--rd-red);

    color: #4c5a53;

    font-size: 16px;
    line-height: 1.75;
}

.rd-content blockquote p {
    max-width: none;

    margin: 0;
}


/* ---------------------------------------------------------
   IMAGES
--------------------------------------------------------- */

.rd-content img {
    display: block;

    width: 100%;
    max-width: 1000px;
    height: auto;

    margin: 30px 0;

    border-radius: 10px;
}


/* ---------------------------------------------------------
   TABLE
--------------------------------------------------------- */

.rd-content table {
    width: 100%;
    max-width: 1000px;

    margin: 30px 0;

    border-collapse: collapse;

    font-size: 15px;
}

.rd-content th,
.rd-content td {
    padding: 12px 14px;

    border: 1px solid var(--rd-line);

    text-align: left;
}

.rd-content th {
    background: var(--rd-soft);

    color: var(--rd-ink);

    font-weight: 750;
}


/* ---------------------------------------------------------
   CODE
--------------------------------------------------------- */

.rd-content code {
    padding: 3px 7px;

    background: var(--rd-soft);

    border-radius: 4px;

    color: var(--rd-red);

    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

    font-size: 14px;
}

.rd-content pre {
    width: 100%;
    max-width: 1000px;

    overflow-x: auto;

    margin: 30px 0;

    padding: 22px;

    background: #17231d;

    border-radius: 8px;

    color: #f4f7f5;

    font-size: 14px;
    line-height: 1.7;
}

.rd-content pre code {
    padding: 0;

    background: transparent;

    color: inherit;
}


/* ---------------------------------------------------------
   ARTICLE BOTTOM
--------------------------------------------------------- */

.rd-bottom {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 25px 0;

    border-top: 1px solid var(--rd-line);
}

.rd-back,
.rd-map-link {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    font-size: 13px;
    font-weight: 700;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.rd-back {
    color: var(--rd-muted);
}

.rd-back:hover {
    color: var(--rd-ink);
}

.rd-map-link {
    color: var(--rd-red);
}

.rd-map-link:hover {
    transform: translateX(3px);
}

.rd-map-link span {
    font-size: 17px;
}


/* ---------------------------------------------------------
   INFORMATION BOX
--------------------------------------------------------- */

.rd-info {
    width: 100%;

    display: flex;

    gap: 18px;

    margin-top: 58px;

    padding: 25px;

    background: var(--rd-soft);

    border: 1px solid var(--rd-line);

    border-radius: 10px;
}

.rd-info-icon {
    flex: 0 0 32px;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--rd-red-light);

    color: var(--rd-red);

    font-size: 14px;
    font-weight: 800;
}

.rd-info h2 {
    margin: 1px 0 7px;

    color: var(--rd-ink);

    font-size: 15px;

    font-weight: 750;
}

.rd-info p {
    max-width: 900px;

    margin: 0;

    color: var(--rd-muted);

    font-size: 13px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */

@media (max-width: 900px) {

    .rd-container {
        width: calc(100% - 36px);
    }


    .rd-content h2,
    .rd-content h3,
    .rd-content h4,
    .rd-content p,
    .rd-content ul,
    .rd-content ol,
    .rd-content blockquote,
    .rd-content img,
    .rd-content table,
    .rd-content pre,
    .rd-article-header h1,
    .rd-summary {
        max-width: 100%;
    }

}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 700px) {

    .rd-container {
        width: calc(100% - 24px);
    }


    .rd-page__main {
        min-height: 0;

        padding-bottom: 60px;
    }


    .rd-breadcrumb {
        padding-top: 20px;
        padding-bottom: 15px;

        font-size: 11px;
    }


    .rd-article-header {
        padding: 35px 0 32px;
    }


    .rd-label {
        margin-bottom: 16px;
    }


    .rd-article-header h1 {
        font-size: 35px;

        letter-spacing: -1.4px;
    }


    .rd-summary {
        font-size: 16px;

        line-height: 1.65;
    }


    .rd-meta {
        margin-top: 22px;
    }


    .rd-content {
        padding-top: 35px;

        font-size: 16px;
        line-height: 1.8;
    }


    .rd-content h2 {
        margin-top: 40px;

        font-size: 24px;
    }


    .rd-content h3 {
        margin-top: 32px;

        font-size: 19px;
    }


    .rd-content h4 {
        font-size: 17px;
    }


    .rd-content table {
        display: block;

        overflow-x: auto;

        white-space: nowrap;
    }


    .rd-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 18px;
    }


    .rd-info {
        margin-top: 40px;

        padding: 20px;
    }

}


/* ---------------------------------------------------------
   SMALL MOBILE
--------------------------------------------------------- */

@media (max-width: 430px) {

    .rd-article-header h1 {
        font-size: 31px;
    }


    .rd-meta {
        align-items: flex-start;

        flex-direction: column;

        gap: 4px;
    }


    .rd-meta-dot {
        display: none;
    }

}