/* ============================================
   ForzaCo — Custom Styles
   Design tokens from demo/styleguide.css
   ============================================ */

:root {
    --fc-primary: #4545C4;
    --fc-primary-dark: #1B1B7D;
    --fc-primary-light: #B0E4FF;
    --fc-primary-lighter: #EEF9FF;
    --fc-secondary: #20FFC9;
    --fc-secondary-dark: #083B2E;
    --fc-black: #020617;
    --fc-slate: #B1B1D2;
    --fc-slate-light: #F8FAFC;
    --fc-slate-line: #CBD5E1;
    --fc-font: "Poppins", Helvetica, Arial, sans-serif;
}

/* ============================================
   HEADER — Transparent overlay on hero
   ============================================ */

/* Header transparent, positionné au-dessus du contenu */
#masthead .site-main-header-wrap {
    background: transparent !important;
}

#masthead {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent !important;
}

/* Compenser l'espace du header en absolute */
.site {
    position: relative;
}

/* ============================================
   HEADER — Logo / Site title
   ============================================ */

/* Masquer le titre texte quand le logo image est présent */
.brand.has-logo-image .site-title-wrap {
    display: none !important;
}

#masthead .site-title {
    font-family: var(--fc-font);
    font-weight: 700;
    font-size: 24px;
    color: #ffffff;
}

#masthead .site-title a,
#masthead .brand {
    color: #ffffff !important;
}

/* Logo image — 150px comme la démo (200x68 natif, réduit) */
#masthead .custom-logo {
    width: 150px;
    height: auto;
}

#masthead .site-branding {
    width: 150px;
    flex-shrink: 0;
}

#masthead .brand.has-logo-image {
    display: flex;
    align-items: center;
    width: 150px;
}

/* Header bar — hauteur et padding comme la démo */
#masthead .site-header-row-container-inner .site-container {
    padding-top: 16px;
    padding-bottom: 16px;
}

/* Sticky : padding réduit */
#masthead .site-main-header-wrap.item-is-fixed:not(.item-at-start) .site-header-row-container-inner .site-container {
    padding-top: 0;
    padding-bottom: 0;
}

/* ============================================
   HEADER — Navigation links
   ============================================ */

#masthead .header-menu-container > ul > li > a {
    font-family: var(--fc-font);
    font-size: 14px !important;
    font-weight: 600;
    color: var(--fc-primary-lighter) !important;
    letter-spacing: 0;
    line-height: 25.2px;
    text-transform: none;
}

#masthead .header-menu-container > ul > li > a:hover {
    color: #ffffff !important;
}

/* "Contact" — dernier item du menu en vert secondaire */
#masthead .header-menu-container > ul > li:last-child > a {
    color: var(--fc-secondary) !important;
    font-weight: 700;
}

#masthead .header-menu-container > ul > li:last-child > a:hover {
    color: #ffffff !important;
}

/* Espacement entre items du menu */
#masthead .header-menu-container > ul {
    gap: 48px;
}

#masthead .header-menu-container > ul > li {
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================
   HEADER — Social icons (LinkedIn)
   ============================================ */

#masthead .header-social-wrap .social-button {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    padding: 0;
}

#masthead .header-social-wrap .social-button:hover {
    color: rgba(255, 255, 255, 0.7) !important;
}

#masthead .header-social-wrap .social-button svg {
    width: 22px;
    height: 25px;
}

/* ============================================
   HEADER — Dropdown menus
   ============================================ */

#masthead .sub-menu,
#masthead .header-menu-container ul ul {
    background: #ffffff;
    border-radius: 8px;
    margin-top: 12px !important;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--fc-slate-line);
    padding: 0 !important;
}

#masthead .sub-menu li a {
    font-family: var(--fc-font);
    font-size: 14px !important;
    font-weight: 500;
    color: var(--fc-black) !important;
    padding: 10px 20px !important;
}

#masthead .sub-menu li a:hover {
    background: var(--fc-primary-lighter) !important;
    color: var(--fc-primary) !important;
}

/* Bridge pour le gap du dropdown */
#masthead .header-menu-container > ul > li.menu-item-has-children::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

