/**
 * Rektör Mesajı Modülü Stilleri
 * Rektorumuzden.html tasarımına uyumlu
 */

#mainContent:has(.rektor-mesaji-page) {
    min-height: auto;
}

.rektor-mesaji-page {
    padding-top: 130px;
    min-height: 0;
    background: linear-gradient(180deg, #f8f9ff 0%, #fff 20%, #fff 100%);
}

.rector-message {
    padding: 2rem 0 3rem;
}

/* Ana sayfa slider ile aynı genişlik (1600px) */
.rector-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.rector-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(26, 35, 126, 0.08);
    overflow: hidden;
    padding: 2.5rem;
}

.rector-image-wrapper {
    position: relative;
}

.rector-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(26, 35, 126, 0.15);
    object-fit: cover;
}

.rector-content {
    position: relative;
}

.rector-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.04) 0%, rgba(254, 203, 21, 0.06) 100%);
    border-radius: 0 0 0 100%;
    pointer-events: none;
}

.rector-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #1a237e;
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
    padding-right: 1rem;
}

.rector-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #333;
}

.rector-text p {
    margin: 0 0 1.25rem 0;
}

.rector-text p:last-child {
    margin-bottom: 0;
}

.rector-text a {
    color: #1a237e;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(26, 35, 126, 0.3);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.rector-text a:hover {
    color: #fecb15;
    border-bottom-color: #fecb15;
}

.rector-signature {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(26, 35, 126, 0.1);
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a237e;
}

.rector-title-small {
    font-size: 0.9rem;
    font-weight: 600;
    color: #5c6bc0;
    margin-top: 0.35rem;
}

/* Destekçiler / Son Haberler boşluk */
.rektor-mesaji-page .supporters-section {
    padding-top: 2rem;
    border-top: none;
}

.rektor-mesaji-page .supporters-section::before {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .rector-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .rector-image-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }

    .rector-title {
        font-size: 1.6rem;
        text-align: center;
        padding-right: 0;
    }

    .rector-signature {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .rektor-mesaji-page {
        padding-top: 90px;
    }

    .rector-message {
        padding: 1.5rem 0 2rem;
    }

    .rector-container {
        padding: 0 1rem;
    }

    .rector-grid {
        padding: 1.5rem;
        gap: 2rem;
    }

    .rector-title {
        font-size: 1.4rem;
    }

    .rector-text {
        font-size: 1rem;
    }
}
