/* Content list — Haberler & Blog ortak kart desenleri */

.content-list-section {
    background:
        radial-gradient(60% 60% at 50% 0%, #f0fdfd 0%, transparent 55%),
        #f8fafc;
}

.content-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .content-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .content-list-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============ Kart ============ */
.content-list-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 14px -10px rgba(15, 23, 42, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    isolation: isolate;
    text-decoration: none;
    color: inherit;
}

.content-list-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #009BAA 0%, #00C1D5 50%, #084F59 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4;
}

.content-list-card:hover {
    transform: translateY(-5px);
    border-color: #99F6FA;
    box-shadow: 0 24px 48px -22px rgba(0, 155, 170, 0.4);
}

.content-list-card:hover::before {
    transform: scaleX(1);
}

.content-list-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #084F59 0%, #021C22 100%);
}

.content-list-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.content-list-card:hover .content-list-card__image {
    transform: scale(1.06);
}

.content-list-card__media-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 2.5rem;
}

.content-list-card__category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.3rem 0.7rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.96);
    color: #007D8A;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 10px -4px rgba(15, 23, 42, 0.2);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.content-list-card:hover .content-list-card__category {
    background: #084F59;
    color: #ffffff;
}

.content-list-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.1rem 1.25rem 1.25rem;
}

.content-list-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    font-size: 0.72rem;
    color: #64748b;
    margin-bottom: 0.6rem;
}

.content-list-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.content-list-card__meta i {
    color: #009BAA;
    font-size: 0.7rem;
}

.content-list-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    min-height: 2.7rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.content-list-card:hover .content-list-card__title {
    color: #007D8A;
}

.content-list-card__excerpt {
    margin-top: 0.55rem;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-list-card__footer {
    margin-top: auto;
    padding-top: 0.95rem;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.content-list-card__author {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
}

.content-list-card__author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #009BAA, #084F59);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 0.65rem;
    font-weight: 800;
    overflow: hidden;
}

.content-list-card__author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-list-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    transition: color 0.25s ease;
}

.content-list-card__cta i {
    transition: transform 0.25s ease;
}

.content-list-card:hover .content-list-card__cta {
    color: #007D8A;
}

.content-list-card:hover .content-list-card__cta i {
    transform: translateX(4px);
}

/* ============ Boş durum ============ */
.content-list-empty {
    grid-column: 1 / -1;
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: 1.25rem;
    padding: 3rem 1.5rem;
    text-align: center;
}

.content-list-empty__icon {
    display: inline-grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #ecf9fa, #cdf5f8);
    color: #007D8A;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.content-list-empty__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.content-list-empty__text {
    font-size: 0.875rem;
    color: #64748b;
}

/* ============ Pagination ============ */
.content-list-pagination {
    margin-top: 2.5rem;
}

.content-list-pagination nav > div:last-child,
.content-list-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.content-list-pagination a,
.content-list-pagination span {
    display: inline-grid;
    place-items: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.6rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.content-list-pagination a:hover {
    background: #f0fdfd;
    border-color: #99F6FA;
    color: #007D8A;
}

.content-list-pagination span[aria-current="page"] {
    background: linear-gradient(135deg, #009BAA 0%, #084F59 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 8px 18px -8px rgba(0, 155, 170, 0.55);
}

/* ============ Events takvim wrapper ============ */
.events-calendar-section {
    background:
        radial-gradient(60% 60% at 50% 0%, #f0fdfd 0%, transparent 55%),
        #f8fafc;
}

.events-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.events-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    box-shadow: 0 2px 8px -4px rgba(15, 23, 42, 0.1);
}

.events-legend__swatch {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    border-left: 3px solid;
}

.events-legend__swatch--training {
    background: rgba(0, 155, 170, 0.18);
    border-left-color: #084F59;
}

.events-legend__swatch--event {
    background: rgba(244, 63, 94, 0.16);
    border-left-color: #e11d48;
}

.events-calendar-wrap {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    box-shadow: 0 24px 48px -28px rgba(0, 155, 170, 0.3);
    overflow: hidden;
}

.events-calendar-wrap::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #009BAA 0%, #00C1D5 50%, #084F59 100%);
    z-index: 2;
}

.events-calendar-wrap > div {
    padding: 1rem;
}

@media (min-width: 768px) {
    .events-calendar-wrap > div {
        padding: 1.5rem 2rem;
    }
}

/* ============ Contact ============ */
.contact-section {
    background:
        radial-gradient(60% 60% at 50% 0%, #f0fdfd 0%, transparent 60%),
        #f8fafc;
}

.contact-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 24px 56px -28px rgba(0, 155, 170, 0.3);
    position: relative;
    isolation: isolate;
}

.contact-wrap::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #009BAA 0%, #00C1D5 50%, #084F59 100%);
    z-index: 4;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 5fr 7fr;
    }
}