/* ============================================
   HEADER — Pages intérieures (non-transparent)
   ============================================ */

body.non-transparent-header #masthead {
    position: relative;
    background: #ffffff !important;
}

body.non-transparent-header #masthead .site-main-header-wrap {
    background: #ffffff !important;
}

body.non-transparent-header #masthead .header-menu-container > ul > li > a {
    color: var(--fc-primary-dark) !important;
}

body.non-transparent-header #masthead .header-menu-container > ul > li > a:hover {
    color: var(--fc-primary) !important;
}

body.non-transparent-header #masthead .header-menu-container > ul > li:last-child > a {
    color: var(--fc-secondary-dark) !important;
}

body.non-transparent-header #masthead .header-social-wrap .social-button {
    color: var(--fc-primary) !important;
}

body.non-transparent-header #masthead .site-title,
body.non-transparent-header #masthead .site-title a,
body.non-transparent-header #masthead .brand {
    color: var(--fc-primary-dark) !important;
}

body.non-transparent-header #masthead .menu-toggle-open,
body.non-transparent-header #masthead .menu-toggle-open .menu-toggle-icon {
    color: var(--fc-primary-dark) !important;
}

/* ============================================
   HEADER — Sticky state
   Classes item-is-fixed/item-is-stuck are on .site-main-header-wrap
   #masthead needed for specificity vs transparent rules
   ============================================ */

#masthead .site-main-header-wrap.item-is-fixed:not(.item-at-start),
#masthead .site-main-header-wrap.item-is-stuck:not(.item-at-start) {
    background: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

#masthead .site-main-header-wrap.item-is-fixed:not(.item-at-start) .site-title,
#masthead .site-main-header-wrap.item-is-fixed:not(.item-at-start) .brand,
#masthead .site-main-header-wrap.item-is-stuck:not(.item-at-start) .site-title,
#masthead .site-main-header-wrap.item-is-stuck:not(.item-at-start) .brand {
    color: var(--fc-primary-dark) !important;
}

#masthead .site-main-header-wrap.item-is-fixed:not(.item-at-start) .header-menu-container > ul > li > a,
#masthead .site-main-header-wrap.item-is-stuck:not(.item-at-start) .header-menu-container > ul > li > a {
    color: var(--fc-primary-dark) !important;
}

#masthead .site-main-header-wrap.item-is-fixed:not(.item-at-start) .header-menu-container > ul > li > a:hover,
#masthead .site-main-header-wrap.item-is-stuck:not(.item-at-start) .header-menu-container > ul > li > a:hover {
    color: var(--fc-primary) !important;
}

#masthead .site-main-header-wrap.item-is-fixed:not(.item-at-start) .header-menu-container > ul > li:last-child > a,
#masthead .site-main-header-wrap.item-is-stuck:not(.item-at-start) .header-menu-container > ul > li:last-child > a {
    color: var(--fc-secondary-dark) !important;
}

#masthead .site-main-header-wrap.item-is-fixed:not(.item-at-start) .header-social-wrap .social-button,
#masthead .site-main-header-wrap.item-is-stuck:not(.item-at-start) .header-social-wrap .social-button {
    color: var(--fc-primary) !important;
    border-color: var(--fc-primary);
}

/* ============================================
   BUTTONS — Global styles
   ============================================ */

