/*
Theme Name: Neve Child – ExpertsEnAmour
Template: neve
Author: Webels ApS
Description: Child-tema til expertsenamour.fr (globale farver, typografi og footer).
Version: 1.0.1
*/

/* =========================================================================
   GLOBALE VARIABLER
   Flyttet op i toppen. Custom properties er ikke rækkefølge-afhængige, så
   det ændrer intet - men det er nemmere at finde dem her.
   ========================================================================= */
:root {
    --brand-primary: #ff4f67;
    --brand-primary-hover: #e63e54;
    --brand-primary-light: #fff5f6;
    --brand-cta: #10b981;
    --brand-cta-light: #e6f7f1;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #9ca3af;
    --border-color: #e5e7eb;
    --bg-softer: #f3f4f6;
}

/* --- GLOBALE TYPOGRAFI & FARVER --- */
body {
    font-family: 'Montserrat', sans-serif;
    color: #1f2937;
    line-height: 1.8;
    font-size: 16px;
}

.entry-content p {
    margin-bottom: 22px;
}

/* Målretter kun tekst-links i indholdet, så knapper/menu ikke ødelægges */
.entry-content p a,
.entry-content li a,
.dx-sources a {
    color: #ff4f67;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.entry-content p a:hover,
.entry-content li a:hover,
.dx-sources a:hover {
    color: #c41831;
}

/* Sikkerhedsnet: Tvinger hvid tekst i grønne knapper */
.entry-content a[style*="background-color: #00b67a"],
.entry-content a[style*="background: #00b67a"] {
    color: #ffffff !important;
}

.dx-text-highlight {
    font-weight: 700;
    color: #1f2937;
    background-color: #fff0f2;
    padding: 2px 6px;
    border-radius: 4px;
}


/* =========================================
   DATINGXPERTEN MODERN FOOTER
   ========================================= */
.dx-modern-footer {
    background-color: #111827;
    color: #9ca3af;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    width: 100%; /* <-- Sikkerhedsnet: Holder footeren til skærmens bredde */
    overflow: hidden; /* <-- Sikkerhedsnet: Klipper alt af, der prøver at stikke ud */
}

.dx-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 40px 20px;
    width: 100%; /* <-- Tilføjet */
    box-sizing: border-box; /* <-- Tilføjet: Tvinger padding ind i de 100% */
}

.dx-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.dx-footer-col h4 {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.dx-footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #ff4f67;
    border-radius: 2px;
}

.dx-footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
    display: block;
}

.dx-footer-about {
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.dx-footer-socials {
    display: flex;
    gap: 15px;
}

.dx-footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1f2937;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dx-footer-socials a:hover {
    background-color: #ff4f67;
    transform: translateY(-3px);
}

.dx-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dx-footer-links li {
    margin-bottom: 12px;
}

.dx-footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.dx-footer-links a:hover {
    color: #ff4f67;
    padding-left: 5px;
}

.dx-footer-contact {
    font-size: 0.95rem;
}

.dx-footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.dx-footer-contact i {
    color: #ff4f67;
    margin-top: 5px;
}

.dx-footer-bottom {
    border-top: 1px solid #374151;
    padding: 25px 20px;
    text-align: center;
    background-color: #0b0f19;
    width: 100%; /* <-- Tilføjet */
    box-sizing: border-box; /* <-- Tilføjet: Tvinger padding ind i de 100% */
}

.dx-footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.dx-footer-bottom-links {
    margin-top: 10px;
}

.dx-footer-bottom-links a {
    color: #9ca3af;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.85rem;
}

.dx-footer-bottom-links a:hover {
    color: #ffffff;
}

/* Responsivitet for mobil og tablet */
@media (max-width: 1024px) {
    .dx-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .dx-footer-grid {
        grid-template-columns: 1fr;
    }
    .dx-footer-container {
        padding: 50px 20px 30px 20px;
    }
}

/* Lange URL'er/ord i indholdet må knække (ColorMag gjorde det som standard) –
   ellers kan fx Similarweb-links i anmeldelserne give vandret scroll på mobil. */
body {
    overflow-wrap: break-word;
}
