/* --- Portal Components & Boxed Layouts --- */

/* Portal Banner / Hero */
.hero-section {
    background: linear-gradient(rgba(30, 58, 138, 0.9), rgba(30, 58, 138, 0.95)), url('../images/hero-bg.jpg') center/cover;
    color: white;
    padding: 50px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-bottom: 4px solid var(--accent-color);
    box-shadow: var(--shadow-box);
}

.hero-section h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-section p {
    font-size: 1.05rem;
    color: #cbd5e1;
    max-width: 700px;
}

/* Portal Grid Layouts (Kutulu Yapı) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-box);
    display: flex;
    flex-direction: column;
}

.card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.card-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.card-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    transition: var(--transition);
}

.card-link:hover {
    background-color: var(--primary-hover);
    color: white;
}

/* Section Headings (Haber Sitesi Tarzı Başlıklar) */
.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}