/* Ana sayfa hero arka plan görseli */
body.home .hero {
    position: relative;
    background-image:
        linear-gradient(
            90deg,
            rgba(248, 250, 247, 0.96) 0%,
            rgba(248, 250, 247, 0.90) 38%,
            rgba(248, 250, 247, 0.58) 68%,
            rgba(248, 250, 247, 0.18) 100%
        ),
        url("https://laborantakademi.com/wp-content/uploads/2026/05/ChatGPT-Image-30-May-2026-11_30_08.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

/* Mobil ana sayfa hero arka plan okunabilirlik düzeltmesi */
@media (max-width: 768px) {
    body.home .hero {
        background-image:
            linear-gradient(
                90deg,
                rgba(248, 250, 247, 0.98) 0%,
                rgba(248, 250, 247, 0.94) 48%,
                rgba(248, 250, 247, 0.78) 100%
            ),
            url("https://laborantakademi.com/wp-content/uploads/2026/05/ChatGPT-Image-30-May-2026-11_30_08.png") !important;
        background-size: cover;
        background-position: center right;
        background-repeat: no-repeat;
    }
}
/* Mobil menü: ana başlık → ana konu → alt başlık kontrollü açılır yapı */
.primary-nav .submenu-toggle {
    display: none;
}

@media (max-width: 900px) {
    .primary-nav.is-open {
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 12px 0 24px;
    }

    .primary-nav.is-open .primary-nav__list,
    .primary-nav.is-open .primary-nav__list ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .primary-nav.is-open .primary-nav__list {
        display: flex !important;
        flex-direction: column;
        gap: 8px;
    }

    .primary-nav.is-open li {
        position: relative;
        width: 100%;
        box-sizing: border-box;
    }

    .primary-nav.is-open li > a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 13px 46px 13px 15px;
        border: 1px solid rgba(6, 58, 43, 0.14);
        border-radius: 14px;
        background: #fff;
        color: #073d2c;
        font-size: 15px;
        font-weight: 800;
        text-decoration: none;
        white-space: normal;
    }

    .primary-nav.is-open .submenu-toggle {
        display: flex !important;
        position: absolute;
        top: 0;
        right: 0;
        width: 42px;
        height: 48px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-left: 1px solid rgba(6, 58, 43, 0.12);
        border-radius: 0 14px 14px 0;
        background: transparent;
        color: #b00000;
        font-size: 22px;
        font-weight: 900;
        cursor: pointer;
        z-index: 2;
    }

    .primary-nav.is-open li.menu-item-has-children > .sub-menu {
        display: none !important;
        position: static !important;
        min-width: 0 !important;
        width: 100%;
        box-sizing: border-box;
        margin: 8px 0 0 14px;
        padding: 8px;
        border: 1px solid rgba(6, 58, 43, 0.10);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.70);
        box-shadow: none;
    }

    .primary-nav.is-open li.menu-item-has-children.is-submenu-open > .sub-menu {
        display: flex !important;
        flex-direction: column;
        gap: 8px;
    }

    .primary-nav.is-open li.menu-item-has-children.is-submenu-open > .submenu-toggle {
        transform: rotate(90deg);
    }

    .primary-nav.is-open .sub-menu li > a {
        font-size: 14px;
        padding: 11px 42px 11px 13px;
    }
}

/* Laborant Akademi içerik tabloları */
.section-overview-editor-content table,
.single-laborant_note table,
.entry-content table,
.laborant-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.6;
    background: #ffffff;
    border: 1px solid #d8e4df;
    border-radius: 14px;
    overflow: hidden;
}

.section-overview-editor-content table th,
.section-overview-editor-content table td,
.single-laborant_note table th,
.single-laborant_note table td,
.entry-content table th,
.entry-content table td,
.laborant-table th,
.laborant-table td {
    border: 1px solid #d8e4df;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

.section-overview-editor-content table th,
.single-laborant_note table th,
.entry-content table th,
.laborant-table th {
    background: #f0f7f4;
    color: #073f36;
    font-weight: 700;
}

.section-overview-editor-content table tr:nth-child(even),
.single-laborant_note table tr:nth-child(even),
.entry-content table tr:nth-child(even),
.laborant-table tr:nth-child(even) {
    background: #fafdfb;
}

.section-overview-editor-content table td:first-child,
.single-laborant_note table td:first-child,
.entry-content table td:first-child,
.laborant-table td:first-child {
    font-weight: 600;
    color: #083f36;
}

@media (max-width: 768px) {
    .section-overview-editor-content table,
    .single-laborant_note table,
    .entry-content table,
    .laborant-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}