/* ============================================
   MÜSİAD YALOVA — نسخه نهایی با فاصله‌گذاری استاندارد
   ============================================ */

:root {
    --accent: #b88a2f;
    --accent-hover: #a67c28;
    --dark: #1f2a36;
    --light-dark: #2d3e4f;
    --muted: #6b7280;
    --border: #e5e7eb;
    --bg-light: #ecece8;
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', Arial, sans-serif;
    font-weight: 400;
    background: #e4e4d5;
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.main-nav a,
.btn {
    font-family: 'Config Condensed', Arial, sans-serif;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s;
}

a:hover {
    color: var(--accent-hover);
}

/* ============ WRAP - با فاصله استاندارد ============ */
.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ============ TOP BAR ============ */
.topbar {
    background: #b88a2f;
    color: #120f0f;
    padding: 10px 0;
    font-size: 13px;
}

.topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar a {
    color: rgb(12, 12, 1);
    margin-left: 15px;
    font-size: 13px;
}

.topbar a:hover {
    color: var(--accent);
}

.topbar .left, .topbar .right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ============ HEADER ============ */
.site-header {
    position: sticky;
    top: 0;
    background: #e4e4d5;
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 20px;
}

.logo img {
    display: block;
    max-height: 55px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
}

.main-nav a {
    padding: 8px 14px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.main-nav a:hover {
    background: var(--bg-light);
    color: var(--accent);
}

.main-nav a.nav-sponsor {
    background: var(--accent);
    color: #f2f2eb;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(184, 138, 47, 0.22);
}

.main-nav a.nav-sponsor:hover {
    background: #9f7424;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(159, 116, 36, 0.28);
}

.main-nav a.nav-sponsor.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.45), 0 10px 24px rgba(184, 138, 47, 0.28);
}

.main-nav a.active:not(.nav-sponsor) {
    background: var(--bg-light);
    color: var(--accent);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--dark);
}

/* ============ HERO SLIDER ============ */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #000;
    min-height: 550px;
    margin-bottom: 60px;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
    position: static;
}

.overlay {
    background: rgba(31, 42, 54, 0.80);
    padding: 40px 45px;
    border-radius: 12px;
    color: #fff;
    text-align: left;
    max-width: 520px;
    margin-left: 40px;
}

.overlay h1 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.overlay p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.95;
    line-height: 1.6;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 138, 47, 0.35);
}

/* ============ PRESIDENT SECTION ============ */
.president {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 60px;
}

.president .left img {
    width: 100%;
    max-width: 380px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.president h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.president p {
    color: var(--muted);
    margin-bottom: 12px;
    line-height: 1.8;
}

.president strong {
    display: block;
    margin-top: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
}

/* ============ SOCIAL LINKS (President) ============ */
.president-social {
    margin-top: 25px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 2px solid rgba(184, 138, 47, 0.25);
}

.president-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0f2f5;
    color: var(--dark);
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.president-social a:hover {
    transform: translateY(-4px);
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(184, 138, 47, 0.30);
}

/* ============ NEWS ============ */
.news {
    padding: 60px 0;
    margin-bottom: 20px;
}

.news h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--dark);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
    border-color: var(--accent);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.uye-card .logo-container img,
.card .logo-container img  {
    width:auto !important;
    height:auto !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
}

.card h4 {
    font-size: 18px;
    font-weight: 600;
    padding: 16px 20px 8px;
    color: var(--dark);
}

.card p {
    padding: 0 20px;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.card a {
    display: inline-block;
    padding: 0 20px 20px;
    color: var(--accent);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.card a:hover {
    color: var(--accent-hover);
}

.sponsor-grid {
    gap: 24px;
}

.sponsor-page-section {
    padding: 70px 0 40px;
}

.sponsor-page-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 36px;
}

.sponsor-page-header .sponsor-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.sponsor-page-header .sponsor-intro-text {
    color: var(--muted);
    font-size: 16px;
}

.sponsor-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 24px 20px 20px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.sponsor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.sponsor-card--gold {
    border-color: rgba(184, 138, 47, 0.4);
    box-shadow: 0 10px 24px rgba(184, 138, 47, 0.08);
}

.sponsor-card--silver {
    border-color: rgba(148, 163, 184, 0.45);
}

.sponsor-card--bronze {
    border-color: var(--border);
}

.sponsor-card:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: #C9A227;
}

.sponsor-card--silver:after {
    background: #BFC5CC;
}

.sponsor-card--bronze:after {
    background: #A97142;
}

.sponsor-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--dark);
    border: 1px solid rgba(34, 34, 34, 0.06);
    z-index: 2;
}

.sponsor-card--gold .sponsor-badge {
    color: #6f5f2d;
}