/* Sol panel — koyu petrol kurumsal */
.contact-info {
    position: relative;
    padding: 2.5rem 1.75rem;
    background:
        radial-gradient(40% 60% at 100% 0%, rgba(0, 193, 213, 0.22) 0%, transparent 60%),
        linear-gradient(135deg, #084F59 0%, #03353D 60%, #021C22 100%);
    color: #ffffff;
    overflow: hidden;
}

@media (min-width: 768px) {
    .contact-info {
        padding: 3rem 2.5rem;
    }
}

.contact-info__pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, black 0%, transparent 80%);
    opacity: 0.55;
    pointer-events: none;
}

.contact-info > * {
    position: relative;
    z-index: 1;
}

.contact-info__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.contact-info__text {
    margin-top: 0.85rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.contact-info__list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.contact-info__icon {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 0.75rem;
    background: rgba(0, 193, 213, 0.16);
    color: #5ce5f4;
    font-size: 1rem;
    border: 1px solid rgba(92, 234, 244, 0.22);
}

.contact-info__icon--wa {
    background: rgba(16, 185, 129, 0.18);
    color: #6ee7b7;
    border-color: rgba(110, 231, 183, 0.25);
}

.contact-info__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(205, 245, 248, 0.85);
}

.contact-info__value {
    margin-top: 0.2rem;
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.45;
}

.contact-info__value a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-info__socials {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info__socials-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.75rem;
}

.contact-info__social {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    margin-right: 0.5rem;
    transition: all 0.25s ease;
}

.contact-info__social:hover {
    background: linear-gradient(135deg, #009BAA, #00C1D5);
    color: #ffffff;
    border-color: rgba(92, 234, 244, 0.4);
    transform: translateY(-2px);
}

/* Sağ panel — Form */
.contact-form-panel {
    padding: 2.25rem 1.75rem;
    background: #ffffff;
}

@media (min-width: 768px) {
    .contact-form-panel {
        padding: 3rem 2.5rem;
    }
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.contact-form-subtitle {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.contact-form-grid {
    margin-top: 1.75rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

@media (min-width: 640px) {
    .contact-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-field {
    position: relative;
}

.contact-field--full {
    grid-column: 1 / -1;
}

.contact-field__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    margin-bottom: 0.4rem;
}

.contact-field__label-required::after {
    content: '*';
    color: #f43f5e;
    margin-left: 0.2rem;
}

.contact-field__input,
.contact-field__textarea {
    width: 100%;
    height: 2.85rem;
    padding: 0 1rem;
    font-size: 0.9rem;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-field__input::placeholder,
.contact-field__textarea::placeholder {
    color: #94a3b8;
}

.contact-field__input:focus,
.contact-field__textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #009BAA;
    box-shadow: 0 0 0 3px rgba(0, 155, 170, 0.15);
}

.contact-field__textarea {
    height: auto;
    min-height: 9rem;
    padding: 0.75rem 1rem;
    resize: vertical;
    line-height: 1.55;
}

.contact-field__error {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #e11d48;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.contact-success {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 0.7rem;
    background: rgba(16, 185, 129, 0.10);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #047857;
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-kvkk {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.5;
}

.contact-kvkk a {
    color: #007D8A;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-kvkk a:hover {
    color: #084F59;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    height: 3rem;
    padding: 0 1.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #009BAA 0%, #084F59 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 14px 28px -12px rgba(0, 155, 170, 0.55);
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.contact-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 18px 32px -12px rgba(0, 155, 170, 0.7);
}

.contact-submit i {
    transition: transform 0.25s ease;
}

.contact-submit:hover i {
    transform: translateX(3px);
}

/* ============ Application form — Step fieldsets ============ */
.application-fieldset {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem 1.25rem 1.25rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 60%);
}

.application-legend {
    position: absolute;
    top: -0.85rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid #cdf5f8;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
}

.application-legend__number {
    display: inline-grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #009BAA, #084F59);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 0 6px 12px -4px rgba(0, 155, 170, 0.4);
}

/* ============ Search results page ============ */
.search-section-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
    letter-spacing: -0.01em;
}

.search-section-title i {
    color: #009BAA;
    font-size: 1.1rem;
}

.search-section-title__count {
    margin-left: auto;
    display: inline-grid;
    place-items: center;
    min-width: 1.75rem;
    padding: 0.15rem 0.65rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #009BAA, #084F59);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
}

.search-staff-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1rem 1.1rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.search-staff-card:hover {
    transform: translateY(-2px);
    border-color: #99F6FA;
    box-shadow: 0 18px 32px -22px rgba(0, 155, 170, 0.35);
}

.search-staff-card__avatar {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #ecf9fa, #cdf5f8);
    color: #007D8A;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px rgba(0, 193, 213, 0.18);
    overflow: hidden;
}

.search-staff-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-staff-card__name {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 0.25rem;
}

.search-staff-card__expertise {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============ Galeri kartı (index) ============ */
.gallery-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px -10px rgba(15, 23, 42, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    border-color: #99F6FA;
    box-shadow: 0 24px 48px -22px rgba(0, 155, 170, 0.4);
}

.gallery-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #084F59 0%, #021C22 100%);
    overflow: hidden;
}

.gallery-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-card__image {
    transform: scale(1.08);
}

.gallery-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 3rem;
}

.gallery-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(3, 53, 61, 0.75) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-card:hover .gallery-card__overlay {
    opacity: 1;
}

.gallery-card__hint {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%) translateY(8px);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.95);
    color: #007D8A;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    box-shadow: 0 10px 22px -6px rgba(0, 0, 0, 0.35);
}

