/*
Theme Name: Campus Connect Child
Theme URI: https://example.com
Author: Campus Connect
Author URI: https://example.com
Description: Neutrales Child Theme für Campus Connect
Template: twentytwentyfour
Version: 1.0
*/

/* =====================
   Grundlayout & Farben
   ===================== */

body {
    font-family: 'Source Sans 3', system-ui, -apple-system,
                 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: #ECFDF5;
    color: #064E3B;
    margin: 0;
}

.page-wrapper {
    display: flex;
}

/* Sidebar */
.sidebar {
    width: 260px;
    min-height: 100vh;
    background: #FFFFFF;
    padding: 30px 25px;
    position: sticky;
    top: 0;
    box-shadow: 2px 0 12px rgba(0,0,0,0.08);
}

.sidebar h2 {
    margin-top: 0;
    font-size: 1.4rem;
}

.sidebar p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #065F46;
}

/* Discord Button */
.discord-button {
    display: inline-block;
    margin-top: 20px;
    background: #5865F2;
    color: #FFFFFF;
    padding: 14px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 60px 40px;
}

/* Header */
.headline-box {
    display: inline-block;
    background: #064E3B;
    color: #FFFFFF;
    padding: 20px 50px;
    font-size: 2.4rem;
    font-weight: 700;
    border-radius: 6px;
}

/* Tiles */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 60px auto;
}

.tile {
    background: #FFFFFF;
    padding: 35px 25px;
    text-align: center;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.tile-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #10B981;
}

/* Kalender */
.calendar-placeholder {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 40px;
    text-align: center;
}
.header-section{
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}

.akad-logo-link{
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 10px;
}

.akad-logo{
    height: 44px;
    width: auto;
    display: block;
}

.header-subtitle{
    margin: 16px 0 0;
    color: #065F46;
    font-size: 1rem;
}
.header-section {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}

.akad-logo-link {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px;
}

.akad-logo {
    height: 44px;
    width: auto;
    display: block;
}
/* =========================
   Header & AKAD Logo
   ========================= */

.header-section {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}

.akad-logo-link {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px;
}

.akad-logo {
    height: 44px;
    width: auto;
    display: block;
}

/* Seitentitel der Startseite ausblenden */
.home .entry-title {
    display: none;
}
/* Header & AKAD Logo — robust */
.header-section{
    position: relative !important;
    text-align: center !important;
    margin-bottom: 60px !important;
    display: block !important;
    min-height: 60px; /* damit oben Platz fürs Logo ist */
}

.akad-logo-link{
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    padding: 6px !important;
    z-index: 10 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.akad-logo{
    height: 44px !important;
    width: auto !important;
    display: block !important;
}
/* Startseiten-Titel ausblenden (Theme-unabhängig) */
.home .entry-title,
.home .wp-block-post-title,
.home .page-title,
.home h1.wp-block-post-title{
    display: none !important;
}
/* Startseiten-Titel ausblenden (TT4 + allgemein) */
.home .wp-block-post-title,
.home .entry-title,
.home .page-title,
.home h1.wp-block-post-title {
    display: none !important;
}

/* Header & AKAD Logo — robust */
.header-section{
    position: relative !important;
    text-align: center !important;
    margin-bottom: 60px !important;
    display: block !important;
    min-height: 60px; /* Platz fürs Logo */
}

.akad-logo-link{
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    padding: 6px !important;
    z-index: 10 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.akad-logo{
    height: 64px !important;
    width: auto !important;
    display: block !important;
}