.sponsor-card--silver .sponsor-badge {
    color: #5f6368;
}

.sponsor-card--bronze .sponsor-badge {
    color: #6f4f2f;
}

.sponsor-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 10px 8px 18px;
}

.sponsor-logo-wrap img {
    width: auto;
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sponsor-card:hover .sponsor-logo-wrap img {
    transform: scale(1.05);
}

.sponsor-card .sponsor-name {
    font-size: 20px;
    margin-top: 0;
    padding: 8px 0 6px;
    color: var(--dark);
}

.sponsor-card .sponsor-description {
    padding: 0 0 16px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.sponsor-links {
    margin-top: auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sponsor-links .sponsor-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f5f2ea;
    color: var(--accent);
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
}

.sponsor-links .sponsor-link:hover {
    color: #fff;
    background: var(--accent);
    transform: translateY(-2px);
}

.sponsor-showcase {
    padding: 70px 0 40px;
    background: linear-gradient(135deg, #b88a2f 0%, #d4a24b 100%);
    margin: 20px 0 0;
}

.sponsor-showcase__intro {
    text-align: center;
    margin-bottom: 32px;
    color: #fff;
}

.sponsor-showcase__intro .sponsor-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}

.sponsor-showcase__intro .sponsor-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.sponsor-showcase__intro .sponsor-intro-text {
    max-width: 690px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
}

.sponsor-showcase__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.sponsor-showcase__card {
    background: #fff;
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.25);
}

.sponsor-showcase__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.sponsor-showcase__card--gold {
    border-color: rgba(184, 138, 47, 0.25);
}

.sponsor-showcase__card--silver {
    border-color: rgba(148, 163, 184, 0.3);
}

.sponsor-showcase__card--bronze {
    border-color: rgba(167, 113, 66, 0.24);
}

.sponsor-showcase__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    margin-bottom: 14px;
}

.sponsor-showcase__logo img {
    width: auto;
    max-width: 100%;
    max-height: 84px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sponsor-showcase__card:hover .sponsor-showcase__logo img {
    transform: scale(1.05);
}

.sponsor-showcase__card .sponsor-name {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--dark);
}

.sponsor-showcase__card .sponsor-description {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    padding: 0;
}

/* ============ MEMBER MARQUEE ============ */
.member-marquee {
    overflow: hidden;
    padding: 50px 0;
    background: #f2f2eb;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 60px 0;
}

.member-marquee h3 {
    margin-bottom: 30px;
    color: var(--dark);
    text-align: center;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0.5px;
}

.marquee {
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marqueeRight 30s linear infinite;
    padding: 0 20px;
}

.marquee-item {
    flex: 0 0 160px;
    height: 120px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: all 0.3s ease;
}

.marquee-item:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(184, 138, 47, 0.12);
    transform: scale(1.02);
}

