/* Statik içerik sayfaları — tipografi ve düzen */
:root {
    --static-primary: #008dab;
    --static-primary-dark: #0b4660;
    --static-accent: #c41e3a;
    --static-text: #1e293b;
    --static-muted: #64748b;
    --static-bg: #f0f4f7;
    --static-card: #ffffff;
    --static-radius: 16px;
    --static-body-size: 1.1rem;
    --static-body-leading: 1.85;
}

.static-page {
    background: var(--static-bg);
    padding-bottom: clamp(48px, 8vw, 80px);
}

/* Hero */
.static-page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(125deg, var(--static-primary) 0%, var(--static-primary-dark) 55%, #063548 100%);
    padding: clamp(24px, 3.5vw, 40px) 0 clamp(28px, 4vw, 44px);
}

.static-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.static-page-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.static-page-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.static-page-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
}

.static-page-hero h1 {
    color: #fff;
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.02em;
    text-transform: none;
}

.static-page-hero-meta {
    margin-top: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}

/* İçerik kartı — hero üzerine bindirme */
.static-page-body {
    max-width: 880px;
    margin: clamp(-20px, -3vw, -28px) auto 0;
    padding: 0 clamp(16px, 4vw, 24px);
    position: relative;
    z-index: 2;
}

.static-page-card {
    background: var(--static-card);
    border-radius: var(--static-radius);
    padding: clamp(28px, 5vw, 52px);
    box-shadow:
        0 4px 6px rgba(11, 70, 96, 0.04),
        0 20px 48px rgba(11, 70, 96, 0.1);
    border: 1px solid rgba(0, 141, 171, 0.1);
    position: relative;
    overflow: hidden;
}

.static-page-cover {
    margin: -4px 0 12px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 141, 171, 0.14);
}

.static-page-cover img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
}

.static-page-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--static-primary), var(--static-accent));
}

/* Tipografi — kurumsal iki yana yaslı metin */
.static-page-content,
.static-page-content.content-text,
.cookie-policy-content,
.content-wrapper,
.content-body {
    font-size: var(--static-body-size);
    line-height: var(--static-body-leading);
    color: var(--static-text);
    text-align: justify;
    text-justify: inter-word;
}

.static-page-content p,
.static-page-content li,
.static-page-content blockquote,
.static-page-content td,
.static-page-content div:not([class]),
.cookie-policy-content p,
.cookie-policy-content li,
.cookie-policy-content td,
.content-wrapper p,
.content-wrapper li,
.content-wrapper blockquote {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.static-page-content > *:first-child,
.cookie-policy-content > *:first-child {
    margin-top: 0;
}

.static-page-content p,
.cookie-policy-content p {
    margin-bottom: 1.25rem;
}

.static-page-content h2,
.static-page-content h3,
.static-page-content h4,
.cookie-policy-content h2,
.cookie-policy-content h3 {
    color: var(--static-primary-dark);
    font-weight: 700;
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.static-page-content h2,
.cookie-policy-content h2 {
    font-size: 1.45rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 141, 171, 0.15);
}

.static-page-content h3,
.cookie-policy-content h3 {
    font-size: 1.2rem;
    color: var(--static-primary);
}

.static-page-content a,
.cookie-policy-content a {
    color: var(--static-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.static-page-content a:hover,
.cookie-policy-content a:hover {
    color: var(--static-primary-dark);
}

.static-page-content ul,
.static-page-content ol,
.cookie-policy-content ul,
.cookie-policy-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.static-page-content li,
.cookie-policy-content li {
    margin-bottom: 0.5rem;
}

.static-page-content img,
.cookie-policy-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 8px 24px rgba(11, 70, 96, 0.12);
}

.static-page-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--static-primary);
    background: rgba(0, 141, 171, 0.06);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--static-muted);
}

.static-page-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.static-page-content th,
.static-page-content td {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
}

.static-page-content th {
    background: var(--static-primary-dark);
    color: #fff;
    font-weight: 600;
}

