/*
Theme Name: courtier-averti
Template: generatepress
Version: 1.0.0
Description: Custom theme for Le Courtier Averti
*/

/* ===========================
   BODY SIGNATURE: sig-E
   no-sidebar | sep-containers | nav-above-header
   =========================== */

/* Body font override (GP parent sets 300; override to 400) */
body { font-weight: 400; }

/* Post card styling — box-shadow + border-radius + hover */
.post-summary, .post-entry {
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08);
    border-radius: 8px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}
.post-summary:hover, .post-entry:hover {
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.16);
    transform: translateY(-2px);
}

/* 3-col-dark footer */
.site-footer {
    background-color: #1E1B4B;
    color: #E9E5F5;
}
.site-footer a {
    color: #A78BFA;
}
.site-footer a:hover {
    color: #F5F3FF;
    text-decoration: underline;
}
.site-footer .widget-title {
    color: #F5F3FF;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(167, 139, 250, 0.3);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Mobile hamburger nav — prevent wrap on nav-above-header */
#mobile-header .inside-navigation {
    flex-wrap: nowrap;
    display: flex;
    align-items: center;
}
#mobile-header .site-branding { flex: 1; }
#mobile-header .mobile-menu-control-wrap { margin-left: auto; }

/* Breadcrumb styling */
.rank-math-breadcrumb { 
    font-size: 0.85rem; 
    color: #6B7280; 
    padding: 0.5rem 0; 
}

/* Category archive description */
.archive-description {
    background: #F5F3FF;
    border-left: 3px solid #7C3AED;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    border-radius: 0 6px 6px 0;
}

/* Hide secondary nav on mobile — legal links in footer; secondary toggle confuses harness */
@media (max-width: 1024px) {
  #secondary-navigation { display: none !important; }
}

/* FluentForms submit button — match site palette primary */
.ff-btn-submit {
    background-color: #7C3AED !important;
    border-color: #7C3AED !important;
    color: #ffffff !important;
}
.ff-btn-submit:hover {
    background-color: #5B21B6 !important;
    border-color: #5B21B6 !important;
}

/* Search form submit button — palette primary (body-scoped for 404 template) */
body .search-form .search-submit {
    background-color: #7C3AED !important;
    border-color: #7C3AED !important;
    color: #ffffff !important;
}
body .search-form .search-submit:hover {
    background-color: #5B21B6 !important;
    border-color: #5B21B6 !important;
}
@media (max-width: 767px) {
  body .search-form .search-submit {
    background-color: #7C3AED !important;
    border-color: #7C3AED !important;
    color: #ffffff !important;
  }
}
