/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
    .nav-menu > li > a {
        padding: 10px 10px;
        font-size: var(--fs-xs);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item:nth-child(2) {
        border-right: none;
    }
    
    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid var(--color-gray);
    }
    
    .meetings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: < 768px */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-md);
        transform: translateX(-100%);
        transition: var(--transition-normal);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid var(--color-gray);
    }
    
    .nav-menu > li > a {
        padding: 15px 0;
        font-size: var(--fs-base);
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        padding-left: var(--spacing-sm);
    }
    
    .has-dropdown.active .dropdown {
        display: block;
    }
    
    .nav-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: var(--spacing-xs);
        padding: var(--spacing-sm);
        background-color: var(--color-white);
        border-top: 1px solid var(--color-gray);
        transform: translateX(-100%);
        transition: var(--transition-normal);
    }
    
    .nav-menu.active ~ .nav-buttons {
        transform: translateX(0);
    }
    
    .nav-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        min-height: calc(100vh - 75px);
        padding: var(--spacing-lg) 0;
    }
    
    .hero h1 {
        font-size: var(--fs-3xl);
    }
    
    .hero p {
        font-size: var(--fs-base);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: var(--fs-2xl);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .why-member-grid {
        grid-template-columns: 1fr;
    }
    
    .why-member-image {
        order: -1;
    }
    
    .member-count {
        position: static;
        margin-top: var(--spacing-sm);
        display: inline-block;
    }
    
    .alumni-slide {
        flex: 0 0 280px;
    }
    
    .meetings-grid {
        grid-template-columns: 1fr;
    }
    
    .news-events-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--color-gray);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .auth-container {
        margin: 0 var(--spacing-sm);
        padding: var(--spacing-md);
    }
    
    .page-header h1 {
        font-size: var(--fs-2xl);
    }
}

/* Small Mobile: < 480px */
@media (max-width: 480px) {
    .hero h1 {
        font-size: var(--fs-2xl);
    }
    
    .stat-number {
        font-size: var(--fs-3xl);
    }
    
    .why-member-buttons {
        flex-direction: column;
    }
    
    .why-member-buttons .btn {
        width: 100%;
    }
}

/* Event Detail Responsive */
@media (max-width: 1024px) {
    .page-content > .container > div[style*="grid-template-columns: 1fr 380px"] {
        grid-template-columns: 1fr !important;
    }
}

/* =====================================================
   Enhanced Mobile Responsive - Ana Sayfa
   ===================================================== */

