/*
Theme Name: Activello Child
Description: Couronne customizations for Activello 1.7.0.
Template: activello
Version: 1.2.1
Text Domain: activello-child
*/
/* Only Couronne-specific rules; Bootstrap and Activello come from the parent. */
#logobar { clear: both; width: 100%; min-height: 50px; text-align: center; background: #cc0033; }
#logobar a { display: inline-flex; align-items: center; min-height: 50px; }
#logobar img { display: block; width: 180px; height: auto; }
.breadcrumbs { margin: 0 0 30px; overflow-wrap: anywhere; }
.widget-title._side { font-size: 14px; text-transform: uppercase; margin: 0 0 25px; color: #636467; }
/* .cls / .fo_we remain owned by published CSS snippet 969. */
/* The white navigation/search bar uses the official 1.7.0 markup and assets.
   The five-item navigation is desktop-only. */
#masthead .nav-search search { display: block; }
#masthead .nav-search input { max-width: calc(100vw - 100px); }
#masthead .navbar-toggle:focus-visible { outline: 2px solid #cc0033; outline-offset: 3px; }
@media (max-width: 768px) {
    #masthead .navbar-collapse { border-top: 3px solid #cc0033; }
}

/* Desktop navigation restored; mobile uses the white-bar hamburger only. */
#navcontainer { max-width: 1000px; margin: 0 auto; position: relative; z-index: 20; }
#nav, #nav ul { list-style: none; padding: 0; margin: 0; }
#nav { display: flex; width: 100%; max-width: 800px; margin: 0 auto; background: #fff; }
#nav > li { flex: 1; min-width: 0; }
#nav > li > a, #nav summary { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 4px; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd; text-align: center; background: #fff; cursor: pointer; }
#nav .left_brdr { border-left: 1px solid #ddd; }
#nav .gn_l { display: block; font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 12px; font-weight: 600; line-height: 1.6; color: #666; }
#nav .gn_s { display: block; font-size: 9px; line-height: 1.5; color: #bb4244; }
#nav summary { list-style: none; }
#nav summary::-webkit-details-marker { display: none; }
#nav summary .gn_l::after { content: ' ▾'; }
#nav details[open] > summary .gn_l::after { content: ' ▴'; }
#nav > li > a:hover, #nav summary:hover { background: #eee; text-decoration: none; }
#nav a:focus-visible, #nav summary:focus-visible { outline: 3px solid #bb4244; outline-offset: -3px; }
#nav .subs { position: absolute; left: 50%; transform: translateX(-50%); width: min(760px, 100%); padding: 15px; text-align: left; background: #333; box-shadow: 0 4px 8px #0003; }
#nav .subs.sml { width: min(300px, 100%); left: auto; right: 0; transform: none; }
#nav .couronne-category-list, #nav .couronne-brand-list { columns: 3; column-gap: 16px; }
#nav .subs li { break-inside: avoid; padding-top: 5px; }
#nav .subs a { display: block; border-left: 5px solid #f0ebd7; padding: 8px 10px; font-size: 12px; line-height: 1.5; color: #fff; overflow-wrap: anywhere; transition: none; }
#nav .subs a:hover, #nav .subs a:focus-visible { border-left-color: #f66; background: #292929; color: #f99; }

@media (max-width: 768px) {
    #navcontainer { display: none; }
}

/* Couronne: keep header search, hide sidebar search */
#secondary .widget_search, #secondary .widget_block:has(.wp-block-search) { display: none !important; }

/* Couronne: Font Awesome search icon */
#masthead .header-search-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #666;
    vertical-align: middle;
}
#masthead .header-search-icon i { display: none !important; }
#masthead .header-search-icon::before {
    content: "\f002" !important;
    font-family: "Font Awesome 7 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-size: 16px;
    line-height: 36px;
    display: inline-block;
    position: static;
    width: auto;
    height: auto;
    border: 0;
    background: none;
    transform: none;
}
#masthead .header-search-icon::after { content: none !important; }
#masthead .header-search-icon:focus-visible {
    outline: 2px solid #cc0033;
    outline-offset: 2px;
}

/* Couronne: explicit public search font */
@font-face {
    font-family: "Couronne Search Icon";
    src: url("https://www.couronne.info/blog/wp-content/themes/activello/assets/webfonts/fa-solid-900.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: block;
}
#masthead .header-search-icon::before {
    font-family: "Couronne Search Icon" !important;
    font-weight: 900 !important;
    content: "\f002" !important;
}