/* Primary filled (défaut Kadence) */
.wp-block-button .wp-block-button__link,
.wp-element-button,
.kb-button,
a.button,
button.button {
    font-family: var(--fc-font);
    font-weight: 700;
    font-size: 14px;
    line-height: 25.2px;
    letter-spacing: 0;
    border-radius: 8px;
    padding: 16px 24px;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Style "secondary filled" — bouton vert (CTA principal) */
.wp-block-button.is-style-fill .wp-block-button__link,
.wp-block-button:not(.is-style-outline) .wp-block-button__link,
.wp-element-button {
    background-color: var(--fc-secondary) !important;
    color: var(--fc-primary-dark) !important;
    border: none;
}

.wp-block-button.is-style-fill .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.wp-element-button:hover {
    background-color: #1ae6b5 !important;
    color: var(--fc-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 255, 201, 0.3);
}

/* Style "outline" — bouton bordé primary */
.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent !important;
    color: var(--fc-primary) !important;
    border: 2px solid var(--fc-primary) !important;
    border-radius: 8px;
    padding: 16px 24px;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: var(--fc-primary) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Bouton primary filled (classe custom) */
.wp-block-button.btn-primary .wp-block-button__link {
    background-color: var(--fc-primary) !important;
    color: #ffffff !important;
    border-radius: 8px;
    padding: 24px 32px;
}

.wp-block-button.btn-primary .wp-block-button__link:hover {
    background-color: var(--fc-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(69, 69, 196, 0.3);
}

/* Bouton small */
.wp-block-button.btn-small .wp-block-button__link {
    font-size: 12px;
    line-height: 21.6px;
    padding: 8px 16px;
    border-radius: 8px;
}

/* Bouton text/link (style none) */
.wp-block-button.is-style-text .wp-block-button__link {
    background: transparent !important;
    color: var(--fc-primary) !important;
    padding: 16px 0;
    text-decoration: underline;
    border: none;
    box-shadow: none;
}

.wp-block-button.is-style-text .wp-block-button__link:hover {
    color: var(--fc-primary-dark) !important;
    transform: none;
    box-shadow: none;
}

/* Kadence buttons — override sizePreset large */
.kb-button.kt-btn-size-large {
    font-size: 14px !important;
    line-height: 25.2px !important;
    padding: 16px 24px !important;
}

/* ============================================
   CONTENT — Remove Kadence default padding on homepage
   ============================================ */

.home .entry-content-wrap,
.page .entry-content-wrap {
    padding: 0 !important;
}

/* Single post / article — comfortable reading margins */
.entry.single-entry {
    box-shadow: none !important;
}

.single-post .entry-content-wrap {
    padding: 48px 0 !important;
}

.single-post .forzaco-breadcrumbs,
.single-post .entry-content {
    max-width: 720px;
    margin: 0 auto;
}

@media (max-width: 719px) {
    .content-style-boxed .content-bg:not(.loop-entry) {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}


/* ============================================
   SINGLE POST — Uncode-style hero with featured image
   ============================================ */

/* Hero section — full-width image background */
.single-post .post-hero-section {
    position: relative;
}

.single-post .post-hero-section .entry-hero-container-inner {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 500px;
    padding-bottom: 64px;
}

/* Breadcrumb dans le bandeau hero — masqué sur article */
.single-post .post-hero-section .kadence-breadcrumbs {
    display: none;
}

/* Overlay */
.single-post .post-hero-section .hero-section-overlay {
    background: rgb(69 69 196 / 70%);
}

/* Center all hero content */
.single-post .post-hero-section .hero-container {
    text-align: center;
}

.single-post .post-hero-section .entry-header {
    text-align: center !important;
}

/* Title — white, centered */
.single-post .post-hero-section .entry-title {
    font-family: var(--fc-font);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff !important;
    margin-bottom: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Categories in hero — white badges */
.single-post .post-hero-section .entry-taxonomies {
    margin-bottom: 20px;
}

.single-post .post-hero-section .entry-taxonomies a {
    font-family: var(--fc-font);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.single-post .post-hero-section .entry-taxonomies a:hover {
    color: #ffffff;
}

/* Meta — white, centered */
.single-post .post-hero-section .entry-meta {
    font-family: var(--fc-font);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    justify-content: center;
}

.single-post .post-hero-section .entry-meta a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

/* Excerpt in hero — white subtitle */
.single-post .post-hero-section .kadence-excerpt-field {
    font-family: var(--fc-font);
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* Chapeau — first paragraph, larger intro text */
.single-post .entry-content .article-chapeau {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
    color: #000;
    margin-bottom: 32px;
}

/* Hide duplicate thumbnail below hero */
.single-post .article-post-thumbnail {
    display: none;
}

/* Hide comments and related posts */
.single-post .comments-area,
.single-post .entry-related {
    display: none;
}

/* Header transparent on single posts (over hero image) */
.single-post #masthead {
    position: absolute;
    background: transparent !important;
}

.single-post #masthead .site-main-header-wrap {
    background: transparent !important;
}

/* Nav links white over dark image */
.single-post #masthead:not(.item-is-fixed) .header-menu-container > ul > li > a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.single-post #masthead:not(.item-is-fixed) .header-menu-container > ul > li > a:hover {
    color: #ffffff !important;
}

.single-post #masthead:not(.item-is-fixed) .header-menu-container > ul > li:last-child > a {
    color: var(--fc-secondary) !important;
}

.single-post #masthead:not(.item-is-fixed) .header-social-wrap .social-button {
    color: #ffffff !important;
}

/* ============================================
   FOOTER
   ============================================ */

/* Logo */
.forzaco-footer-logo img {
    max-width: 140px;
    height: auto;
}

/* Contact block */
.forzaco-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: var(--fc-font);
    font-size: 12px;
    font-weight: 400;
    line-height: 21.6px;
    color: #000;
}