.gallery-card:hover .gallery-card__hint {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.gallery-card__hint i {
    font-size: 0.7rem;
}

.gallery-card__body {
    padding: 1rem 1.2rem 1.2rem;
}

.gallery-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    transition: color 0.25s ease;
}

.gallery-card:hover .gallery-card__title {
    color: #007D8A;
}

.gallery-card__description {
    margin-top: 0.45rem;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============ Galeri detayı — masonry-like grid ============ */
.gallery-show-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.85rem;
}

@media (min-width: 640px) {
    .gallery-show-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1rem;
    }
}

.gallery-show-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    box-shadow: 0 4px 14px -10px rgba(15, 23, 42, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-show-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px -16px rgba(0, 155, 170, 0.4);
}

.gallery-show-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-show-item:hover img {
    transform: scale(1.06);
}

.gallery-show-item__overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(8, 79, 89, 0.65) 0%, rgba(3, 53, 61, 0.55) 100%);
    color: #ffffff;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-show-item:hover .gallery-show-item__overlay {
    opacity: 1;
}

.gallery-show-item--featured {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 9;
}

/* ============ Staff sayfası — kart ============ */
.staff-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px -10px rgba(15, 23, 42, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.staff-card:hover {
    transform: translateY(-5px);
    border-color: #99F6FA;
    box-shadow: 0 24px 48px -22px rgba(0, 155, 170, 0.4);
}

.staff-card__ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #009BAA 0%, #00C1D5 50%, #084F59 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.staff-card:hover .staff-card__ribbon {
    transform: scaleX(1);
}

.staff-card__photo {
    background: linear-gradient(135deg, #ecf9fa 0%, #ffffff 100%);
    padding: 1.5rem 1.5rem 0;
    text-align: center;
}

.staff-card__photo img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 9999px;
    border: 4px solid #ffffff;
    box-shadow: 0 12px 28px -10px rgba(0, 155, 170, 0.4);
    margin: 0 auto;
    transition: transform 0.35s ease;
}

.staff-card:hover .staff-card__photo img {
    transform: scale(1.04) rotate(-2deg);
}

.staff-card__photo--small {
    padding: 1.25rem 1.25rem 0;
}

.staff-card__photo--small img {
    width: 96px;
    height: 96px;
}

.staff-card__body {
    flex: 1;
    padding: 1.1rem 1.25rem 1.25rem;
    text-align: center;
}

.staff-card__name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    transition: color 0.25s ease;
}

.staff-card:hover .staff-card__name {
    color: #007D8A;
}

.staff-card__title {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: #007D8A;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.staff-card__bio {
    margin-top: 0.75rem;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.staff-card__email {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.75rem;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    word-break: break-all;
}

.staff-card__email i {
    color: #009BAA;
}

.staff-card__dept {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.6rem;
    padding: 0.25rem 0.7rem;
    border-radius: 0.4rem;
    background: #ecf9fa;
    color: #007D8A;
    font-size: 0.7rem;
    font-weight: 700;
}

.staff-card__dept i {
    font-size: 0.65rem;
}

/* Yönetim Kurulu öne çıkan tasarımı */
.staff-card--featured .staff-card__photo {
    padding-top: 2rem;
}

.staff-card--featured .staff-card__photo img {
    width: 160px;
    height: 160px;
}

/* ============ Staff show ============ */
.staff-show-section {
    background:
        radial-gradient(60% 60% at 50% 0%, #f0fdfd 0%, transparent 55%),
        #f8fafc;
}

.staff-show-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 24px 48px -28px rgba(0, 155, 170, 0.3);
}

.staff-show-card__ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #009BAA 0%, #00C1D5 50%, #084F59 100%);
    z-index: 4;
}

