/* E-Hizmetler sayfası. Yalnızca EHizmetler.cshtml kullanır. */
.eh-page {
    --eh-navy: #12356a;
    --eh-deep: #102958;
    --eh-ink: #16356a;
    --eh-muted: #667eaa;
    --eh-line: #e7eef8;
    --eh-bg: #f3f7fd;
    color: var(--eh-deep);
    font-family: inherit;
    padding-bottom: 36px;
    background: var(--eh-bg);
    margin-left: 30px;
    margin-right: 30px;
    max-width: calc(100% - 60px);
    overflow-x: clip;
}

.eh-page *,
.eh-page *::before,
.eh-page *::after { box-sizing: border-box; }

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

.eh-page .eh-shell {
    width: 100%;
    margin: 0;
}

.eh-page .eh-symbols {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.eh-page .eh-hero {
    position: relative;
    min-height: 214px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(100deg, #f7faff 0%, #e7f1ff 100%);
}

.eh-page .eh-hero-photo {
    position: absolute;
    inset: 0 0 0 36%;
    background:
        linear-gradient(90deg, #f5f9ff 0%, rgba(245, 249, 255, .55) 16%, rgba(245, 249, 255, .08) 46%, rgba(245, 249, 255, .18) 100%),
        url('/img/SehriKesfet/fotograflarlaTrabzon.jpg') center 42% / cover no-repeat;
}

.eh-page .eh-hero-script {
    position: absolute;
    right: 4%;
    top: 22px;
    z-index: 1;
    font-family: "Segoe Script", "Brush Script MT", cursive;
    font-size: 46px;
    color: rgba(255, 255, 255, .82);
    transform: rotate(-8deg);
    pointer-events: none;
    text-shadow: 0 2px 12px rgba(16, 48, 100, .18);
}

.eh-page .eh-hero-inner {
    position: relative;
    z-index: 2;
    padding: 34px 0 36px;
}

.eh-page .eh-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 2.4px;
    color: #3d72c4;
    text-transform: uppercase;
    font-weight: 600;
}

.eh-page .eh-heading {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: -1.5px;
    font-size: clamp(42px, 4.6vw, 64px);
    line-height: 1.02;
    color: #102e61;
}

.eh-page .eh-lead {
    margin: 10px 0 14px;
    max-width: 460px;
    color: #60749a;
    font-size: 16px;
}

.eh-page .eh-hero-line {
    height: 3px;
    width: 92px;
    border-radius: 4px;
    background: linear-gradient(90deg, #174cbb 0 52%, #7eb6ff 52%);
}

    .eh-page .eh-main {
        display: grid;
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 26px;
        margin-top: 22px;
        align-items: start;
        min-width: 0;
        scroll-margin-top: 18px;
    }

.eh-page .eh-sidebar {
    border: 0;
    border-radius: 24px;
    background: #0a3d62;
    padding: 22px 16px 14px;
    box-shadow: 0 8px 24px rgba(10, 61, 98, .12);
    min-width: 0;
    max-width: 100%;
    color: #fff;
}

.eh-page .eh-side-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 8px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .88);
}

.eh-page .eh-cat-summary {
    list-style: none;
    cursor: pointer;
}

.eh-page .eh-cat-summary::-webkit-details-marker { display: none; }

.eh-page .eh-cat-summary::marker { content: ""; }

.eh-page .eh-cat-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.eh-page .eh-cat-current,
.eh-page .eh-cat-chevron { display: none; }

.eh-page .eh-cat-chevron {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    position: relative;
    flex-shrink: 0;
}

.eh-page .eh-cat-chevron::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 10px;
    width: 7px;
    height: 7px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

@media (min-width: 981px) {
    .eh-page .eh-cat > .eh-menu { display: flex !important; }
    .eh-page .eh-cat-summary { display: none; }
    .eh-page .eh-sidebar { padding-top: 14px; }
}

.eh-page .eh-side-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.eh-page .eh-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.eh-page .eh-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.eh-page .eh-menu-item {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px 12px;
    min-height: 46px;
    padding: 10px 14px;
    color: rgba(255, 255, 255, .95);
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 500;
    border-bottom: 0;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.eh-page .eh-menu-item .eh-icon { color: rgba(255, 255, 255, .75); }

.eh-page .eh-menu-item:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    transform: translateX(4px);
}

.eh-page .eh-menu-item.is-active {
    background: #fff;
    color: #0a3d62;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
    transform: none;
}

.eh-page .eh-menu-item.is-active .eh-icon { color: #0a3d62; }

.eh-page .eh-menu-label {
    min-width: 0;
    flex: 0 1 auto;
    white-space: nowrap;
}

.eh-page .eh-menu-arrow { margin-left: auto; }

.eh-page .eh-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e7f1ff;
    color: #3d6fbe;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.eh-page .eh-menu-item.is-active .eh-badge {
    background: #e7f1ff;
    color: #0a3d62;
}

.eh-page .eh-menu-arrow {
    font-size: 22px;
    line-height: 1;
}

.eh-page .eh-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 6px;
}