.static-page-content tr:nth-child(even) {
    background: #f8fafc;
}

.static-page-files {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(0, 141, 171, 0.14);
}

.static-page-files h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--static-primary-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--static-primary);
}

.static-page-file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.static-page-file-list li {
    margin-bottom: 10px;
}

.static-page-file-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f8fafc;
    border-radius: 10px;
    text-decoration: none;
    color: var(--static-text);
    font-weight: 600;
    border: 1px solid rgba(0, 141, 171, 0.12);
    transition: all 0.2s ease;
}

.static-page-file-list a:hover {
    background: var(--static-primary);
    color: #fff;
    border-color: var(--static-primary);
}

.static-page-file-list a i {
    font-size: 1.25rem;
    color: var(--static-accent);
}

.static-page-file-list a:hover i {
    color: #fff;
}

/* Üye listesi sayfaları — ortak başlık */
.members-page-hero {
    text-align: center;
    padding: clamp(32px, 5vw, 48px) 16px 28px;
    background: linear-gradient(180deg, rgba(0, 141, 171, 0.08) 0%, transparent 100%);
}

.members-page-hero h1,
.members-page-hero .page-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: var(--static-primary-dark);
    margin: 0;
    letter-spacing: -0.02em;
    text-transform: none;
}

.members-page-hero .page-subtitle {
    margin-top: 8px;
    font-size: 1.05rem;
    color: var(--static-muted);
}

/* Eski sınıflar — geriye dönük uyumluluk */
.content-section {
    background: var(--static-bg);
    padding: 0 0 clamp(48px, 8vw, 80px);
}

.content-section .page-title {
    display: none;
}

.content-wrapper {
    max-width: 880px;
    margin: clamp(-28px, -4vw, -36px) auto 0;
    padding: clamp(28px, 5vw, 52px);
    background: var(--static-card);
    border-radius: var(--static-radius);
    box-shadow: 0 20px 48px rgba(11, 70, 96, 0.1);
    border: 1px solid rgba(0, 141, 171, 0.1);
}

.content-body {
    font-size: var(--static-body-size);
    line-height: var(--static-body-leading);
    color: var(--static-text);
}

/* Üye listeleri */
.members-page {
    background: var(--static-bg);
    padding-bottom: clamp(48px, 8vw, 72px);
}

.members-page-body {
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 40px) clamp(16px, 4vw, 24px);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    border-radius: var(--static-radius);
    background: var(--static-card);
    box-shadow: 0 4px 16px rgba(11, 70, 96, 0.08);
    border: 1px solid rgba(0, 141, 171, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    padding: 24px 20px;
    cursor: pointer;
    width: 100%;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(11, 70, 96, 0.15);
    background: linear-gradient(160deg, var(--static-primary) 0%, var(--static-primary-dark) 100%);
}

.member-card .avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 4px solid rgba(0, 141, 171, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-card .member-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 6px;
    color: var(--static-text);
    text-align: center;
    line-height: 1.35;
}

.member-card .member-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--static-accent);
    text-align: center;
}

.member-card:hover .member-title,
.member-card:hover .member-role,
.member-card:hover .card-arrow {
    color: #fff;
}

.member-card .card-arrow {
    display: inline-block;
    margin-top: 10px;
    font-size: 1.35rem;
    color: var(--static-accent);
    text-decoration: none;
}

.member-card .member-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-top: 12px;
    width: 100%;
}

/* Akademik platform ikonları — ortak boyut */
.platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 8px;
    background: #f1f5f9;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.platform-icon:hover {
    background: #e8eef4;
    transform: translateY(-2px);
}

.platform-icon img {
    display: block;
    width: 36px;
    height: 36px;
    max-width: 36px;
    max-height: 36px;
    object-fit: contain;
    padding: 0;
    margin: 0;
}

.member-card .platform-icon {
    display: flex;
}

.member-card:hover .platform-icon {
    background: rgba(255, 255, 255, 0.25);
}