.forzaco-footer-contact p {
    margin: 0;
}

.forzaco-footer-contact a {
    color: inherit;
    text-decoration: none;
}

.forzaco-footer-contact svg {
    width: 24px;
    height: 24px;
    color: var(--fc-primary);
    fill: var(--fc-primary);
}

.forzaco-footer-contact__details {
    font-size: 14px;
    font-weight: 600;
    line-height: 25.2px;
    color: var(--fc-primary);
}

.site-footer .forzaco-footer-contact__details a,
.site-footer .forzaco-footer-contact__details a:hover {
    color: var(--fc-primary);
    text-decoration: none;
}

.site-footer .forzaco-footer-contact__details a:hover {
    opacity: 0.8;
}

/* Copyright bar */
.forzaco-footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-family: var(--fc-font);
    font-size: 10px;
    font-weight: 600;
    line-height: 18px;
    color: #ffffff;
}

/* Footer navigation — vertical list, left-aligned */
.site-footer .footer-navigation .menu {
    flex-direction: column;
    align-items: flex-start;
}

/* Legal links */
.forzaco-footer-legal {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: var(--fc-font);
    font-size: 12px;
    font-weight: 400;
    line-height: 21.6px;
}

.forzaco-footer-legal a {
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
}

.forzaco-footer-legal a:hover {
    color: var(--fc-primary);
    text-decoration: none;
}

/* Footer row — align all columns to top, custom column widths */
.site-footer .site-footer-row.site-middle-footer-inner-wrap.site-footer-row-columns-4 {
    align-items: flex-start;
    display: grid;
    grid-template-columns: 280px 180px 260px 1fr;
    gap: 32px;
}

/* Footer widget area reset */
.site-footer .footer-widget-area .widget {
    margin: 0;
}

/* Footer columns — uniform 16px top padding */
.site-footer .site-footer-section {
    padding-top: 16px;
}

.site-footer .footer-html {
    margin: 0;
    padding: 0;
}

.site-footer .site-bottom-footer-inner-wrap {
    padding: 12px 0;
}

.site-footer .site-bottom-footer-wrap .site-footer-section {
    padding: 0;
}

/* Kadence column — ACF blocks full height */
.kt-inside-inner-col {
    height: 100%;
}

/* ============================================
   CONTACT PAGE — Form card & info
   ============================================ */

.contact-form-card > .kt-inside-inner-col {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 40px;
    height: auto;
}

@media (max-width: 767px) {
    .contact-form-card > .kt-inside-inner-col {
        padding: 24px;
    }
}