.eh-page .eh-name-row .eh-card-name { margin: 0; }

.eh-page .eh-content { min-width: 0; }

.eh-page .eh-search {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px;
    background: #fff;
    border: 1px solid #e6eef8;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(18, 49, 99, .04);
    min-width: 0;
    width: 100%;
}

.eh-page .eh-search-field {
    position: relative;
    flex: 1;
    min-width: 0;
}

.eh-page .eh-search-field .eh-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    color: #7d93b8;
    transform: translateY(-50%);
}

.eh-page .eh-search-input {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 42px;
    border: 0;
    background: transparent;
    border-radius: 10px;
    outline: none;
    color: #183a70;
    font-size: 14px;
}

.eh-page .eh-search-input:focus { background: #f8fbff; }

.eh-page .eh-search-button {
    border: 0;
    border-radius: 10px;
    background: #14356c;
    color: #fff;
    min-width: 92px;
    height: 46px;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.eh-page .eh-search-button:hover { background: #1d4d96; }

.eh-page .eh-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 22px 0 18px;
}

.eh-page .eh-section-title {
    margin: 0 0 4px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 700;
    color: #122c5c;
}

.eh-page .eh-section-subtitle {
    margin: 0;
    color: #6a80a8;
    font-size: 14.5px;
    line-height: 1.45;
}

.eh-page .eh-count {
    color: #6a80a8;
    font-size: 14px;
    white-space: nowrap;
}

.eh-page .eh-back {
    display: inline-block;
    margin-top: 6px;
    color: #1d56b5;
    font-size: 13px;
    font-weight: 700;
}

.eh-page .eh-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.eh-page .eh-cards.is-out {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .22s ease, transform .22s ease;
}

.eh-page .eh-cards.is-in {
    animation: ehKartGir .35s ease both;
}

@keyframes ehKartGir {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.eh-page .eh-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: visible;
    border-radius: 24px;
    background: transparent;
    border: 0;
    color: #0a3d62;
    transition: transform .4s cubic-bezier(.165, .84, .44, 1);
}

.eh-page .eh-card:hover {
    transform: translateY(-8px);
    color: #0a3d62;
}

.eh-page .eh-card:focus-visible {
    outline: 3px solid #8eb4ef;
    outline-offset: 2px;
}

.eh-page .eh-card-media {
    position: relative;
    display: block;
    height: 168px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.eh-page .eh-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #d5e3f6, #eef4ff);
    transition: transform .6s ease;
}

.eh-page .eh-card:hover .eh-card-image { transform: scale(1.06); }

.eh-page .eh-badge-photo {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(10, 61, 98, .88);
    color: #fff;
    letter-spacing: .3px;
    text-transform: uppercase;
    font-size: 10px;
    padding: 5px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.eh-page .eh-card-content {
    position: relative;
    min-height: 132px;
    display: flex;
    flex-direction: column;
    margin: -36px 12px 0;
    padding: 18px 16px 14px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
    z-index: 1;
}

.eh-page .eh-card:hover .eh-card-content {
    background: #fff;
    margin-top: -44px;
}

.eh-page .eh-card-name {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    color: #0a3d62;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eh-page .eh-card-desc {
    margin: 0 0 12px;
    color: #6d84ae;
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eh-page .eh-card-cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(10, 61, 98, .06);
    color: #0a3d62;
    font-size: 13px;
    font-weight: 700;
}

.eh-page .eh-card:hover .eh-card-cta { gap: 12px; }

.eh-page .eh-cta-arrow {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e8f1ff;
    color: #1a56b0;
    font-size: 18px;
    line-height: 1;
}

.eh-page .eh-empty {
    padding: 28px 20px;
    text-align: center;
    border: 1px dashed #c9d8ef;
    border-radius: 12px;
    background: #fff;
    color: #60749c;
}

.eh-page .eh-card[hidden],
.eh-page .eh-menu-item[hidden] { display: none !important; }

@media (max-width: 1280px) {
    .eh-page .eh-main { grid-template-columns: 260px minmax(0, 1fr); gap: 18px; }
    .eh-page .eh-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
    .eh-page { margin-left: 16px; margin-right: 16px; max-width: calc(100% - 32px); }
    .eh-page .eh-main { grid-template-columns: 1fr; gap: 16px; }
    .eh-page .eh-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .eh-page .eh-hero { display: block; min-height: 0; }
    .eh-page .eh-hero-photo {
        position: relative;
        inset: auto;
        left: 0;
        height: 168px;
        opacity: 1;
        background: url('/img/SehriKesfet/fotograflarlaTrabzon.jpg') center 42% / cover no-repeat;
    }
    .eh-page .eh-hero-script { display: none; }
    .eh-page .eh-hero-inner { padding: 16px 2px 4px; }
    .eh-page .eh-heading { font-size: clamp(32px, 8vw, 46px); letter-spacing: -1px; }
    .eh-page .eh-lead { max-width: none; font-size: 15px; }
    .eh-page .eh-sidebar { padding-bottom: 8px; }
    .eh-page .eh-cat-summary { padding: 6px 8px; color: #fff; }
    .eh-page .eh-cat-kicker { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .72); letter-spacing: .08em; }
    .eh-page .eh-cat-current { display: block; font-size: 16px; line-height: 1.3; color: #fff; letter-spacing: 0; text-transform: none; }
    .eh-page .eh-cat-chevron { display: block; }
    .eh-page .eh-cat[open] .eh-cat-chevron::before { top: 12px; transform: rotate(225deg); }
    .eh-page .eh-cat[open] .eh-menu { margin-top: 8px; }
    .eh-page .eh-menu { flex-direction: column; overflow: visible; }
    .eh-page .eh-menu-item { white-space: normal; }
    .eh-page .eh-menu-label { flex: 1 1 auto; }
}

.eh-page .eh-detail {
    background: #fff;
    border: 1px solid var(--eh-line);
    border-radius: 16px;
    padding: 28px 32px 26px;
    box-shadow: 0 10px 28px rgba(16, 48, 102, .05);
    min-width: 0;
}

.eh-page .eh-detail-kicker {
    margin: 0;
    color: #3d72c4;
    font-size: 13px;
    font-weight: 700;
}

.eh-page .eh-detail-title {
    margin: 6px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.15;
    font-weight: 700;
    color: #122c5c;
}

.eh-page .eh-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.eh-page .eh-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;
}

.eh-page .eh-pill-free { background: #e5f6ea; color: #187238; }
.eh-page .eh-pill-paid { background: #fde8e8; color: #a12626; }
.eh-page .eh-pill-time { background: #e7f1ff; color: #245bb8; }

.eh-page .eh-detail-body {
    color: #243e6b;
    font-size: 15.5px;
    line-height: 1.65;
    overflow-wrap: break-word;
}

.eh-page .eh-detail-body,
.eh-page .eh-detail-body * {
    text-align: left !important;
}

.eh-page .eh-detail-body h1,
.eh-page .eh-detail-body h2,
.eh-page .eh-detail-body h3,
.eh-page .eh-detail-body h4,
.eh-page .eh-detail-body h5 {
    margin: 22px 0 8px;
    color: #122c5c;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.eh-page .eh-detail-body p { margin: 0 0 12px; }

.eh-page .eh-detail-body ul,
.eh-page .eh-detail-body ol {
    margin: 0 0 14px;
    padding-left: 1.25rem;
}

.eh-page .eh-detail-body img,
.eh-page .eh-detail-body table,
.eh-page .eh-detail-body iframe,
.eh-page .eh-detail-body video {
    max-width: 100%;
}

.eh-page .eh-gallery-title {
    margin: 22px 0 10px;
    color: #122c5c;
    font-size: 18px;
    font-weight: 700;
}

.eh-page .eh-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.eh-page .eh-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.eh-page .eh-go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #14356c;
    color: #fff;
    font-weight: 700;
}

.eh-page .eh-go:hover { background: #1d4d96; color: #fff; }

@media (max-width: 640px) {
    .eh-page { margin-left: 12px; margin-right: 12px; max-width: calc(100% - 24px); }
    .eh-page .eh-shell { width: 100%; }
    .eh-page .eh-hero-photo { height: 148px; }
    .eh-page .eh-lead { font-size: 14px; }
    .eh-page .eh-cards { grid-template-columns: 1fr; }
    .eh-page .eh-section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
    .eh-page .eh-section-title { font-size: 24px; }
    .eh-page .eh-count { white-space: normal; }
    .eh-page .eh-search { gap: 8px; padding: 6px; }
    .eh-page .eh-search-input { font-size: 13px; padding-right: 8px; }
    .eh-page .eh-search-button { min-width: 64px; padding: 0 12px; }
    .eh-page .eh-card-media { height: 168px; }
    .eh-page .eh-detail { padding: 18px 16px 16px; }
    .eh-page .eh-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
