.engelsiz-site {
    margin: 0;
    background: #fff;
    color: #111827;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.engelsiz-page {
    width: min(1110px, 100%);
    margin: 0 auto;
}

.engelsiz-skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.engelsiz-skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    z-index: 1000;
    padding: .75rem 1rem;
    background: #111827;
    color: #fff;
}

.engelsiz-hero {
    min-height: 280px;
    padding: 2rem 1rem;
    text-align: center;
    background: #e9ecef;
}

.engelsiz-logo-link img {
    width: 140px;
    height: auto;
}

.engelsiz-university,
.engelsiz-hero h1 {
    margin: .6rem 0 0;
    font-weight: 300;
    color: #2d2f33;
    letter-spacing: 0;
}

.engelsiz-university {
    font-size: 4.5rem;
}

.engelsiz-hero h1 {
    font-size: 3.3rem;
}

.engelsiz-navbar {
    display: flex;
    align-items: stretch;
    min-height: 80px;
    padding: 0 1rem;
    background: #247ba0;
}

.engelsiz-home-link,
.engelsiz-menu a {
    display: flex;
    align-items: center;
    gap: .35rem;
    min-height: 44px;
    padding: .75rem .35rem;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.engelsiz-menu {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.engelsiz-menu li {
    position: relative;
}

.engelsiz-menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    display: none;
    min-width: 240px;
    margin: 0;
    padding: .4rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid #d4d4d8;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .16);
}

.engelsiz-menu li:hover > ul,
.engelsiz-menu li:focus-within > ul,
.engelsiz-menu li.is-open > ul {
    display: block;
}

.engelsiz-menu ul a {
    justify-content: space-between;
    min-height: 38px;
    padding: .55rem .9rem;
    color: #111827;
}

.engelsiz-menu ul ul {
    top: 0;
    left: 100%;
}

.engelsiz-dropdown-icon {
    flex: 0 0 auto;
    width: .5rem;
    height: .5rem;
    margin-top: -.2rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.engelsiz-menu ul .engelsiz-dropdown-icon {
    margin-left: .75rem;
    margin-top: 0;
    transform: rotate(-45deg);
}

.engelsiz-layout {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.engelsiz-panel,
.engelsiz-card {
    margin-bottom: 20px;
    border: 1px solid #d7d7d7;
    background: #fff;
}

.engelsiz-panel {
    padding: 20px;
}

.engelsiz-panel h2,
.engelsiz-card h2 {
    margin: 0;
    font-size: 1.5rem;
}

.engelsiz-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.engelsiz-panel li + li {
    margin-top: .45rem;
}

.engelsiz-panel a::before {
    content: "›";
    margin-right: .45rem;
    font-size: 1.6rem;
    line-height: 1;
}

.engelsiz-panel a,
.engelsiz-card a {
    color: #007bff;
}

.engelsiz-panel input,
.engelsiz-form input,
.engelsiz-form textarea {
    width: 100%;
    min-height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: .45rem .6rem;
}

.engelsiz-panel button,
.engelsiz-form button {
    width: 100%;
    min-height: 40px;
    margin-top: 1rem;
    border: 0;
    border-radius: 4px;
    background: #007bff;
    color: #fff;
    cursor: pointer;
}

.engelsiz-card-header,
.engelsiz-card-footer {
    padding: 16px 20px;
    background: #f8f8f8;
}

.engelsiz-card-body {
    padding: 20px;
    line-height: 1.65;
}

.engelsiz-continue-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.engelsiz-card-body img,
.engelsiz-rich-content img {
    max-width: 100%;
    height: auto;
}

.engelsiz-rich-content {
    overflow-x: auto;
}

.engelsiz-rich-content table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: collapse;
}

.engelsiz-rich-content th,
.engelsiz-rich-content td {
    padding: .5rem;
    border: 1px solid #d7dde5;
    vertical-align: top;
}

.engelsiz-rich-content a {
    word-break: break-word;
}

.engelsiz-date {
    margin: .5rem 0 0;
    color: #006fec;
    font-weight: 600;
}

.engelsiz-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.engelsiz-category-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #374151;
    font-weight: 600;
}

.engelsiz-result-list {
    padding-left: 1.2rem;
}

.engelsiz-result-list li + li,
.engelsiz-form label + input,
.engelsiz-form label + textarea {
    margin-top: .35rem;
}

.engelsiz-form label {
    display: block;
    margin-top: .9rem;
    font-weight: 600;
}

.engelsiz-form fieldset {
    margin: 1rem 0;
    border: 1px solid #cbd5e1;
}

.engelsiz-form fieldset label {
    font-weight: 400;
}

.engelsiz-form fieldset input {
    width: auto;
    min-height: auto;
}

.engelsiz-form-note {
    margin-top: 1rem;
    color: #475569;
}

.engelsiz-toolbar {
    position: fixed;
    right: 0;
    top: 50%;
    display: grid;
    gap: 6px;
    z-index: 30;
}

.engelsiz-toolbar button {
    width: 74px;
    height: 68px;
    border: 0;
    background: #ccc;
    color: #007bff;
    font-size: 2.4rem;
    cursor: pointer;
}

.engelsiz-footer {
    margin: 20px 0;
    padding: 16px;
    text-align: center;
    background: #247ba0;
    color: #fff;
}

.engelsiz-site.engelsiz-contrast {
    background: #000;
    color: #fff;
}

.engelsiz-site.engelsiz-contrast .engelsiz-hero,
.engelsiz-site.engelsiz-contrast .engelsiz-panel,
.engelsiz-site.engelsiz-contrast .engelsiz-card,
.engelsiz-site.engelsiz-contrast .engelsiz-card-header,
.engelsiz-site.engelsiz-contrast .engelsiz-card-footer {
    background: #000;
    color: #fff;
    border-color: #fff;
}

.engelsiz-site.engelsiz-contrast a {
    color: #ffff00;
}

.engelsiz-site.engelsiz-large-font {
    font-size: 150%;
    line-height: 1.4;
}

.engelsiz-site :focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .engelsiz-university {
        font-size: 2.4rem;
    }

    .engelsiz-hero h1 {
        font-size: 2rem;
    }

    .engelsiz-layout {
        grid-template-columns: 1fr;
    }

    .engelsiz-navbar,
    .engelsiz-menu {
        display: block;
    }

    .engelsiz-menu ul {
        position: static;
    }

    .engelsiz-menu ul .engelsiz-dropdown-icon {
        margin-top: -.2rem;
        transform: rotate(45deg);
    }

    .engelsiz-toolbar {
        top: auto;
        right: .75rem;
        bottom: .75rem;
        display: flex;
    }

    .engelsiz-toolbar button {
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
}