/* Tablet Landscape */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .news-events-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* Tablet Portrait */
@media (max-width: 992px) {
    .navbar {
        padding: 10px 0;
    }
    
    .navbar .container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .section-title {
        font-size: var(--fs-xl);
        margin-bottom: var(--spacing-md);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section {
        padding: var(--spacing-md);
    }
}

/* Mobile */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .navbar {
        height: auto;
        min-height: 60px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hero {
        padding: var(--spacing-md) 0;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: var(--fs-2xl);
        line-height: 1.3;
    }
    
    .hero p {
        font-size: var(--fs-sm);
    }
    
    .section {
        padding: var(--spacing-md) 0;
    }
    
    .section-title {
        font-size: var(--fs-lg);
    }
    
    .section-subtitle {
        font-size: var(--fs-sm);
    }
    
    /* Cards */
    .feature-card,
    .news-card,
    .event-card {
        padding: var(--spacing-sm);
    }
    
    /* Contact Page */
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: var(--spacing-sm);
    }
    
    .contact-card-header {
        padding: var(--spacing-sm);
    }
    
    .contact-card-body {
        padding: var(--spacing-sm);
    }
    
    /* Page Header */
    .page-header {
        padding: var(--spacing-lg) 0 var(--spacing-md);
        margin-top: 60px;
    }
    
    .page-header h1 {
        font-size: var(--fs-xl);
    }
    
    /* Forms */
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: var(--spacing-sm);
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: var(--fs-sm);
        width: 100%;
        justify-content: center;
    }
    
    .btn-group {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    /* Tables */
    .table-responsive {
        margin: 0 -15px;
        padding: 0 15px;
    }
    
    /* Footer */
    .footer {
        padding: var(--spacing-md) 0;
    }
    
    .footer-grid {
        gap: var(--spacing-md);
    }
    
    .footer-col h4 {
        font-size: var(--fs-base);
        margin-bottom: var(--spacing-xs);
    }
    
    .footer-bottom {
        padding-top: var(--spacing-sm);
        font-size: var(--fs-xs);
    }
    
    /* Slider */
    .slider-content h2 {
        font-size: var(--fs-xl);
    }
    
    .slider-content p {
        font-size: var(--fs-sm);
    }
    
    .slider-nav {
        bottom: 10px;
    }
    
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero h1 {
        font-size: var(--fs-xl);
    }
    
    .hero-buttons {
        gap: var(--spacing-xs);
    }
    
    .hero-buttons .btn {
        padding: 10px 16px;
        font-size: var(--fs-xs);
    }
    
    .section-title {
        font-size: var(--fs-base);
    }
    
    .feature-card h3,
    .news-card h3,
    .event-card h3 {
        font-size: var(--fs-base);
    }
    
    .stat-number {
        font-size: var(--fs-2xl);
    }
    
    .stat-label {
        font-size: var(--fs-xs);
    }
    
    /* Auth Pages */
    .auth-container {
        margin: var(--spacing-sm);
        padding: var(--spacing-sm);
        border-radius: var(--radius-md);
    }
    
    .auth-container h1 {
        font-size: var(--fs-lg);
    }
    
    /* Cookie Banner */
    .cookie-banner {
        padding: var(--spacing-sm);
    }
    
    .cookie-content {
        font-size: var(--fs-xs);
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-link,
    .dropdown-item,
    a {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-menu > li > a {
        padding: 14px 12px;
    }
    
    .dropdown a {
        padding: 12px 16px;
    }
}

/* Landscape Mobile */
@media (max-width: 812px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: var(--spacing-sm) 0;
    }
    
    .hero h1 {
        font-size: var(--fs-xl);
    }
    
    .nav-menu {
        max-height: 70vh;
        overflow-y: auto;
    }
}


/* =====================================================
   Auth Pages - Mobile Responsive (Premium Design)
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .auth-section {
        background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    }
    
    .auth-container {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: 0;
    }
    
    .auth-container-wide {
        max-width: 500px;
    }
    
    .auth-info {
        display: none;
    }
    
    .auth-card {
        padding: var(--spacing-lg);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
        border: none;
        border-radius: 24px;
        margin: 20px;
    }
    
    .auth-card-wide {
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .auth-section {
        padding: 0;
        margin-top: 60px;
        min-height: calc(100vh - 60px);
        min-height: calc(100dvh - 60px);
        background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
        align-items: flex-start;
        overflow-y: auto;
    }
    
    .auth-container {
        margin: 0;
        max-width: 100%;
        width: 100%;
        padding: 0;
    }
    
    .auth-card {
        padding: 32px 24px 40px;
        border-radius: 0;
        box-shadow: none;
        min-height: calc(100vh - 60px);
        min-height: calc(100dvh - 60px);
        display: flex;
        flex-direction: column;
        background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    }
    
    .auth-header {
        margin-bottom: 32px;
        text-align: center;
    }
    
    .auth-logo {
        margin-bottom: 20px;
        filter: drop-shadow(0 4px 12px rgba(196, 30, 58, 0.15));
    }
    
    .auth-header h1 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 8px;
        color: var(--color-dark);
        font-family: var(--font-heading);
        letter-spacing: -0.5px;
    }
    
    .auth-header p {
        font-size: 15px;
        color: #6b7280;
        font-weight: 400;
    }
    
    .auth-form {
        flex: 1;
    }
    
    .auth-alert {
        padding: 16px 18px;
        font-size: 14px;
        gap: 12px;
        border-radius: 16px;
        margin-bottom: 24px;
        display: flex;
        align-items: flex-start;
    }
    
    .auth-alert.error {
        background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
        border: 1px solid #fecaca;
        color: #991b1b;
    }
    
    .auth-alert.success {
        background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
        border: 1px solid #bbf7d0;
        color: #166534;
    }
    
    .auth-alert i {
        font-size: 20px;
        flex-shrink: 0;
        margin-top: 2px;
    }
    
    .auth-form-group {
        margin-bottom: 20px;
    }
    
    .auth-form-group label {
        display: flex;
        align-items: center;
        font-size: 14px;
        margin-bottom: 10px;
        font-weight: 600;
        color: #374151;
        letter-spacing: 0.2px;
    }
    
    .auth-form-group label i {
        margin-right: 10px;
        font-size: 15px;
        color: var(--color-primary);
        width: 18px;
        text-align: center;
    }
    
    .auth-form-group label .required {
        color: var(--color-primary);
        margin-left: 4px;
    }
    
    .auth-form-group input,
    .auth-form-group select {
        width: 100%;
        padding: 18px 20px;
        font-size: 16px;
        border: 2px solid #e5e7eb;
        border-radius: 14px;
        background: #ffffff;
        transition: all 0.25s ease;
        color: var(--color-dark);
        -webkit-appearance: none;
        appearance: none;
    }
    
    .auth-form-group select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
        background-size: 20px;
        padding-right: 48px;
    }
    
    .auth-form-group input:focus,
    .auth-form-group select:focus {
        outline: none;
        background: #ffffff;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.12), 0 4px 12px rgba(196, 30, 58, 0.08);
    }
    
    .auth-form-group input::placeholder {
        color: #9ca3af;
        font-weight: 400;
    }
    
    .auth-form-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .auth-password-wrapper {
        position: relative;
        display: flex;
        align-items: center;
    }
    
    .auth-password-wrapper input {
        padding-right: 56px;
    }
    
    .auth-password-toggle {
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        border-radius: 8px;
        transition: background 0.2s;
    }
    
    .auth-password-toggle:active {
        background: #f3f4f6;
    }
    
    .auth-password-toggle i {
        font-size: 18px;
        color: #6b7280;
    }
    
    .auth-options {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 24px 0;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .auth-checkbox {
        display: flex;
        align-items: center;
        font-size: 14px;
        color: #4b5563;
        gap: 12px;
        cursor: pointer;
    }
    
    .auth-checkbox input[type="checkbox"] {
        width: 22px;
        height: 22px;
        border-radius: 6px;
        border: 2px solid #d1d5db;
        cursor: pointer;
        accent-color: var(--color-primary);
        flex-shrink: 0;
    }
    
    .auth-forgot {
        font-size: 14px;
        color: var(--color-primary);
        font-weight: 600;
        text-decoration: none;
        padding: 8px 0;
        transition: color 0.2s;
    }
    
    .auth-forgot:active {
        color: #a01830;
    }
    
    .auth-submit {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 18px 28px;
        font-size: 17px;
        font-weight: 700;
        width: 100%;
        border-radius: 14px;
        background: linear-gradient(135deg, var(--color-primary) 0%, #a01830 100%);
        border: none;
        color: white;
        margin-top: 12px;
        box-shadow: 0 6px 20px rgba(196, 30, 58, 0.35);
        cursor: pointer;
        transition: all 0.25s ease;
        letter-spacing: 0.3px;
    }
    
    .auth-submit:active {
        transform: scale(0.97);
        box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
    }
    
    .auth-submit i {
        font-size: 18px;
    }
    
    .auth-footer {
        margin-top: 32px;
        padding-top: 28px;
        border-top: 1px solid #e5e7eb;
        text-align: center;
    }
    
    .auth-footer p {
        font-size: 15px;
        margin-bottom: 16px;
        color: #6b7280;
    }
    
    .auth-link-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 28px;
        font-size: 16px;
        font-weight: 600;
        width: 100%;
        border-radius: 14px;
        border: 2px solid var(--color-dark);
        background: transparent;
        color: var(--color-dark);
        text-decoration: none;
        transition: all 0.25s ease;
    }
    
    .auth-link-btn:active {
        background: var(--color-dark);
        color: white;
    }
    
    .auth-link-btn i {
        font-size: 16px;
    }
    
    .auth-hint {
        display: block;
        font-size: 12px;
        color: #9ca3af;
        margin-top: 8px;
        padding-left: 2px;
    }
    
    .auth-kvkk {
        margin: 20px 0;
        padding: 18px;
        background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
        border-radius: 14px;
        border: 1px solid #e5e7eb;
    }
    
    .auth-kvkk .auth-checkbox {
        align-items: flex-start;
    }
    
    .auth-kvkk .auth-checkbox input[type="checkbox"] {
        margin-top: 2px;
    }
    
    .auth-kvkk .auth-checkbox span {
        font-size: 13px;
        line-height: 1.6;
        color: #4b5563;
    }
    
    .auth-kvkk .auth-checkbox a {
        color: var(--color-primary);
        font-weight: 600;
        text-decoration: none;
    }
    
    .auth-kvkk .auth-checkbox a:active {
        text-decoration: underline;
    }
}

/* Small Mobile */
@media (max-width: 380px) {
    .auth-card {
        padding: 24px 18px 36px;
    }
    
    .auth-logo {
    }
    
    .auth-header h1 {
        font-size: 26px;
    }
    
    .auth-header p {
        font-size: 14px;
    }
    
    .auth-form-group input,
    .auth-form-group select {
        padding: 16px 18px;
        font-size: 15px;
    }
    
    .auth-submit {
        padding: 16px 24px;
        font-size: 16px;
    }
    
    .auth-link-btn {
        padding: 14px 22px;
        font-size: 15px;
    }
    
    .auth-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    
    .auth-kvkk {
        padding: 14px;
    }
}

/* Extra Small Mobile */
@media (max-width: 320px) {
    .auth-card {
        padding: 20px 14px 32px;
    }
    
    .auth-header h1 {
        font-size: 24px;
    }
    
    .auth-form-group label {
        font-size: 13px;
    }
    
    .auth-form-group input,
    .auth-form-group select {
        padding: 14px 16px;
        font-size: 14px;
        border-radius: 12px;
    }
}

/* Landscape orientation fix */
@media (max-width: 768px) and (orientation: landscape) {
    .auth-section {
        min-height: auto;
    }
    
    .auth-card {
        min-height: auto;
        padding-bottom: 40px;
    }
    
    .auth-header {
        margin-bottom: 20px;
    }
    
    .auth-logo {
        margin-bottom: 12px;
    }
    
    .auth-header h1 {
        font-size: 24px;
    }
}

/* Safe area for notched phones (iPhone X+) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    @media (max-width: 768px) {
        .auth-card {
            padding-bottom: calc(40px + env(safe-area-inset-bottom));
        }
        
        .auth-section {
            padding-left: env(safe-area-inset-left);
            padding-right: env(safe-area-inset-right);
        }
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .auth-form-group input,
    .auth-form-group select {
        border-width: 3px;
    }
    
    .auth-submit {
        border: 2px solid var(--color-dark);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .auth-form-group input,
    .auth-form-group select,
    .auth-submit,
    .auth-link-btn,
    .auth-password-toggle {
        transition: none;
    }
}


/* =====================================================
   KÖLMED Page - Mobile Responsive
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .kolmed-layout {
        grid-template-columns: 240px 1fr !important;
        gap: var(--spacing-md) !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Grid layout - stack vertically */
    .kolmed-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--spacing-md) !important;
    }
    
    /* Sidebar - move to bottom */
    .kolmed-sidebar {
        order: 2;
    }
    
    /* Posts section - move to top */
    .kolmed-posts {
        order: 1;
    }
    
    /* Sidebar cards */
    .kolmed-sidebar > div[style*="background: white"] {
        border-radius: 12px !important;
    }
    
    /* Category links - horizontal scroll on mobile */
    .kolmed-sidebar > div:nth-child(2) > div:last-child {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 8px;
        gap: 8px;
    }
    
    .kolmed-sidebar > div:nth-child(2) > div:last-child::-webkit-scrollbar {
        display: none;
    }
    
    .kolmed-sidebar > div:nth-child(2) > div:last-child a {
        flex-shrink: 0;
        padding: 10px 16px !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 20px !important;
        white-space: nowrap;
        font-size: 13px;
    }
    
    /* Hide rules section on mobile */
    .kolmed-sidebar > div:last-child[style*="box-shadow"] {
        display: none;
    }
    
    /* Post cards */
    .post-card {
        padding: var(--spacing-sm) !important;
        border-radius: 12px !important;
        margin-bottom: var(--spacing-sm) !important;
    }
    
    /* Post author section */
    .post-card > div:first-child {
        flex-wrap: wrap;
    }
    
    .post-card > div:first-child img {
        width: 44px !important;
        height: 44px !important;
    }
    
    .post-card > div:first-child > div {
        flex: 1;
        min-width: 0;
    }
    
    .post-card > div:first-child > div strong {
        font-size: 14px;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .post-card > div:first-child > div span {
        font-size: 12px !important;
    }
    
    .post-card > div:first-child > div small {
        font-size: 12px !important;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px;
    }
    
    /* Post title */
    .post-card h4 {
        font-size: 16px !important;
        line-height: 1.4;
    }
    
    /* Post content */
    .post-card p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    
    /* Interaction buttons */
    .post-card > div[style*="display: flex"][style*="gap"] {
        flex-wrap: wrap;
        gap: 8px !important;
    }
    
    .like-btn,
    .comment-toggle {
        padding: 10px 16px !important;
        font-size: 13px !important;
        min-height: 44px;
    }
    
    /* Comments section */
    .comments-section {
        margin-top: var(--spacing-sm) !important;
        padding-top: var(--spacing-sm) !important;
    }
    
    .comments-section .comments-list > div {
        padding: 10px !important;
        border-radius: 10px !important;
    }
    
    .comments-section .comments-list > div img {
        width: 32px !important;
        height: 32px !important;
    }
    
    .comments-section .comments-list > div strong {
        font-size: 13px !important;
    }
    
    .comments-section .comments-list > div p {
        font-size: 13px !important;
    }
    
    /* Comment input */
    .comments-section > div[style*="display: flex"] {
        flex-direction: column;
        gap: 8px !important;
    }
    
    .comments-section .comment-input {
        width: 100% !important;
        padding: 14px 16px !important;
        font-size: 15px !important;
        border-radius: 12px !important;
    }
    
    .comments-section .send-comment {
        width: 100% !important;
        padding: 14px !important;
        border-radius: 12px !important;
        min-height: 48px;
    }
    
    /* Pagination */
    .pagination {
        flex-wrap: wrap;
        gap: 6px !important;
    }
    
    .pagination a {
        padding: 12px 14px !important;
        font-size: 14px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Login prompt card */
    .kolmed-sidebar > div[style*="text-align: center"] {
        padding: var(--spacing-sm) !important;
        border-radius: 12px !important;
    }
    
    .kolmed-sidebar > div[style*="text-align: center"] p {
        font-size: 14px;
        margin-bottom: var(--spacing-xs) !important;
    }
    
    /* New post button */
    .kolmed-sidebar > a.btn {
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 12px;
    }
    
    /* Empty state */
    .kolmed-posts > div[style*="text-align: center"] {
        padding: var(--spacing-lg) var(--spacing-md) !important;
    }
    
    .kolmed-posts > div[style*="text-align: center"] i {
        font-size: 48px !important;
    }
    
    .kolmed-posts > div[style*="text-align: center"] h4 {
        font-size: 16px;
    }
    
    .kolmed-posts > div[style*="text-align: center"] p {
        font-size: 14px;
    }
    
    /* Intro section */
    .page-content[style*="padding-bottom: 0"] .container {
        padding: 0 var(--spacing-sm);
    }
    
    .page-content[style*="padding-bottom: 0"] .section-label {
        font-size: 11px;
    }
    
    .page-content[style*="padding-bottom: 0"] .section-title {
        font-size: var(--fs-lg);
    }
    
    .page-content[style*="padding-bottom: 0"] p {
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 380px) {
    .post-card {
        padding: 12px !important;
    }
    
    .post-card > div:first-child img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .post-card h4 {
        font-size: 15px !important;
    }
    
    .post-card p {
        font-size: 13px !important;
    }
    
    .like-btn,
    .comment-toggle {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
    
    .pagination a {
        padding: 10px 12px !important;
        min-width: 40px;
        min-height: 40px;
    }
}


/* =====================================================
   Haberler Page - Mobile Responsive
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Filter bar */
    .filter-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    
    .filter-bar select.form-input {
        max-width: 100% !important;
        width: 100%;
        padding: 14px 16px;
        font-size: 15px;
        border-radius: 12px;
    }
    
    .filter-bar > div[style*="display: flex"] {
        width: 100%;
        gap: 8px !important;
    }
    
    .filter-bar input[type="text"] {
        max-width: 100% !important;
        flex: 1;
        padding: 14px 16px;
        font-size: 15px;
        border-radius: 12px;
    }
    
    .filter-bar button[type="submit"] {
        padding: 14px 18px !important;
        border-radius: 12px;
        min-width: 50px;
    }
    
    .filter-bar .btn-outline {
        width: 100%;
        padding: 12px 16px;
        text-align: center;
        border-radius: 12px;
    }
    
    .filter-bar > span {
        margin-left: 0 !important;
        text-align: center;
        font-size: 14px;
        padding-top: 8px;
        border-top: 1px solid #e5e7eb;
    }
    
    /* News grid - single column */
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-sm) !important;
    }
    
    /* News card */
    .news-card {
        border-radius: 12px !important;
    }
    
    .news-card .news-image {
        height: 180px !important;
    }
    
    .news-card .news-image span {
        top: 12px !important;
        left: 12px !important;
        padding: 6px 14px !important;
        font-size: 11px !important;
    }
    
    .news-card > div[style*="padding"] {
        padding: var(--spacing-sm) !important;
    }
    
    .news-card h3 {
        font-size: 16px !important;
        margin-bottom: 8px !important;
        line-height: 1.4 !important;
    }
    
    .news-card h3 a {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .news-card p {
        font-size: 13px !important;
        margin-bottom: var(--spacing-xs) !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .news-card > div[style*="padding"] > div[style*="display: flex"] {
        flex-direction: column;
        gap: 10px;
        align-items: stretch !important;
    }
    
    .news-card > div[style*="padding"] > div[style*="display: flex"] span {
        font-size: 12px !important;
    }
    
    .news-card > div[style*="padding"] > div[style*="display: flex"] .btn {
        width: 100%;
        text-align: center;
        padding: 12px 16px !important;
        font-size: 13px !important;
        border-radius: 10px;
    }
    
    /* Empty state */
    .page-content > .container > div[style*="text-align: center"] {
        padding: var(--spacing-lg) var(--spacing-sm) !important;
    }
    
    .page-content > .container > div[style*="text-align: center"] i {
        font-size: 48px !important;
    }
    
    .page-content > .container > div[style*="text-align: center"] h3 {
        font-size: 18px;
    }
    
    .page-content > .container > div[style*="text-align: center"] p {
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 380px) {
    .news-card .news-image {
        height: 160px !important;
    }
    
    .news-card h3 {
        font-size: 15px !important;
    }
    
    .news-card p {
        font-size: 12px !important;
    }
    
    .filter-bar select.form-input,
    .filter-bar input[type="text"] {
        padding: 12px 14px;
        font-size: 14px;
    }
}