.president-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.president-wrapper .member-card {
    grid-column: 2;
}

.members-empty {
    text-align: center;
    color: var(--static-muted);
    font-size: 1.05rem;
    padding: 48px 20px;
    background: var(--static-card);
    border-radius: var(--static-radius);
}

@media (max-width: 1024px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .president-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .president-wrapper .member-card {
        grid-column: 1;
    }
}

@media (max-width: 576px) {
    .members-grid,
    .president-wrapper {
        grid-template-columns: 1fr;
    }

    .president-wrapper .member-card {
        grid-column: 1;
    }

    .member-card .avatar {
        width: 140px;
        height: 140px;
    }
}

/* —— Member detail sidebar —— */
.member-detail-page {
    padding: 2.5rem 0 3.5rem;
}

.member-detail-sidebar {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.member-detail-sidebar:hover {
    transform: translateY(-4px);
    border-color: #d4dce6;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
}

.member-detail-photo-wrap {
    overflow: hidden;
    border-radius: 10px;
    /* Üye listesi 4/3’e yakın, yüzün kesilmemesi için biraz daha uzun */
    aspect-ratio: 7 / 6;
    background: #f1f5f9;
}

.member-detail-photo {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    object-position: center top;
    background: #f1f5f9;
    transition: transform 0.4s ease;
}

.member-detail-sidebar:hover .member-detail-photo {
    transform: scale(1.04);
}

.member-detail-name {
    margin: 1.25rem 0 0.65rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1a2744;
    letter-spacing: -0.01em;
}

.member-detail-role-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: #4a7fd4;
    border-radius: 999px;
    line-height: 1.4;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.member-detail-sidebar:hover .member-detail-role-badge {
    background: #3d6fc4;
    box-shadow: 0 4px 12px rgba(74, 127, 212, 0.35);
}

.member-detail-info-list {
    margin-top: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.member-detail-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.member-detail-info-row > i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    font-size: 1.1rem;
    color: #4a7fd4;
    transition: transform 0.2s ease, color 0.2s ease;
}

.member-detail-info-row:hover > i {
    transform: scale(1.12);
    color: #3d6fc4;
}

.member-detail-info-row:hover .member-detail-info-primary {
    color: #0f172a;
}

.member-detail-info-primary {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.member-detail-info-secondary {
    margin-top: 0.15rem;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.4;
}

.member-detail-divider {
    margin: 1.35rem 0 1rem;
    border: 0;
    border-top: 1px solid #e8ecf1;
    opacity: 1;
}

.member-detail-section-label {
    margin: 0 0 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

/* Shared platform icons (üye listesi + detay) */
.member-platforms {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.member-platforms .platform-icon:hover {
    background: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.member-platforms .platform-icon:active {
    transform: translateY(-1px) scale(1.02);
}

.member-platforms .platform-fallback {
    font-size: 9px;
    font-weight: 700;
    color: #475569;
    line-height: 1;
    text-align: center;
    padding: 0 2px;
}

.member-detail-bio-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.member-detail-bio-card:hover {
    transform: translateY(-3px);
    border-color: #d4dce6;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.09);
}

.member-detail-bio-title {
    margin: 0 0 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a2744;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.member-detail-bio-card:hover .member-detail-bio-title {
    color: #4a7fd4;
}

.member-detail-bio-text {
    text-align: justify;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
}

.member-detail-bio-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .member-detail-sidebar {
        margin-bottom: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .member-detail-sidebar,
    .member-detail-sidebar .member-detail-photo,
    .member-detail-role-badge,
    .member-detail-info-row > i,
    .member-detail-info-primary,
    .member-platforms .platform-icon,
    .member-detail-bio-card,
    .member-detail-bio-title {
        transition: none;
    }

    .member-detail-sidebar:hover,
    .member-detail-bio-card:hover {
        transform: none;
    }

    .member-detail-sidebar:hover .member-detail-photo,
    .member-platforms .platform-icon:hover {
        transform: none;
    }
}
