body {
  margin: 0;
  font-family: "Gill Sans", sans-serif;
  background: #181f2a;
  color: #e3eaf5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header {
  background: #232b39;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}
.logo a {
  text-decoration: none;
  color: #6cb2ff;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  text-decoration: none;
  color: #e3eaf5;
  font-size: 1rem;
  transition: color 0.2s, background 0.2s;
  padding: 0.4rem 1rem;
  border-radius: 6px;
}
.nav-links li a:hover, .nav-links li a.active {
  background: #29344a;
  color: #6cb2ff;
}


.photo-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 1.5rem;
}
.photo-card {
  background: #fff;
  color: #232b39;
  border-radius: 12px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  margin-bottom: 1rem;
  contain: content;
}
.photo-card-profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    border: 3px solid #4f8cff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #181c27;
    aspect-ratio: 1/1;
}
.photo-card-profile-img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    border-radius: 50%;
    display: block;
    aspect-ratio: 1/1;
    background: #181c27;
}
.photo-meta {
  color: #232b39 !important;
}
main {
  flex: 1;
}
/* Footer klasik şekilde, position özelliği olmadan */
footer {
  background: #232b39;
  color: #b3c2d6;
  text-align: center;
  padding: 1rem 0;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
  font-size: 1rem;
  /* position: fixed; */
  /* position: absolute; */
  /* bottom: 0; */
  /* width: 100%; */
}
.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}
#menu-toggle {
  display: none;
}
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none;
    background: #232b39;
    position: absolute;
    top: 60px;
    left: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }
  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }
  .menu-icon {
    display: block;
  }
  .welcome-box {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
  .header-nav {
    pointer-events: none;
    opacity: 0;
    transform: translateY(-30px);
    transition: transform 0.35s cubic-bezier(0.4,0.2,0.2,1), opacity 0.35s;
  }
  .header-nav.show {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 800px) {
  .header-inner {
    padding: 0 12px;
    height: 62px;
  }
  .logo {
    font-size: 1.4rem;
  }
  .header-nav {
    position: fixed; /* DİKKAT: absolute değil, fixed olmalı */
    top: 62px;
    right: 0;
    left: 0;
    background: rgba(35, 41, 58, 0.55);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    flex-direction: column;
    align-items: flex-start;
    width: 100vw;
    padding: 18px 0 18px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    display: none;
    gap: 0;
    z-index: 2001;
  }
  .header-nav.show {
    display: flex !important;
  }
  .header-nav a, .upload-btn {
    width: 100%;
    text-align: left;
    margin: 0;
    border-radius: 0;
    padding: 12px 24px;
    font-size: 1.05rem;
  }
  .upload-btn {
    margin-left: 0;
    margin-top: 8px;
  }
  .hamburger {
    display: flex;
    z-index: 2003;
  }
}

/* Modern form stilleri */
.auth-form {
  background: #fff;
  color: #232b39;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  max-width: 400px;
  margin: 3rem auto 2rem auto;
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.auth-form h2 {
  color: #2196f3;
  margin-bottom: 1.2rem;
  text-align: center;
}
.auth-form label {
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: #232b39;
}
.auth-form input[type="text"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 1.5px solid #b3c2d6;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 0.7rem;
  background: #2d3748;
  color: #e2e8f0;
  transition: border 0.2s;
}
.auth-form input[type="text"]:focus,
.auth-form input[type="password"]:focus {
  border: 1.5px solid #2196f3;
  background: #ffffff;
  color: #2d3748;
  outline: none;
}
.btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.auth-form .btn {
  width: 100%;
  margin: 0.5rem 0 0 0;
  font-size: 1.1rem;
}
.auth-form .error {
  background: #ffeaea;
  color: #c0392b;
  border-radius: 6px;
  padding: 0.7rem 1rem;
  margin-bottom: 0.7rem;
  text-align: center;
}
.auth-form p {
  text-align: center;
  margin-top: 1rem;
  font-size: 1rem;
}
.auth-form a {
  color: #2196f3;
  text-decoration: underline;
}

.photo-card-home {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}
.photo-card-home-desc {
    font-size: 1.04rem;
    color: #bfc9e0;
    margin-bottom: 14px;
    min-height: 38px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.8em;
    line-height: 1.4em;
    white-space: normal;
}

/* Tüm sayfa için taşmayı engelle */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Ana kapsayıcılar için taşmayı engelle */
body > *,
.main-container,
.admin-container,
.photo-detail-container,
.photo-grid,
.comment-section {
    box-sizing: border-box;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Mobilde padding ve marginleri azalt */
@media (max-width: 600px) {
    .main-container,
    .admin-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
    .photo-grid {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
    .photo-card-home-bottom {
        flex-direction: column;
        gap: 2px;
    }
    .welcome-box {
        padding-left: 28px;
        padding-right: 28px;
        max-width: 100%;
        box-sizing: border-box;
        margin-left: 16px;
        margin-right: 16px;
    }
    .upload-form-modern {
        margin-top: 80px; /* Header ile kutu arasına boşluk ekle */
        margin-left: 12px;
        margin-right: 12px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .auth-form {
        margin-top: 80px !important; /* Header ile kutu arasına boşluk */
        margin-bottom: 2rem;
        margin-left: 12px;
        margin-right: 12px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

:root {
    --main-font: 'Roboto', sans-serif, Helvetica, Arial;
}

body, .photo-card, .photo-card-home, .photo-card-meta-row, .photo-card-title, 
.photo-card-home-desc, .photo-card-like-row, .photo-card-content-row, 
.photo-card-profile-avatar, .photo-card-title-desc, .photo-meta, .btn, 
.comment, .comment-content, .comment-author, .comment-date, .comment-like, 
.comment-form, .comment-form input, .comment-form textarea, .comment-form button {
    font-family: var(--main-font);
}

.photo-card-meta-row span:nth-child(2) {
  word-break: break-word;
  white-space: normal;
  display: inline-block;
  max-width: 110px;
  vertical-align: top;
}



.top-posters-section {
            margin: 0 auto 36px auto;
            max-width: 1000px;
            padding: 12px 0 18px 0;
        }
        .top-posters-title {
            color: #fff;
            font-size: 1.18rem;
            font-weight: 700;
            margin-bottom: 16px;
            text-align: center;
        }
        .top-posters-scroll {
            display: flex;
            overflow-x: auto;
            overflow-y: visible;
            gap: 18px;
            padding: 12px 0 12px 40px;
            scrollbar-width: thin;
            scrollbar-color: #4f8cff #23293a;
            position: relative;
            z-index: 1;
        }
        .top-poster-card {
            background: #23293a;
            border-radius: 16px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.10);
            min-width: 120px;
            max-width: 140px;
            flex: 0 0 120px;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 18px 10px 14px 10px;
            color: #fff;
            text-align: center;
            transition: box-shadow 0.18s, transform 0.18s;
            transform-origin: center;
        }
        .top-poster-card:first-child {
            margin-left: 12px;
        }
        .top-poster-card:hover {
            box-shadow: 0 4px 24px rgba(79,140,255,0.13);
            transform: translateY(-2px) scale(1.04);
        }
        .top-poster-avatar-link {
            display: block;
            /* margin-bottom: 8px;  */
        }
        .top-poster-avatar {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #4f8cff;
            background: #fff;
        }
        .top-poster-username {
            font-size: 1.04rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: #4fc5ff;
            word-break: break-all;
        }
        .top-poster-postcount {
            font-size: 0.98rem;
            color: #bfc9e0;
            background: #2d3650;
            border-radius: 8px;
            padding: 2px 10px;
            display: inline-block;
            margin-top: 2px;
            font-weight: 600;
            text-align: center;
        }
        .top-posters-scroll::-webkit-scrollbar {
            height: 7px;
        }
        .top-posters-scroll::-webkit-scrollbar-thumb {
            background: #4f8cff;
            border-radius: 8px;
        }
        .top-posters-scroll::-webkit-scrollbar-track {
            background: #23293a;
        }
        @media (max-width: 700px) {
            .top-posters-section { padding: 0 2vw; }
            .top-posters-title { font-size: 1.5rem; }
            .top-poster-card {
                min-width: 100px;
                max-width: 110px;
                padding: 12px 4px 10px 4px;
            }
            .top-poster-avatar {
                width: 44px;
                height: 44px;
            }
            .top-poster-username { font-size: 0.97rem; }
            .top-poster-postcount { font-size: 0.91rem; }
        }
        
        @media (max-width: 700px) {
            .top-posters-scroll {
                scrollbar-width: none; /* Firefox */
                -ms-overflow-style: none; /* IE/Edge */
            }
            .top-posters-scroll::-webkit-scrollbar {
                display: none; /* Chrome/Safari */
            }
        }
        

.promo-section {
    max-width: 1200px;
    margin: 56px auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    padding: 0 16px;
    overflow: visible;
}
.promo-cards {
    display: flex;
    gap: 32px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
}
.promo-card {
    background: linear-gradient(135deg, #4f8cff 0%,rgb(211, 99, 255) 100%);
    border-radius: 22px;
    box-shadow: 0 4px 24px rgba(79,140,255,0.13);
    padding: 32px 28px 28px 28px;
    flex: 1 1 280px;
    max-width: 340px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    transition: box-shadow 0.18s, transform 0.18s;
    border: none;
}
.promo-card:hover {
    box-shadow: 0 8px 32px rgba(79,140,255,0.18);
    transform: translateY(-4px) scale(1.03);
}
.promo-card i {
    font-size: 2.6rem;
    color: #fff;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 8px rgba(76, 130, 255, 0.18));
}
.promo-card-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: 0.2px;
}
.promo-card-desc {
    color: #e8eefe;
    font-size: 1.04rem;
    line-height: 1.5;
    font-weight: 400;
}
.promo-cta {
    text-align: center;
    margin-top: 18px;
}
.promo-cta-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: 0.2px;
    text-align: center;
}
.promo-cta-title-uni {
    font-size: 1.18rem;
    color: #e8eefe;
    font-weight: 600;
    letter-spacing: 0.1px;
    display: block;
    margin-bottom: 2px;
}
.promo-cta-title-main {
    font-size: 2.1rem;
    color: #fff;
    font-weight: 700;
    display: block;
    margin-top: 0;
}
.promo-cta-btn {
    background: #fff;
    color: #4f8cff;
    border: none;
    border-radius: 8px;
    padding: 14px 38px;
    font-size: 1.13rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    margin-bottom: 8px;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(108,99,255,0.08);
    text-decoration: none;
    display: inline-block;
}
.promo-cta-btn:hover {
    background: #4f8cff;
    color: #fff;
}
.promo-cta-sub {
    color: #e8eefe;
    font-size: 0.98rem;
    margin-top: 6px;
}
@media (max-width: 900px) {
    .promo-cards {
        flex-direction: column;
        gap: 22px;
        align-items: center;
    }
    .promo-card {
        max-width: 100%;
        width: 100%;
        align-items: flex-start;
    }
    .promo-section { gap: 28px; }
}
@media (max-width: 600px) {
    .promo-section {
        margin-top: 36px;
        padding: 0 4px;
    }
    .promo-card {
        padding: 28px 14px 24px 14px;
        width: 94%;
        margin: 0 auto 22px auto;
        max-width: 98vw;
        box-sizing: border-box;
    }
    .promo-card-title {
        font-size: 1.18rem;
    }
    .promo-card-desc {
        font-size: 1.04rem;
    }
    .promo-card i {
        font-size: 2.7rem;
        margin-bottom: 14px;
        margin-top: 2px;
        align-self: flex-start;
        display: block;
    }
    .promo-cta-title {
        font-size: 1.25rem;
    }
}
.promo-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    margin-top: 0;
}
.promo-logos img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}
@media (max-width: 600px) {
    .promo-logos {
        gap: 10px;
        margin-bottom: 12px;
    }
    .promo-logos img {
        width: 56px;
        height: 56px;
    }
}
.weekly-top-photos-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 32px;
}
.weekly-top-photo-card {
    background: none;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(79,140,255,0.10);
    overflow: hidden;
    min-width: 220px;
    max-width: 260px;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.18s, transform 0.18s;
    height: 340px;
}
.weekly-top-photo-card:hover {
    box-shadow: 0 8px 32px rgba(79,140,255,0.18);
    transform: translateY(-4px) scale(1.03);
}
.weekly-top-photo-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    flex: 1;
}
.weekly-top-photo-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.weekly-top-photo-title {
    position: absolute;
    left: 0; top: 0;
    color: #fff;
    font-size: 1.13rem;
    font-weight: 700;
    padding: 14px 16px 8px 16px;
    background: linear-gradient(90deg, rgba(24,30,41,0.85) 80%, rgba(24,30,41,0.01) 100%);
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    border-radius: 0 0 12px 0;
    max-width: 80%;
}
.weekly-top-photo-profile {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    z-index: 3;
    /* background: rgba(24,30,41,0.82); */
    padding: 4px 10px 4px 4px;
    border-radius: 18px;
    font-size: 1rem;
    max-width: 10%;
}
.weekly-top-photo-profile-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4f8cff;
    background: #181c27;
    box-shadow: none;
    display: inline-block;
}
.weekly-top-photo-likes {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #ff4f4f;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(24,30,41,0.82);
    padding: 6px 14px;
    border-radius: 18px;
    z-index: 3;
}
@media (max-width: 900px) {
    .weekly-top-photos-cards {
        gap: 12px;
    }
    .weekly-top-photo-card {
        min-width: 170px;
        max-width: 200px;
        height: 240px;
    }
}
@media (max-width: 700px) {
    .weekly-top-photos-cards {
        overflow-x: hidden;
        flex-wrap: nowrap;
        gap: 0;
        scroll-behavior: smooth;
        position: relative;
        height: 450px;
    }
    .weekly-top-photo-card {
        min-width: 90vw;
        max-width: 90vw;
        position: absolute;
        left: 50%;
        top: 0;
        transition: transform 0.5s cubic-bezier(0.4,0.2,0.2,1), opacity 0.4s;
        opacity: 0;
        z-index: 1;
        height: 450px;
    }
    .weekly-top-photo-card.active {
        opacity: 1;
        z-index: 2;
    }
    .weekly-top-photo-title {
        font-size: 1rem;
        padding: 10px 10px 6px 10px;
    }
    .weekly-top-photo-profile, .weekly-top-photo-likes {
        padding: 5px 10px;
        font-size: 1rem;
    }
}