.contact-checklist {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-checklist li {
    position: relative;
    padding-left: 28px;
    font-family: var(--fc-font);
    font-size: 14px;
    line-height: 1.7;
    color: var(--fc-primary-dark);
}

.contact-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--fc-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.contact-info-block {
    gap: 16px !important;
}

.contact-info-item {
    font-family: var(--fc-font);
    font-size: 14px;
    line-height: 1.6;
    color: var(--fc-primary-dark);
    margin: 0;
}

.contact-info-item strong {
    display: block;
    font-weight: 600;
    color: var(--fc-primary-dark);
    margin-bottom: 2px;
}

.contact-info-item a {
    color: var(--fc-primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

/* Form card — form takes full width */
.contact-form-card .kb-form-wrap,
.contact-form-card .kb-form {
    width: 100%;
}

.contact-form-card .kb-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.contact-form-card .kadence-blocks-form-field {
    box-sizing: border-box;
}

/* Form card — submit button full width */
.contact-form-card .kb-forms-submit {
    width: 100%;
    font-family: var(--fc-font);
    font-weight: 600;
    font-size: 14px;
    padding: 16px 32px;
    border-radius: 8px;
    background-color: var(--fc-primary) !important;
    color: #ffffff !important;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-form-card .kb-forms-submit:hover {
    background-color: var(--fc-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(69, 69, 196, 0.3);
}

/* Form fields styling inside card */
.contact-form-card .kb-field {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--fc-slate);
    padding: 12px 16px;
    font-family: var(--fc-font);
    font-size: 14px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.contact-form-card .kb-field:focus {
    border-color: var(--fc-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(69, 69, 196, 0.1);
}

.contact-form-card label {
    font-family: var(--fc-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--fc-primary-dark);
}

.contact-form-card select.kb-field {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23B1B1D2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ============================================
   BLOG / ACTUALITÉS — Uncode-style archive
   ============================================ */

.blog .content-wrap.grid-cols,
.archive .content-wrap.grid-cols {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
}

/* Article card */
.loop-entry .entry-content-wrap {
    padding: 0 !important;
}

.loop-entry.type-post {
    margin-bottom: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.loop-entry.type-post .entry-content-wrap {
    padding: 28px 32px 32px !important;
    display: flex;
    flex-direction: column;
}

/* Featured image — flush with card edges, rounded top only, 16:9 ratio */
.loop-entry .post-thumbnail {
    margin: 0;
    border-radius: 0.5rem 0.5rem 0 0;
    overflow: hidden;
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
}

.loop-entry .post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.loop-entry .post-thumbnail:hover img {
    transform: scale(1.03);
}

/* Move meta visually to bottom of card */
.loop-entry .entry-header {
    display: contents;
}

/* Flex order for card content */
.loop-entry .entry-taxonomies { order: 1; }
.loop-entry .entry-title { order: 2; }
.loop-entry .entry-summary { order: 3; }
.loop-entry .entry-footer { order: 4; }
.loop-entry .entry-meta { order: 5; }

/* Meta — author + date at bottom, maquette style */
.loop-entry .entry-meta {
    font-family: var(--fc-font);
    font-size: 13px;
    color: #999;
    margin-top: 24px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 400;
}

.loop-entry .entry-meta a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.loop-entry .entry-meta .posted-on,
.loop-entry .entry-meta .posted-on a {
    color: var(--fc-primary);
    font-weight: 400;
}

.loop-entry .entry-meta .author-avatar img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* Category chips — primary color style */
.loop-entry .entry-taxonomies {
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.loop-entry .entry-taxonomies a {
    font-family: var(--fc-font);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--fc-primary);
    text-decoration: none;
    background: var(--fc-primary-lighter);
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.loop-entry .entry-taxonomies a:hover {
    background: var(--fc-primary);
    color: #fff;
}

/* Title — large, black */
.loop-entry .entry-title {
    font-family: var(--fc-font);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
    margin-bottom: 12px;
}

.loop-entry .entry-title a {
    color: inherit;
    text-decoration: none;
}

.loop-entry .entry-title a:hover {
    color: var(--fc-primary) !important;
    opacity: 1;
}

/* Excerpt */
.loop-entry .entry-summary p,
.loop-entry .entry-content p {
    font-family: var(--fc-font);
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 0;
}

/* Read more — hidden (Uncode doesn't show it) */
.loop-entry .entry-summary .more-link,
.loop-entry .entry-content .more-link,
.loop-entry .more-link-wrap {
    display: none;
}

/* Hide pipe separator between category badges */
.loop-entry .entry-taxonomies .category-links {
    font-size: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.loop-entry .entry-taxonomies .category-links a {
    font-size: 11px;
}

/* Hide author, keep only date */
.loop-entry .entry-meta .posted-by {
    display: none;
}

/* ============================================
   BLOG — Sidebar (minimal, Uncode-style)
   ============================================ */

.primary-sidebar .widget {
    margin-bottom: 32px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 28px;
}

.primary-sidebar .widget:last-child {
    margin-bottom: 0;
}

.primary-sidebar .widget-title {
    font-family: var(--fc-font);
    font-size: 17px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: 0;
    border: none;
    padding: 0;
    display: block;
}

/* Categories — simple list */
.primary-sidebar .widget_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.primary-sidebar .widget_categories li {
    font-family: var(--fc-font);
    font-size: 15px;
    color: #999;
    padding: 6px 0;
    border: none;
}

.primary-sidebar .widget_categories li a {
    font-family: var(--fc-font);
    font-size: 15px;
    font-weight: 400;
    color: #303133;
    text-decoration: none;
}

.primary-sidebar .widget_categories li a:hover {
    color: #000;
}

/* About / Text widget — descriptive text */
.primary-sidebar .widget_text {
    font-family: var(--fc-font);
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

/* Search widget — simple underline input */
.primary-sidebar .widget_search .search-form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 8px;
}

.primary-sidebar .widget_search .search-field {
    flex: 1;
    font-family: var(--fc-font);
    font-size: 15px;
    padding: 4px 0;
    border: none;
    outline: none;
    background: transparent;
    color: #303133;
    box-shadow: none !important;
}

.primary-sidebar .widget_search .search-field:focus {
    box-shadow: none !important;
    outline: none;
}

.primary-sidebar .widget_search .search-field::placeholder {
    color: #bbb;
}

.primary-sidebar .widget_search .search-submit {
    display: none;
}

.primary-sidebar .widget_search .kadence-search-icon-wrap {
    flex-shrink: 0;
    color: #999;
    line-height: 0;
}

.primary-sidebar .widget_search .kadence-search-icon-wrap svg {
    width: 18px;
    height: 18px;
}

/* Hide recent posts and search title */
.primary-sidebar .widget_recent_entries,
.primary-sidebar .widget_search .widget-title {
    display: none;
}

/* ============================================
   BREADCRUMBS
   ============================================ */


.kadence-breadcrumbs,
.kadence-breadcrumbs span,
.kadence-breadcrumbs .kadence-bread-current {
    color: var(--fc-primary-dark, #1B1B7D) !important;
}

.kadence-breadcrumbs a {
    color: var(--fc-primary, #4545C4) !important;
    text-decoration: none;
}

.kadence-breadcrumbs a:hover {
    text-decoration: underline;
}

.kadence-breadcrumbs .kadence-breadcrumb-separator {
    color: #aaa !important;
}


.forzaco-breadcrumbs {
    font-family: var(--fc-font);
    font-size: 13px;
    color: #999;
    margin-bottom: 24px;
}

.forzaco-breadcrumbs a {
    color: var(--fc-primary);
    text-decoration: none;
}

.forzaco-breadcrumbs a:hover {
    text-decoration: underline;
}

.forzaco-breadcrumbs .kadence-breadcrumb-separator {
    margin: 0 6px;
    color: #ccc;
}

.forzaco-breadcrumbs .kadence-bread-current {
    color: #666;
}

/* ============================================
   MENU — Active state on blog/category pages
   ============================================ */

.header-menu-container > ul > li.current_page_parent > a,
.header-menu-container > ul > li.current-menu-ancestor > a,
.header-menu-container > ul > li.current-menu-item > a {
    color: var(--fc-primary) !important;
}

/* ============================================
   RESPONSIVE — Footer
   ============================================ */

@media (max-width: 1024px) {
    .site-footer .site-footer-row.site-middle-footer-inner-wrap.site-footer-row-columns-4 {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .site-footer .site-footer-row.site-middle-footer-inner-wrap.site-footer-row-columns-4 {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .site-footer .footer-navigation .menu {
        align-items: center;
    }

    .footer-navigation,
    .footer-menu-container {
        justify-content: center;
    }

    .forzaco-footer-legal {
        align-items: center;
    }

    .forzaco-footer-contact {
        align-items: center;
    }

    .forzaco-footer-logo {
        display: flex;
        justify-content: center;
    }

    .forzaco-footer-copyright {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}
