/* ===========================
   Contact Page Styling
   =========================== */
/* Hero Section */
.contact-hero {
    text-align: center;
    padding: 1.5rem 2rem;
}
.contact-hero h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
    margin: 0 0 0.5rem 0;
}
.contact-hero .tagline {
    font-size: 1.1rem;
    color: #3498db;
    font-weight: 500;
    margin: 0;
}
/* Main Content Section */
.contact-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
    line-height: 1.8;
}
/* Ekstra luft over den flyttede overskrift, der nu er første element i indholdet */
.contact-content > p.help-title:first-child {
    margin-top: 0.5rem;
}
.intro-text {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.8;
}
/* Help Section */
.help-section {
    margin-bottom: 1rem;
}
.help-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.75rem;
}
.help-list {
    list-style: disc;
    padding-left: 2rem;
    margin: 0;
}
.help-list li {
    padding: 0.25rem 0;
    color: #333;
}
.contact-info-intro {
    font-size: 1rem;
    color: #555;
    margin: 1.5rem 0 2rem 0;
    font-style: italic;
}
/* Contact Cards Section */
.contact-content h2 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 2rem;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #CFFFFA;
}
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Kort: billede i venstre side, info ved siden af */
.contact-card {
    background-color: #f0f9f8;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(207, 255, 250, 0.5);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}
.contact-card:hover {
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
    transform: translateY(-2px);
}

/* Profilbillede: stort, aflangt portræt-format med runde hjørner */
.contact-photo {
    width: 140px;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

/* Pladsholder til profilbillede (bruges indtil rigtigt billede er klar) */
.contact-photo-placeholder {
    width: 140px;
    height: 180px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: #CFFFFA;
    color: #3498db;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Info-blok til højre for billedet */
.contact-info-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.contact-card h3 {
    font-size: 1.4rem;
    color: #3498db;
    margin: 0 0 0.25rem 0;
}
.contact-card .organization {
    font-size: 0.95rem;
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 1rem;
}
.contact-detail {
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.contact-detail .label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}
.contact-link {
    color: #3498db;
    text-decoration: none;
    font-size: 1rem;
    word-break: break-word;
    transition: color 0.3s ease;
}
.contact-link:hover {
    color: #2980b9;
    text-decoration: underline;
}
/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 1.7rem;
    }
    .contact-hero .tagline {
        font-size: 1rem;
    }
    .contact-content {
        padding: 1.5rem;
    }
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .contact-content h2 {
        font-size: 1.5rem;
    }
    .help-list {
        padding-left: 1.5rem;
    }
}
@media (max-width: 560px) {
    /* Stak billede og info lodret på små skærme */
    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contact-info-block {
        align-items: center;
    }
    .contact-detail {
        align-items: center;
    }
    .contact-photo,
    .contact-photo-placeholder {
        width: 120px;
        height: 150px;
    }
}
@media (max-width: 480px) {
    .contact-hero {
        padding: 1.5rem 1rem;
    }
    .contact-hero h1 {
        font-size: 1.5rem;
    }
    .contact-hero .tagline {
        font-size: 0.95rem;
    }
    .contact-content {
        padding: 1rem;
    }
    .intro-text {
        font-size: 0.95rem;
    }
    .contact-card {
        padding: 1.25rem;
    }
    .contact-card h3 {
        font-size: 1.2rem;
    }
    .contact-detail .label {
        font-size: 0.85rem;
    }
    .contact-link {
        font-size: 0.95rem;
    }
    .help-list li {
        font-size: 0.95rem;
    }
    .help-list {
        padding-left: 1.5rem;
    }
}