.welcome-box {
    background: #22305a;
    border-radius: 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 48px 48px 36px 48px;
    margin: 0 auto 0 auto;
    max-width: 900px;
    text-align: center;
    color: #fff;
    margin-bottom: 24px;
}
.welcome-box h1 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
}
.welcome-box p {
    color: #bfc9e0;
    font-size: 1.18rem;
    margin-bottom: 28px;
}
.welcome-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
}
.welcome-btn {
    background: #4f8cff;
    color: #fff !important;
    font-weight: 700;
    border: none;
    border-radius: 9px;
    padding: 12px 32px;
    font-size: 1.13rem;
    text-decoration: none !important;
    transition: background 0.18s;
    box-shadow: 0 2px 8px rgba(79,140,255,0.08);
    display: inline-block;
}
.welcome-btn:hover {
    background: #2563eb;
    color: #fff !important;
}
.welcome-btn-outline {
    background: transparent;
    border: 2px solid #4f8cff;
    color: #4f8cff !important;
}
.welcome-btn-outline:hover {
    background: #4f8cff;
    color: #fff !important;
}
@media (max-width: 1000px) {
    .welcome-box {
        padding: 28px 4vw 22px 4vw;
        max-width: 93vw;
    }
    .welcome-box h1 { font-size: 1.3rem; }
    .welcome-btn, .welcome-btn-outline { padding: 10px 18px; font-size: 1rem; }
}
@media (max-width: 800px) {
    body {
        padding-top: 80px !important; /* header yüksekliği kadar boşluk bırak */
    }
    main {
        margin-top: 0 !important; /* main elementinin üst margin'ini sıfırla */
    }
}
@media (max-width: 600px) {
    body {
        padding-top: 80px !important; /* header yüksekliği kadar boşluk bırak */
    }
    .welcome-box {
        padding-left: 16px;
        padding-right: 16px;
        margin-top: 18px; /* header ile kutu arasına boşluk */
    }
}
.photo-header-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 40px auto 24px auto;
    gap: 16px;
}