.marquee-item img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes marqueeRight {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

/* ============ FOOTER ============ */
.site-footer {
    background: var(--dark);
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.site-footer h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-footer p, .site-footer li {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer a {
    color: rgba(255,255,255,0.7);
}

.site-footer a:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* ============ FOOTER SOCIAL ICONS ============ */
.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.footer-social-icons .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icons .social-icon:hover {
    background: #b88a2f;
    transform: translateY(-3px);
    color: #ffffff;
}

/* ============================================
   ÜYELERİMİZ SAYFASI - اصلاح شده
   ============================================ */

.uyeler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.members-page .uye-card,
.uye-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.members-page .uye-card:hover,
.uye-card:hover {
    border-color: #b88a2f;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
/* ===== کادر لوگو - کاملاً ثابت ===== */
.members-page .logo-container,
.uye-card .logo-container {
    width: 100%;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fafbfc;
    padding: 15px;
    border-bottom: 1px solid #eef0f3;
    flex-shrink: 0;
}

/* ===== تصویر لوگو - همیشه در مرکز با اندازه مناسب ===== */
.members-page .logo-container img,
.uye-card .logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

/* ===== اگر می‌خواهید عکس‌های خیلی کوچک بزرگتر شوند ===== */
.members-page .logo-container img.small-logo,
.uye-card .logo-container img.small-logo {
    width: auto;
    height: 100%;
    max-width: 100%;
}

/* ===== اگر می‌خواهید عکس‌های خیلی بزرگ کوچکتر شوند ===== */
.members-page .logo-container img.large-logo,
.uye-card .logo-container img.large-logo {
    width: 100%;
    height: auto;
    max-height: 100%;
}

/* ===== هاور روی لوگو ===== */
.members-page .uye-card:hover .logo-container img,
.uye-card:hover .logo-container img {
    transform: scale(1.05);
}

/* ===== اطلاعات کارت ===== */
.members-page .uye-adi,
.uye-card .uye-adi {
    font-size: 16px;
    font-weight: 600;
    color: #1f2a36;
    margin: 15px 15px 5px;
}

.uye-card .temsilci {
    font-size: 14px;
    color: #6b7280;
    margin: 0 15px 8px;
}

.uye-card .adres {
    font-size: 13px;
    color: #9ca3af;
    margin: 0 15px 12px;
    line-height: 1.5;
}

.uye-card .website-link {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 15px 15px;
    background: #f3f4f6;
    color: #1f2a36;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
    align-self: flex-start;
}

.uye-card .website-link:hover {
    background: #b88a2f;
    color: #ffffff;
}

/* ============================================
   HABERLER SAYFASI
   ============================================ */

.haber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.haber-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.haber-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: #b88a2f;
}

.haber-card .haber-resim {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

.haber-card .haber-resim img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.haber-card:hover .haber-resim img {
    transform: scale(1.03);
}

.haber-card .haber-icerik {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.haber-card .haber-baslik {
    font-size: 18px;
    font-weight: 600;
    color: #1f2a36;
    margin-bottom: 10px;
    line-height: 1.4;
}

.haber-card .haber-ozet {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.haber-card .haber-tarih {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 12px;
}

.haber-card .devam-link {
    display: inline-block;
    color: #b88a2f;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    align-self: flex-start;
}

.haber-card .devam-link:hover {
    color: #a67c28;
    transform: translateX(4px);
}

/* ============ PAGINATION ============ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #1f2a36;
    background: #ffffff;
    font-weight: 600;
}

.pagination a.active,
.pagination a:hover {
    background: #b88a2f;
    border-color: #b88a2f;
    color: #ffffff;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .wrap {
        padding: 0 20px;
    }
    .president {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: 10px 0;
        gap: 0;
        box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 12px 20px;
        border-radius: 0;
        width: 100%;
        white-space: normal;
    }

    .hero-slider {
        min-height: 420px;
    }
    .slide {
        min-height: 420px;
        justify-content: center;
    }
    .overlay {
        margin-left: 0;
        max-width: calc(100% - 40px);
        padding: 30px;
    }
    .overlay h1 {
        font-size: 26px;
    }
    .overlay p {
        font-size: 14px;
    }

    .president {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0;
        text-align: center;
    }
    .president .left img {
        max-width: 280px;
        margin: 0 auto;
    }
    .president-social {
        justify-content: center;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .marquee-track {
        gap: 20px;
        padding: 0 10px;
    }
    .marquee-item {
        flex: 0 0 130px;
        height: 100px;
        padding: 12px;
    }
    .member-marquee h3 {
        font-size: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }

    .topbar .wrap {
        flex-direction: column;
        gap: 8px;
        font-size: 12px;
        text-align: center;
    }
    .topbar .left, .topbar .right {
        justify-content: center;
    }
    .topbar a {
        margin-left: 0;
    }

    /* Üyeler ve Haberler Mobil */
    .uyeler-grid,
    .haber-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 5px;
    }

    .members-page .logo-container,
    .uye-card .logo-container {
        height: 170px;
        min-height: 170px;
        max-height: 170px;
        padding: 15px;
    }

    .haber-card .haber-resim {
        height: 180px;
    }

    .haber-card .haber-baslik {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .wrap {
        padding: 0 15px;
    }
    .logo img {
        max-height: 40px;
    }
    .overlay {
        padding: 20px;
    }
    .overlay h1 {
        font-size: 20px;
    }
    .overlay p {
        font-size: 12px;
    }
    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    .president-social a {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }
    .marquee-item {
        flex: 0 0 110px;
        height: 85px;
        padding: 10px;
    }
    .member-marquee h3 {
        font-size: 20px;
    }

    .members-page .logo-container,
    .uye-card .logo-container {
        height: 140px;
        min-height: 140px;
        max-height: 140px;
        padding: 12px;
    }

    .haber-card .haber-resim {
        height: 150px;
    }

    .haber-card .haber-icerik {
        padding: 15px;
    }

    .uye-card .uye-adi {
        font-size: 15px;
    }
}
.post > img{
    display:block;
    width:100%;
    max-width:100%;
    height:auto;
    border-radius:10px;
    margin-bottom:20px;
}

.content img{
    max-width:100%;
    height:auto;
    display:block;
}


@media (max-width:768px){

    .post > img{
        width:100%;
        height:auto;
        margin-bottom:15px;
    }

}

.uyeler-grid  {
    width:auto !important;
    height:auto !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
}

.uyeler-grid .card img {
  width: 100%;
  height: 180px;
  object-fit: contain;    /* تصویر کامل، بدون برش */
  background-color: #fff; /* برای پس‌زمینه‌ی خالی اطراف تصویر */
  display: block;
}