.staff-show-card__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .staff-show-card__inner {
        grid-template-columns: 280px 1fr;
        padding: 2.5rem;
    }
}

.staff-show-card__photo {
    text-align: center;
}

.staff-show-card__photo img {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 1.5rem;
    border: 4px solid #ffffff;
    box-shadow: 0 24px 48px -16px rgba(0, 155, 170, 0.35);
}

.staff-show-card__dept {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #007D8A;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    background: #ecf9fa;
    border: 1px solid #cdf5f8;
}

.staff-show-card__name {
    margin-top: 0.85rem;
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.staff-show-card__title {
    margin-top: 0.4rem;
    font-size: 1rem;
    color: #475569;
    font-weight: 700;
}

.staff-show-card__bio {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.65;
}

.staff-show-card__contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #e2e8f0;
}

.staff-show-card__contact-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #334155;
    font-weight: 600;
}

.staff-show-card__contact-icon {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 0.6rem;
    background: linear-gradient(135deg, #ecf9fa 0%, #cdf5f8 100%);
    color: #007D8A;
    border: 1px solid #cdf5f8;
}

/* ============ Search results ============ */
.search-page {
    background:
        radial-gradient(70% 60% at 50% 0%, #f0fdfd 0%, transparent 58%),
        #f8fafc;
}

.search-page__toolbar,
.search-result-section {
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 16px 34px -28px rgba(15, 23, 42, 0.32);
}

.search-page__toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem;
}

.search-page__form {
    position: relative;
    flex: 1;
    min-width: 0;
}

.search-page__form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #009baa;
    font-size: 0.88rem;
    pointer-events: none;
}

.search-page__input {
    width: 100%;
    height: 3.1rem;
    padding: 0 6rem 0 2.65rem;
    border: 1px solid #dbe5ea;
    border-radius: 0.95rem;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.search-page__input:focus {
    border-color: rgba(0, 155, 170, 0.55);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 193, 213, 0.14);
}

.search-page__btn {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 4.85rem;
    height: 2.4rem;
    border: 0;
    border-radius: 0.75rem;
    background: #009baa;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 900;
    transform: translateY(-50%);
    cursor: pointer;
}

.search-page__summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2.65rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.85rem;
    background: #ecf9fa;
    color: #007d8a;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.search-page__summary strong {
    color: #03353d;
    font-size: 1.05rem;
}

.search-page__summary-label {
    color: #64748b;
}

.search-page__sections {
    display: grid;
    gap: 1.15rem;
    margin-top: 1.15rem;
}

.search-result-section {
    padding: 1rem;
}

.search-result-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
}

.search-section-title {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 900;
}

.search-section-title i {
    display: inline-grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.75rem;
    background: #ecf9fa;
    color: #007d8a;
    font-size: 0.9rem;
}

.search-section-title__count {
    display: inline-flex;
    align-items: center;
    min-height: 1.55rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.78rem;
}

.search-result-section__all {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.25rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
}

.search-result-section__all:hover {
    background: #009baa;
    color: #ffffff;
}

.search-staff-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 5.25rem;
    padding: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.search-staff-card:hover {
    border-color: rgba(0, 155, 170, 0.28);
    box-shadow: 0 14px 30px -24px rgba(15, 23, 42, 0.34);
    transform: translateY(-1px);
}

.search-staff-card__avatar {
    display: inline-grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    overflow: hidden;
    border-radius: 999px;
    background: #ecf9fa;
    color: #007d8a;
}

.search-staff-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-staff-card__name {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.35;
}

.search-staff-card__expertise {
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .search-page__toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.1rem;
    }

    .search-result-section {
        padding: 1.25rem;
    }
}

@media (max-width: 640px) {
    .search-page__input {
        height: 2.85rem;
        padding-right: 4.6rem;
        font-size: 0.85rem;
    }

    .search-page__btn {
        min-width: 3.75rem;
    }

    .search-page__btn span {
        display: none;
    }

    .search-page__summary {
        width: 100%;
    }

    .search-result-section .content-list-grid {
        margin-top: 1rem;
    }
}