.photo-header-row select {
    background: linear-gradient(135deg, #2d3650 0%, #3a4a6b 100%);
    color: #e3eaf5;
    border: 2px solid #4f8cff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 140, 255, 0.2);
    outline: none;
    min-width: 200px;
}

.photo-header-row select:hover {
    border-color: #667eea;
    box-shadow: 0 6px 20px rgba(79, 140, 255, 0.3);
    transform: translateY(-1px);
}

.photo-header-row select:focus {
    border-color: #764ba2;
    box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.2);
}

.photo-header-row select option {
    background: #2d3650;
    color: #e3eaf5;
    padding: 10px;
}
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* column-gap: 8px; */
    row-gap: 48px; 
    /* margin-top: 48px; */
    column-gap: 8px;   /* Sütunlar arası boşluk daha da azaltıldı */
    row-gap: 48px;
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
    box-sizing: border-box;
    justify-content: center; /* Ortalamak için eklendi */
}
.photo-card-home {
    background: #23293a;
    border-radius: 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
    min-height: 420px;
    max-width: 420px;
}
.photo-card-home > div {
    width: 100% !important;
    /* padding: 0 5%;  // Gerekirse ekleyin, ama genellikle gerek yok */
}
.photo-card-home img {
    width: 100%;
    height: 340px !important;
    object-fit: cover;
    border-radius: 22px 22px 0 0;
}
.photo-card-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 8px 8px 0 8px;
    font-size: 0.91rem;
    color: #7a859e;
    background: none;
    border-radius: 6px 6px 0 0;
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
    margin-bottom: 12px;
}
.photo-card-meta-row i {
    color: #4f8cff;
    font-size: 1rem;
    margin-right: 3px;
}
.photo-card-content-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 32px 16px 32px;
    gap: 16px;
    box-sizing: border-box;
}
.photo-card-profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0;
    border: 3px solid #4f8cff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo-card-title-desc {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    margin-left: 12px;
    margin-right: 8px;
}
.photo-card-title {
    font-size: 1.13rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    line-height: 1.2;
    margin-bottom: 2px;
    margin-top: 0;
    text-align: left;
    display: block;
    word-break: break-word;
}
.photo-card-home-desc {
    font-size: 0.98rem;
    color: #bfc9e0;
    margin-bottom: 0;
    min-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.8em;
    line-height: 1.4em;
    white-space: normal;
    text-align: left;
}
.photo-card-like-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 38px;
    color: #ff4d4d;
    font-weight: 600;
    font-size: 1.13rem;
    height: 100%;
}
.photo-card-like-row i {
    color: #ff4d4d;
    font-size: 1.2rem;
}
@media (max-width: 1700px) {
    .photo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .photo-grid {
        grid-template-columns: 1fr;
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }
    .photo-card-home {
        width: 100%;
        max-width: 100%;
        margin: 0 0 24px 0;
    }
    .photo-card-home > div { width: 90%; }
    .photo-card-home img { height: 48vw !important; min-height: 160px; }
    .photo-card-content-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 14px 32px 12px 32px;
    }
    .photo-card-profile-avatar {
        margin: 0;
        width: 44px;
        height: 44px;
    }
    .photo-card-title-desc {
        align-items: flex-start;
        margin-left: 12px;
        margin-right: 8px;
        text-align: left;
        width: auto;
    }
    .photo-card-title {
        text-align: left;
        font-size: 1.08rem;
    }
    .photo-card-home-desc {
        text-align: left;
        font-size: 0.97rem;
        min-height: 0;
        max-height: 2.8em;
    }
    .photo-card-like-row {
        align-self: center;
        margin-top: 0;
        margin-right: 2px;
    }
}
@media (max-width: 800px) {
    .photo-grid {
        grid-template-columns: 1fr;
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }
    .photo-card-home img { height: 45vw !important; min-height: 160px; }
    .photo-card-home-bottom {
        flex-wrap: nowrap;
        flex-direction: row;
        gap: 8px;
        justify-content: center;
        align-items: center;
    }
    .photo-card-home-bottom span {
        font-size: 0.93rem;
        padding: 0 4px;
    }
}
.promo-section, .promo-card, .promo-cta-title, .promo-cta-title-uni, .promo-cta-title-main, .promo-card-title, .promo-card-desc, .promo-cta-btn, .promo-cta-sub {
    font-family: 'Roboto', sans-serif, Helvetica, Arial !important;
}

.load-more-wrapper {
  display: flex;
  justify-content: center;
  margin: 32px 0 40px 0;
  padding-bottom: 20px;
}
.load-more-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 1.18rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.load-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.load-more-btn:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}
.load-more-btn:hover::before {
  left: 100%;
}
.load-more-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}
.load-more-btn i {
  font-size: 1.4rem;
}
@media (max-width: 600px) {
  .load-more-btn {
    width: 100%;
    font-size: 1.08rem;
    padding: 16px 0 16px 0;
    border-radius: 18px;
    min-height: 54px;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(79,140,255,0.10);
    letter-spacing: 0.01em;
  }
  .load-more-btn i {
    font-size: 1.3rem;
    margin-right: 8px;
    margin-left: 0;
    position: relative;
    top: 1px;
  }
  .load-more-wrapper {
    margin: 18px 0 0 0;
    padding: 0 4px;
  }
}