
/*

Theme Name:   Kadence Gosman ScaleCX

Theme URI:    https://www.andreigosman.ro

Description:  Editorial-corporate child theme for andreigosman.ro — mint + navy palette, Inter + JetBrains Mono typography, ScaleCX-inspired layout. Built on Kadence.

Author:       Andrei Gosman

Author URI:   https://www.andreigosman.ro

Template:     kadence

Version:      0.1.0

License:      GPL-2.0-or-later

License URI:  https://www.gnu.org/licenses/gpl-2.0.html

Text Domain:  kadence-gosman-scalecx

*/



:root,

body.wp-child-theme-kadence-gosman-scalecx {

    --gosman-navy: #1a2b4a;

    --gosman-navy-dark: #0f1d36;

    --gosman-navy-deep: #0a1428;

    --gosman-navy-text: #2c3e6b;

    --gosman-mint: #10b981;

    --gosman-mint-bright: #0ea968;

    --gosman-mint-soft: #6ee7b7;

    --gosman-ink: #1a2b4a;

    --gosman-text-body: #2c3e6b;

    --gosman-text-muted: #6b7280;

    --gosman-text-light: #9ca3af;

    --gosman-border: #e5e7eb;

    --gosman-paper: #f9fafb;

    --gosman-white: #ffffff;



    --global-palette1: #10b981;

    --global-palette2: #1a2b4a;

    --global-palette3: #1a2b4a;

    --global-palette4: #2c3e6b;

    --global-palette5: #6b7280;

    --global-palette6: #e5e7eb;

    --global-palette7: #f9fafb;

    --global-palette8: #ffffff;

    --global-palette9: #0f1d36;



    --global-body-font-color: #2c3e6b;

    --global-heading-font-color: #1a2b4a;

    --global-primary-nav-color: #2c3e6b;

    --global-primary-nav-hover-color: #10b981;

    --global-primary-nav-active-color: #10b981;

}



html body.wp-child-theme-kadence-gosman-scalecx {

    background-color: #ffffff !important;

    color: #2c3e6b;

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;

    font-feature-settings: 'ss01', 'ss02', 'cv11';

    line-height: 1.65;

}



body.wp-child-theme-kadence-gosman-scalecx h1,

body.wp-child-theme-kadence-gosman-scalecx h2,

body.wp-child-theme-kadence-gosman-scalecx h3,

body.wp-child-theme-kadence-gosman-scalecx h4,

body.wp-child-theme-kadence-gosman-scalecx h5,

body.wp-child-theme-kadence-gosman-scalecx h6,

body.wp-child-theme-kadence-gosman-scalecx .entry-title,

body.wp-child-theme-kadence-gosman-scalecx .site-title,

body.wp-child-theme-kadence-gosman-scalecx .widget-title {

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;

    font-weight: 600;

    letter-spacing: -0.01em;

    color: #1a2b4a;

}



body.wp-child-theme-kadence-gosman-scalecx h1,

body.wp-child-theme-kadence-gosman-scalecx .entry-title {

    letter-spacing: -0.02em;

}



body.wp-child-theme-kadence-gosman-scalecx code,

body.wp-child-theme-kadence-gosman-scalecx pre,

body.wp-child-theme-kadence-gosman-scalecx kbd,

body.wp-child-theme-kadence-gosman-scalecx samp,

body.wp-child-theme-kadence-gosman-scalecx tt {

    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace !important;

}



body.wp-child-theme-kadence-gosman-scalecx :not(pre) > code {

    background: #f9fafb;

    color: #0ea968;

    padding: 2px 6px;

    border-radius: 2px;

    font-size: 0.9em;

    border: 1px solid #e5e7eb;

}



body.wp-child-theme-kadence-gosman-scalecx pre {

    background: #0a1428 !important;

    color: #d4d4d4 !important;

    padding: 1.5rem;

    border-radius: 4px;

    overflow-x: auto;

    margin: 1.5rem 0;

    font-size: 0.85rem;

    line-height: 1.5;

}

body.wp-child-theme-kadence-gosman-scalecx pre code {

    background: transparent !important;

    color: inherit !important;

    padding: 0 !important;

    border: none !important;

}



body.wp-child-theme-kadence-gosman-scalecx a {

    color: #10b981;

    text-decoration: underline;

    text-decoration-color: rgba(16, 185, 129, 0.4);

    text-underline-offset: 3px;

}

body.wp-child-theme-kadence-gosman-scalecx a:hover {

    color: #0ea968;

    text-decoration-color: #10b981;

}



body.wp-child-theme-kadence-gosman-scalecx .site-header a,

body.wp-child-theme-kadence-gosman-scalecx .header-navigation a,

body.wp-child-theme-kadence-gosman-scalecx .site-footer a,

body.wp-child-theme-kadence-gosman-scalecx .pillar-link,

body.wp-child-theme-kadence-gosman-scalecx .pagination a,

body.wp-child-theme-kadence-gosman-scalecx .nav-links a {

    text-decoration: none;

}



body.wp-child-theme-kadence-gosman-scalecx .site-branding .site-title a,

body.wp-child-theme-kadence-gosman-scalecx .site-title a {

    color: #1a2b4a !important;

    font-weight: 700;

    text-decoration: none;

    letter-spacing: -0.01em;

}



body.wp-child-theme-kadence-gosman-scalecx .header-navigation .menu > .menu-item > a {

    color: #2c3e6b !important;

    font-family: 'Inter', sans-serif !important;

    font-weight: 500;

    font-size: 0.95rem;

}

body.wp-child-theme-kadence-gosman-scalecx .header-navigation .menu > .menu-item > a:hover,

body.wp-child-theme-kadence-gosman-scalecx .header-navigation .menu > .current-menu-item > a {

    color: #10b981 !important;

}



body.wp-child-theme-kadence-gosman-scalecx .button,

body.wp-child-theme-kadence-gosman-scalecx button,

body.wp-child-theme-kadence-gosman-scalecx input[type="submit"],

body.wp-child-theme-kadence-gosman-scalecx .wp-block-button__link {

    background-color: #1a2b4a !important;

    color: #ffffff !important;

    border: 1.5px solid #1a2b4a !important;

    border-radius: 2px;

    font-weight: 600;

    padding: 12px 28px;

    font-family: 'Inter', sans-serif;

    text-decoration: none;

}



body.wp-child-theme-kadence-gosman-scalecx .button:hover,

body.wp-child-theme-kadence-gosman-scalecx button:hover,

body.wp-child-theme-kadence-gosman-scalecx input[type="submit"]:hover,

body.wp-child-theme-kadence-gosman-scalecx .wp-block-button__link:hover {

    background-color: #10b981 !important;

    border-color: #10b981 !important;

    color: #ffffff !important;

}



body.wp-child-theme-kadence-gosman-scalecx .is-style-outline .wp-block-button__link,

body.wp-child-theme-kadence-gosman-scalecx .wp-block-button.is-style-outline .wp-block-button__link {

    background-color: transparent !important;

    color: #ffffff !important;

    border: 1.5px solid #ffffff !important;

}

body.wp-child-theme-kadence-gosman-scalecx .is-style-outline .wp-block-button__link:hover {

    background-color: #ffffff !important;

    color: #1a2b4a !important;

}



body.wp-child-theme-kadence-gosman-scalecx .has-mint-bg .wp-block-button__link {

    background-color: #10b981 !important;

    border-color: #10b981 !important;

}

body.wp-child-theme-kadence-gosman-scalecx .has-mint-bg .wp-block-button__link:hover {

    background-color: #0ea968 !important;

    border-color: #0ea968 !important;

}



.gosman-eyebrow {

    font-family: 'Inter', sans-serif;

    font-size: 0.75rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    color: #10b981;

    font-weight: 600;

    margin-bottom: 1rem;

    display: block;

}

.gosman-eyebrow-light {

    color: #6ee7b7 !important;

}



.gosman-pillar-number {

    font-size: 3rem !important;

    font-weight: 700 !important;

    color: #10b981 !important;

    line-height: 1 !important;

    letter-spacing: -0.02em !important;

    margin-bottom: 0.25rem !important;

    font-family: 'Inter', sans-serif !important;

}



.gosman-hero {

    background: linear-gradient(135deg, #0a1428 0%, #1a2b4a 35%, #10b981 100%) !important;

    color: #ffffff !important;

    padding: 5rem 0 6rem 0 !important;

    position: relative;

    overflow: hidden;

}

.gosman-hero h1,

.gosman-hero h2,

.gosman-hero h3,

.gosman-hero p,

.gosman-hero a {

    color: #ffffff !important;

}

.gosman-hero h1 {

    font-size: 3rem !important;

    font-weight: 600 !important;

    line-height: 1.15 !important;

    letter-spacing: -0.02em !important;

}

.gosman-hero p {

    font-size: 1.1rem !important;

    line-height: 1.65 !important;

    opacity: 0.92;

}



.gosman-hero-compact {

    padding: 3.5rem 0 4rem 0 !important;

}

.gosman-hero-compact h1 {

    font-size: 2.5rem !important;

}



.gosman-card-dark {

    background: #1a2b4a !important;

    color: #ffffff !important;

    padding: 2.25rem 1rem !important;

    text-align: center !important;

    border-radius: 2px !important;

    transition: all 0.2s;

}

.gosman-card-dark:hover {

    background: #0f1d36 !important;

    transform: translateY(-3px);

}

.gosman-card-dark .gosman-eyebrow {

    color: #10b981 !important;

    margin-bottom: 0;

}

.gosman-card-dark h3,

.gosman-card-dark .wp-block-heading {

    color: #ffffff !important;

    font-size: 1rem !important;

    margin: 0.75rem 0 0.25rem 0 !important;

}

.gosman-card-dark p {

    color: rgba(255,255,255,0.55) !important;

    font-size: 0.8rem !important;

}



.gosman-card-mint {

    background: #10b981 !important;

    color: #ffffff !important;

    padding: 2rem 1.5rem 1.5rem 1.5rem !important;

    border-radius: 2px !important;

    transition: all 0.2s;

    min-height: 220px;

}

.gosman-card-mint:hover {

    background: #0ea968 !important;

    transform: translateY(-3px);

}

.gosman-card-mint h3,

.gosman-card-mint h4,

.gosman-card-mint .wp-block-heading,

.gosman-card-mint a {

    color: #ffffff !important;

}

.gosman-card-mint .gosman-eyebrow {

    color: rgba(255,255,255,0.9) !important;

}

.gosman-card-mint p {

    color: rgba(255,255,255,0.92) !important;

}



.gosman-card-white {

    background: #ffffff !important;

    border: 1px solid #e5e7eb !important;

    border-radius: 2px !important;

    padding: 2rem !important;

    transition: all 0.2s;

}

.gosman-card-white:hover {

    border-color: #10b981 !important;

    transform: translateY(-2px);

    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.1);

}



.gosman-filter-chips {

    display: flex;

    gap: 0.5rem;

    flex-wrap: wrap;

    align-items: center;

    margin: 1.5rem 0;

}

.gosman-filter-chips a,

.gosman-filter-chips .gosman-chip {

    background: #ffffff;

    color: #2c3e6b;

    padding: 6px 14px;

    border-radius: 2px;

    font-size: 0.85rem;

    text-decoration: none;

    font-weight: 500;

    border: 1px solid #e5e7eb;

    display: inline-flex;

    align-items: center;

    gap: 0.4rem;

}

.gosman-filter-chips a.active,

.gosman-filter-chips .gosman-chip.active,

.gosman-filter-chips .current-cat {

    background: #1a2b4a !important;

    color: #ffffff !important;

    border-color: #1a2b4a !important;

}

.gosman-filter-chips a:hover:not(.active) {

    border-color: #10b981;

    color: #0ea968;

}



.gosman-section-paper {

    background: #f9fafb !important;

    padding: 4rem 0 !important;

}



body.wp-child-theme-kadence-gosman-scalecx .gosman-section-title {

    text-align: center;

    font-size: 1.85rem;

    font-weight: 500;

    color: #1a2b4a;

    margin: 4rem 0 2.5rem 0;

    letter-spacing: -0.015em;

}




body.wp-child-theme-kadence-gosman-scalecx.single .entry-content,

body.wp-child-theme-kadence-gosman-scalecx.page:not(.home) .entry-content {

    max-width: 720px;

    margin-inline: auto;

    line-height: 1.75;

    font-size: 1.05rem;

}



body.wp-child-theme-kadence-gosman-scalecx.single .entry-content > p:first-of-type {

    font-size: 1.2rem;

    color: #1a2b4a;

    font-weight: 400;

    line-height: 1.6;

    margin-bottom: 2rem;

}



body.wp-child-theme-kadence-gosman-scalecx blockquote,

body.wp-child-theme-kadence-gosman-scalecx .wp-block-quote {

    border-left: 3px solid #10b981 !important;

    padding: 1.25rem 1.5rem !important;

    margin: 2rem 0 !important;

    font-style: italic;

    color: #1a2b4a !important;

    font-size: 1.1rem;

    background: #f9fafb !important;

    border-radius: 0 2px 2px 0;

}

body.wp-child-theme-kadence-gosman-scalecx blockquote cite,

body.wp-child-theme-kadence-gosman-scalecx .wp-block-quote cite {

    display: block;

    font-style: normal;

    font-size: 0.85rem;

    color: #6b7280;

    margin-top: 0.75rem;

    font-weight: 500;

}



.gosman-post-hero {

    background: linear-gradient(135deg, #0a1428 0%, #1a2b4a 35%, #10b981 100%);

    color: #ffffff;

    padding: 3.5rem 5% 4rem 5%;

    margin-bottom: 0;

    position: relative;

    overflow: hidden;

}

.gosman-post-hero-inner {

    max-width: 800px;

    margin: 0 auto;

    position: relative;

    z-index: 2;

}

.gosman-post-hero .gosman-breadcrumbs {

    font-size: 0.8rem;

    margin-bottom: 1.5rem;

    opacity: 0.85;

    letter-spacing: 0.02em;

}

.gosman-post-hero .gosman-breadcrumbs a {

    color: #ffffff;

    text-decoration: none;

    opacity: 0.85;

}

.gosman-post-hero .gosman-breadcrumbs a:hover {

    opacity: 1;

    color: #6ee7b7;

}

.gosman-post-hero .gosman-breadcrumbs .sep {

    margin: 0 0.5rem;

    opacity: 0.5;

}

.gosman-post-hero .gosman-category-tag {

    display: inline-block;

    background: rgba(16, 185, 129, 0.2);

    color: #6ee7b7;

    padding: 4px 12px;

    border-radius: 2px;

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    margin-bottom: 1.25rem;

    border: 1px solid rgba(16, 185, 129, 0.4);

    text-decoration: none;

}

.gosman-post-hero h1 {

    font-size: 2.5rem;

    font-weight: 600;

    line-height: 1.2;

    margin-bottom: 1.25rem;

    letter-spacing: -0.015em;

    color: #ffffff !important;

    max-width: 750px;

}

.gosman-post-hero .gosman-meta-row {

    display: flex;

    gap: 1.5rem;

    align-items: center;

    font-size: 0.85rem;

    opacity: 0.85;

    flex-wrap: wrap;

    color: #ffffff;

}

.gosman-post-hero .gosman-meta-row svg {

    width: 14px;

    height: 14px;

    opacity: 0.85;

    vertical-align: -2px;

    margin-right: 0.4rem;

}



body.wp-child-theme-kadence-gosman-scalecx.single .entry-content {

    padding: 4rem 5% 3rem 5%;

}



.gosman-share-bar {

    max-width: 720px;

    margin: 0 auto;

    padding: 2rem 5%;

    border-top: 1px solid #e5e7eb;

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 1.5rem;

}

.gosman-share-bar .gosman-tags {

    display: flex;

    gap: 0.5rem;

    flex-wrap: wrap;

}

.gosman-share-bar .gosman-tag {

    background: #f9fafb;

    color: #2c3e6b;

    padding: 5px 12px;

    font-size: 0.75rem;

    border-radius: 2px;

    text-decoration: none;

    font-weight: 500;

    letter-spacing: 0.02em;

    border: 1px solid #e5e7eb;

}

.gosman-share-bar .gosman-tag:hover {

    background: #10b981;

    color: #ffffff;

    border-color: #10b981;

}

.gosman-share-bar .gosman-share-btns {

    display: flex;

    gap: 0.5rem;

    align-items: center;

}

.gosman-share-bar .gosman-share-btn {

    width: 36px;

    height: 36px;

    background: #1a2b4a;

    color: #ffffff;

    border-radius: 50%;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    transition: background 0.2s;

}

.gosman-share-bar .gosman-share-btn:hover {

    background: #10b981;

}

.gosman-share-bar .gosman-share-btn svg {

    width: 16px;

    height: 16px;

}



.gosman-related-section {

    background: #f9fafb;

    padding: 4rem 0;

}

.gosman-related-section h2 {

    text-align: center;

    font-size: 1.5rem;

    font-weight: 500;

    color: #1a2b4a;

    margin-bottom: 2.5rem;

    letter-spacing: -0.01em;

}

.gosman-related-grid {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 5%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1.5rem;

}

.gosman-related-card {

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 2px;

    padding: 1.5rem;

    text-decoration: none;

    transition: all 0.2s;

    display: block;

}

.gosman-related-card:hover {

    border-color: #10b981;

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);

}

.gosman-related-card .gosman-meta {

    font-size: 0.7rem;

    color: #10b981;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    margin-bottom: 0.75rem;

}

.gosman-related-card h3,

.gosman-related-card .title {

    font-size: 1.05rem;

    font-weight: 600;

    color: #1a2b4a;

    line-height: 1.35;

    margin-bottom: 0.75rem;

}

.gosman-related-card .excerpt {

    font-size: 0.85rem;

    color: #6b7280;

    line-height: 1.55;

}



@media (max-width: 900px) {

    .gosman-related-grid {

        grid-template-columns: 1fr;

    }

    .gosman-post-hero h1 {

        font-size: 1.85rem;

    }

}



body.wp-child-theme-kadence-gosman-scalecx .archive .loop-entry,

body.wp-child-theme-kadence-gosman-scalecx .category .loop-entry {

    background: #ffffff !important;

    border: 1px solid #e5e7eb !important;

    border-radius: 2px !important;

    padding: 2rem !important;

    transition: all 0.2s;

}

body.wp-child-theme-kadence-gosman-scalecx .archive .loop-entry:hover,

body.wp-child-theme-kadence-gosman-scalecx .category .loop-entry:hover {

    border-color: #10b981 !important;

    transform: translateY(-2px);

    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.1);

}



body.wp-child-theme-kadence-gosman-scalecx .entry-taxonomies a,

body.wp-child-theme-kadence-gosman-scalecx .entry-categories a,

body.wp-child-theme-kadence-gosman-scalecx .post-categories a {

    color: #10b981 !important;

    font-family: 'Inter', sans-serif !important;

    font-size: 0.7rem;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    font-weight: 700;

    text-decoration: none;

}



body.wp-child-theme-kadence-gosman-scalecx .entry-meta,

body.wp-child-theme-kadence-gosman-scalecx .entry-meta a,

body.wp-child-theme-kadence-gosman-scalecx .post-meta {

    color: #6b7280 !important;

    font-size: 0.85rem;

}



body.wp-child-theme-kadence-gosman-scalecx .more-link,

body.wp-child-theme-kadence-gosman-scalecx .read-more {

    color: #10b981 !important;

    font-family: 'Inter', sans-serif !important;

    font-size: 0.85rem;

    font-weight: 600;

    text-decoration: none;

}

body.wp-child-theme-kadence-gosman-scalecx .more-link:hover,

body.wp-child-theme-kadence-gosman-scalecx .read-more:hover {

    color: #0ea968 !important;

}



body.wp-child-theme-kadence-gosman-scalecx .site-footer,

body.wp-child-theme-kadence-gosman-scalecx .footer-wrap,

body.wp-child-theme-kadence-gosman-scalecx #colophon {

    background-color: #1a2b4a !important;

    color: rgba(255,255,255,0.7);

    padding: 3rem 0 2rem 0;

}

body.wp-child-theme-kadence-gosman-scalecx .site-footer a,

body.wp-child-theme-kadence-gosman-scalecx .footer-wrap a {

    color: rgba(255,255,255,0.7) !important;

    text-decoration: none;

}

body.wp-child-theme-kadence-gosman-scalecx .site-footer a:hover,

body.wp-child-theme-kadence-gosman-scalecx .footer-wrap a:hover {

    color: #10b981 !important;

}

body.wp-child-theme-kadence-gosman-scalecx .site-footer h1,

body.wp-child-theme-kadence-gosman-scalecx .site-footer h2,

body.wp-child-theme-kadence-gosman-scalecx .site-footer h3,

body.wp-child-theme-kadence-gosman-scalecx .site-footer h4,

body.wp-child-theme-kadence-gosman-scalecx .site-footer h5,

body.wp-child-theme-kadence-gosman-scalecx .site-footer h6 {

    color: #ffffff !important;

}



@media (max-width: 900px) {

    body.wp-child-theme-kadence-gosman-scalecx .gosman-hero h1 {

        font-size: 2rem !important;

    }

    .gosman-pillar-number {

        font-size: 2.25rem !important;

    }

}




/* ============================================================

   ScaleCX v0.1.1 PATCH — full-bleed sections + recent posts

   Appended 2026-05-21 to fix Kadence parent container constraints

   ============================================================ */



.gosman-hero,

.gosman-section-paper {

    width: 100vw !important;

    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;

    margin-right: calc(50% - 50vw) !important;

    border-radius: 0 !important;

    box-shadow: none !important;

}



.gosman-hero > .wp-block-group__inner-container,

.gosman-section-paper > .wp-block-group__inner-container {

    max-width: 1200px !important;

    margin-left: auto !important;

    margin-right: auto !important;

    padding-left: 1.5rem !important;

    padding-right: 1.5rem !important;

}



.gosman-hero {

    padding: 5rem 0 6rem 0 !important;

}



.gosman-section-paper {

    padding: 4rem 0 !important;

}



.wp-block-columns:has(> .wp-block-column > .gosman-card-dark) {

    width: 100vw !important;

    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;

    margin-right: calc(50% - 50vw) !important;

    background: linear-gradient(180deg, #0a1428 0%, #1a2b4a 100%) !important;

    padding: 4rem 1.5rem !important;

    gap: 1rem !important;

    box-sizing: border-box !important;

}



.gosman-recent-posts.wp-block-latest-posts {

    list-style: none !important;

    padding: 0 !important;

    margin: 2rem 0 0 0 !important;

    display: grid !important;

    grid-template-columns: repeat(3, 1fr) !important;

    gap: 1.5rem !important;

}



.gosman-recent-posts.wp-block-latest-posts > li {

    background: linear-gradient(135deg, #10b981 0%, #0ea968 100%) !important;

    border-radius: 4px !important;

    padding: 2rem 1.5rem !important;

    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15) !important;

    transition: transform 0.2s ease, box-shadow 0.2s ease !important;

    display: flex !important;

    flex-direction: column !important;

    gap: 0.75rem !important;

    list-style: none !important;

}



.gosman-recent-posts.wp-block-latest-posts > li:hover {

    transform: translateY(-2px) !important;

    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25) !important;

}



.gosman-recent-posts.wp-block-latest-posts > li > a.wp-block-latest-posts__post-title {

    color: #ffffff !important;

    font-weight: 700 !important;

    font-size: 1rem !important;

    line-height: 1.35 !important;

    text-decoration: none !important;

    display: block !important;

}



.gosman-recent-posts.wp-block-latest-posts > li > a.wp-block-latest-posts__post-title:hover {

    text-decoration: underline !important;

}



.gosman-recent-posts.wp-block-latest-posts > li > time.wp-block-latest-posts__post-date {

    color: rgba(255, 255, 255, 0.8) !important;

    font-size: 0.75rem !important;

    letter-spacing: 0.05em !important;

    text-transform: uppercase !important;

    font-weight: 600 !important;

}



.gosman-post-list.wp-block-latest-posts {

    list-style: none !important;

    padding: 0 !important;

    margin: 0 !important;

}



.gosman-post-list.wp-block-latest-posts > li {

    padding: 1.25rem 0 !important;

    border-bottom: 1px solid #e5e7eb !important;

    list-style: none !important;

}



.gosman-post-list.wp-block-latest-posts > li > a.wp-block-latest-posts__post-title {

    color: #1a2b4a !important;

    font-weight: 700 !important;

    font-size: 1.1rem !important;

    text-decoration: none !important;

    display: block !important;

    margin-bottom: 0.25rem !important;

}



.gosman-post-list.wp-block-latest-posts > li > a.wp-block-latest-posts__post-title:hover {

    color: #10b981 !important;

}



.gosman-post-list.wp-block-latest-posts > li > time.wp-block-latest-posts__post-date {

    color: #6b7280 !important;

    font-size: 0.8rem !important;

    letter-spacing: 0.03em !important;

}



.gosman-post-list.wp-block-latest-posts > li > .wp-block-latest-posts__post-excerpt {

    color: #4b5563 !important;

    font-size: 0.95rem !important;

    line-height: 1.6 !important;

    margin-top: 0.5rem !important;

}



@media (max-width: 900px) {

    .gosman-recent-posts.wp-block-latest-posts {

        grid-template-columns: repeat(2, 1fr) !important;

    }

}



@media (max-width: 600px) {

    .gosman-recent-posts.wp-block-latest-posts {

        grid-template-columns: 1fr !important;

    }

}




/* ============================================================

   ScaleCX v0.1.2 PATCH — Topics dark section refinements

   Appended 2026-05-21 round 2

   Strategy: extend the navy strip vertically to cover the heading

   above and the paragraph + button below the dark cards row.

   ============================================================ */



/* H2 "Topics I write about" — when it directly precedes a row of dark cards,

   give it the navy background and white text */

h2.gosman-section-title:has(+ .wp-block-columns .gosman-card-dark) {

    color: #ffffff !important;

    background: #0a1428 !important;

    width: 100vw !important;

    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;

    margin-right: calc(50% - 50vw) !important;

    padding: 4rem 1.5rem 1.5rem !important;

    text-align: center !important;

    margin-bottom: 0 !important;

}



/* Topics dark cards row */

.wp-block-columns:has(> .wp-block-column > .gosman-card-dark) {

    width: 100vw !important;

    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;

    margin-right: calc(50% - 50vw) !important;

    margin-top: 0 !important;

    margin-bottom: 0 !important;

    background: #0a1428 !important;

    padding: 1rem max(1.5rem, calc(50vw - 600px)) 2rem !important;

    gap: 1.5rem !important;

    box-sizing: border-box !important;

}



/* Paragraph after dark cards row */

.wp-block-columns:has(> .wp-block-column > .gosman-card-dark) + p.has-text-color {

    color: rgba(255, 255, 255, 0.7) !important;

    background: #0a1428 !important;

    width: 100vw !important;

    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;

    margin-right: calc(50% - 50vw) !important;

    margin-top: 0 !important;

    margin-bottom: 0 !important;

    padding: 1rem 1.5rem 1.5rem !important;

    text-align: center !important;

}



/* Button wrapper after the paragraph */

.wp-block-columns:has(> .wp-block-column > .gosman-card-dark) ~ .wp-block-buttons:first-of-type {

    background: #0a1428 !important;

    width: 100vw !important;

    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;

    margin-right: calc(50% - 50vw) !important;

    margin-top: 0 !important;

    margin-bottom: 0 !important;

    padding: 0.5rem 1.5rem 4rem !important;

}



/* Topics dark cards — sized properly */

.gosman-card-dark {

    max-width: 240px !important;

    margin: 0 auto !important;

    padding: 2rem 1.25rem !important;

    background: rgba(255, 255, 255, 0.04) !important;

    border: 1px solid rgba(255, 255, 255, 0.1) !important;

    border-radius: 4px !important;

    transition: all 0.2s ease !important;

    height: 100% !important;

    min-height: 180px !important;

    justify-content: center !important;

}



.gosman-card-dark:hover {

    background: rgba(16, 185, 129, 0.08) !important;

    border-color: rgba(16, 185, 129, 0.3) !important;

    transform: translateY(-2px) !important;

}



/* Footer — reduce excessive padding from Kadence default */

#colophon.site-footer {

    background: #0a1428 !important;

    color: rgba(255, 255, 255, 0.65) !important;

}



#colophon.site-footer .site-footer-wrap {

    padding-top: 1rem !important;

    padding-bottom: 1rem !important;

}



#colophon.site-footer p {

    color: rgba(255, 255, 255, 0.65) !important;

    margin: 0 !important;

    font-size: 0.85rem !important;

}



#colophon.site-footer a {

    color: #10b981 !important;

}




/* ============================================================

   ScaleCX v0.1.3 PATCH — Footer height reduction

   Appended 2026-05-21 round 3

   Kadence injects padding 30px on .site-bottom-footer-inner-wrap.

   Override the full chain to keep footer ~50px tall.

   ============================================================ */



#colophon.site-footer,

#colophon.site-footer .site-footer-wrap,

#colophon.site-footer .site-bottom-footer-wrap,

#colophon.site-footer .site-footer-row-container-inner,

#colophon.site-footer .site-bottom-footer-inner-wrap,

#colophon.site-footer .site-footer-bottom-section-1,

#colophon.site-footer .footer-widget-area,

#colophon.site-footer .footer-widget-area-inner,

#colophon.site-footer .footer-html,

#colophon.site-footer .footer-html-inner {

    padding-top: 0 !important;

    padding-bottom: 0 !important;

    margin-top: 0 !important;

    margin-bottom: 0 !important;

}



/* Restore a small padding on the outermost wrap only */

#colophon.site-footer .site-footer-wrap {

    padding-top: 0.75rem !important;

    padding-bottom: 0.75rem !important;

}



#colophon.site-footer .site-bottom-footer-inner-wrap {

    grid-row-gap: 0 !important;

    grid-column-gap: 1rem !important;

}



#colophon.site-footer .footer-html-inner p {

    margin: 0 !important;

    padding: 0 !important;

    line-height: 1.4 !important;

    font-size: 0.8rem !important;

}


/* ============================================================
   ScaleCX v0.1.4 PATCH — Site background fix
   Appended 2026-05-21 round 4
   Kadence rule:
     .content-bg, body.content-style-unboxed .site { background: var(--global-palette9); }
   was making all hub pages dark because palette9 = navy-deep (used for footer).
   We force .site and .content-bg back to white, while keeping palette9 for footer.
   ============================================================ */

body.wp-child-theme-kadence-gosman-scalecx .site,
body.wp-child-theme-kadence-gosman-scalecx .content-bg,
body.wp-child-theme-kadence-gosman-scalecx article.content-bg,
body.wp-child-theme-kadence-gosman-scalecx article.entry {
    background: #ffffff !important;
}

body.wp-child-theme-kadence-gosman-scalecx .entry-content {
    background: #ffffff !important;
    color: #2c3e6b !important;
}



/* ============================================================

   ScaleCX v0.1.5 PATCH — Filter chips + single post layout

   Appended 2026-05-21 round 5

   ============================================================ */



.gosman-filter-chips a,

.gosman-filter-chips .gosman-chip {

    color: #2c3e6b !important;

    background: #ffffff !important;

    text-decoration: none !important;

}



.gosman-filter-chips a.active,

.gosman-filter-chips .gosman-chip.active {

    color: #ffffff !important;

    background: #1a2b4a !important;

}



.gosman-filter-chips a:hover:not(.active) {

    color: #0ea968 !important;

    border-color: #10b981 !important;

}



body.single-post .entry-content-wrap,

body.single .entry-content-wrap {

    padding: 2rem 0 !important;

    box-shadow: none !important;

}



body.single-post article.entry.single-entry,

body.single article.entry.single-entry {

    box-shadow: none !important;

    background: #ffffff !important;

    max-width: 760px !important;

    margin: 0 auto !important;

}



body.single-post .entry-content,

body.single .entry-content {

    max-width: 760px !important;

    margin: 0 auto !important;

    padding: 0 1.5rem !important;

    font-size: 1.05rem !important;

    line-height: 1.7 !important;

    color: #2c3e6b !important;

}



body.single-post .entry-content > *,

body.single .entry-content > * {

    max-width: 100% !important;

}



body.single-post .entry-content img,

body.single .entry-content img,

body.single-post .entry-content figure,

body.single .entry-content figure {

    max-width: 100% !important;

    height: auto !important;

}



body.single-post .entry-hero,

body.single .entry-hero,

body.single-post header.entry-header,

body.single header.entry-header {

    display: none !important;

}



body.single-post .content-area,

body.single .content-area {

    margin-top: 0 !important;

    margin-bottom: 0 !important;

    padding-bottom: 4rem !important;

}




/* ============================================================

   ScaleCX v0.1.6 PATCH — Query Loop post cards

   Appended 2026-05-21 round 6

   Match mockup-hub-architecture.html: white card, border 1px,

   hover = mint border + translateY(-3px) + mint shadow

   ============================================================ */



.gosman-query-grid .wp-block-post-template.gosman-post-grid {

    display: grid !important;

    grid-template-columns: repeat(2, 1fr) !important;

    gap: 2rem !important;

    list-style: none !important;

    padding: 0 !important;

    margin: 0 !important;

}



.gosman-query-grid .wp-block-post-template.gosman-post-grid > li {

    list-style: none !important;

    margin: 0 !important;

    padding: 0 !important;

    display: block !important;

}



.gosman-query-grid .gosman-post-card {

    background: #ffffff !important;

    border: 1px solid #e5e7eb !important;

    border-radius: 2px !important;

    padding: 2rem !important;

    text-decoration: none !important;

    transition: all 0.2s ease !important;

    display: flex !important;

    flex-direction: column !important;

    gap: 1rem !important;

    height: 100% !important;

    box-sizing: border-box !important;

}



.gosman-query-grid .gosman-post-card:hover {

    border-color: #10b981 !important;

    transform: translateY(-3px) !important;

    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.1) !important;

}



.gosman-query-grid .gosman-post-card-meta {

    display: flex !important;

    gap: 0.75rem !important;

    align-items: center !important;

    font-size: 0.75rem !important;

    flex-wrap: wrap !important;

    margin: 0 !important;

}



.gosman-query-grid .gosman-post-card-category {

    background: #10b981 !important;

    border-radius: 2px !important;

    padding: 3px 10px !important;

    font-weight: 700 !important;

    letter-spacing: 0.08em !important;

    text-transform: uppercase !important;

    font-size: 0.7rem !important;

    line-height: 1.4 !important;

}



.gosman-query-grid .gosman-post-card-category a {

    color: #ffffff !important;

    text-decoration: none !important;

}



.gosman-query-grid .gosman-post-card-category a:hover {

    color: rgba(255, 255, 255, 0.85) !important;

}



.gosman-query-grid .gosman-post-card-category .wp-block-post-terms__separator {

    color: #ffffff !important;

    margin: 0 0.2rem !important;

}



.gosman-query-grid .gosman-post-card-date {

    color: #6b7280 !important;

    font-size: 0.8rem !important;

}



.gosman-query-grid .gosman-post-card-date time {

    color: #6b7280 !important;

}



.gosman-query-grid h2.gosman-post-card-title {

    font-size: 1.35rem !important;

    font-weight: 600 !important;

    color: #1a2b4a !important;

    line-height: 1.3 !important;

    letter-spacing: -0.005em !important;

    margin: 0 !important;

}



.gosman-query-grid h2.gosman-post-card-title a {

    color: #1a2b4a !important;

    text-decoration: none !important;

    transition: color 0.2s ease !important;

}



.gosman-query-grid h2.gosman-post-card-title a:hover {

    color: #10b981 !important;

}



.gosman-query-grid .gosman-post-card-excerpt {

    font-size: 0.95rem !important;

    color: #6b7280 !important;

    line-height: 1.6 !important;

    flex-grow: 1 !important;

    margin: 0 !important;

}



.gosman-query-grid .gosman-post-card-excerpt .wp-block-post-excerpt__excerpt {

    color: #6b7280 !important;

    margin: 0 0 0.75rem 0 !important;

}



.gosman-query-grid .gosman-post-card-excerpt .wp-block-post-excerpt__more-text {

    margin: 0 !important;

}



.gosman-query-grid .gosman-post-card-excerpt .wp-block-post-excerpt__more-link {

    color: #10b981 !important;

    font-size: 0.85rem !important;

    font-weight: 600 !important;

    text-decoration: none !important;

}



.gosman-query-grid .gosman-post-card-excerpt .wp-block-post-excerpt__more-link:hover {

    color: #0ea968 !important;

    text-decoration: underline !important;

}



.gosman-query-grid .gosman-pagination {

    margin-top: 3rem !important;

    gap: 0.5rem !important;

}



.gosman-query-grid .gosman-pagination a,

.gosman-query-grid .gosman-pagination .wp-block-query-pagination-numbers a {

    color: #2c3e6b !important;

    background: #ffffff !important;

    border: 1px solid #e5e7eb !important;

    padding: 0.5rem 0.85rem !important;

    border-radius: 2px !important;

    text-decoration: none !important;

    font-size: 0.9rem !important;

    transition: all 0.2s ease !important;

}



.gosman-query-grid .gosman-pagination a:hover {

    border-color: #10b981 !important;

    color: #10b981 !important;

}



.gosman-query-grid .gosman-pagination .wp-block-query-pagination-numbers .current {

    background: #1a2b4a !important;

    color: #ffffff !important;

    padding: 0.5rem 0.85rem !important;

    border-radius: 2px !important;

}



@media (max-width: 900px) {

    .gosman-query-grid .wp-block-post-template.gosman-post-grid {

        grid-template-columns: 1fr !important;

    }

}




/* ============================================================

   ScaleCX v0.1.7 PATCH — Hub hero compactare

   Appended 2026-05-21 round 7

   Hub pages (Architecture/Gliding/Lab) hero ocupă prea mult spațiu.

   ============================================================ */



body.page-id-1090 .gosman-hero,

body.page-id-1091 .gosman-hero,

body.page-id-1092 .gosman-hero {

    padding: 2.5rem 0 2.5rem 0 !important;

}



body.page-id-1090 .gosman-hero .gosman-eyebrow-light,

body.page-id-1091 .gosman-hero .gosman-eyebrow-light,

body.page-id-1092 .gosman-hero .gosman-eyebrow-light {

    font-size: 0.7rem !important;

    margin-bottom: 0.75rem !important;

}



body.page-id-1090 .gosman-hero h1,

body.page-id-1091 .gosman-hero h1,

body.page-id-1092 .gosman-hero h1 {

    font-size: 2.25rem !important;

    line-height: 1.15 !important;

    margin: 0 !important;

}



body.page-id-1090 .gosman-hero h1 + p,

body.page-id-1091 .gosman-hero h1 + p,

body.page-id-1092 .gosman-hero h1 + p {

    font-size: 1rem !important;

    line-height: 1.55 !important;

    margin-top: 0.75rem !important;

    max-width: 720px !important;

}



body.page-id-1090 .gosman-hero .wp-block-columns,

body.page-id-1091 .gosman-hero .wp-block-columns,

body.page-id-1092 .gosman-hero .wp-block-columns {

    margin-top: 1.25rem !important;

    padding-top: 1rem !important;

}



body.page-id-1090 .gosman-hero .wp-block-column p:first-child,

body.page-id-1091 .gosman-hero .wp-block-column p:first-child,

body.page-id-1092 .gosman-hero .wp-block-column p:first-child {

    font-size: 1.5rem !important;

    margin-bottom: 0.15rem !important;

}



body.page-id-1090 .gosman-hero .wp-block-column p:last-child,

body.page-id-1091 .gosman-hero .wp-block-column p:last-child,

body.page-id-1092 .gosman-hero .wp-block-column p:last-child {

    font-size: 0.65rem !important;

}




/* ============================================================

   ScaleCX v0.1.8 PATCH — Hub hero compactare round 2

   Appended 2026-05-21 round 8

   ============================================================ */



body.page-id-1090 .gosman-hero,

body.page-id-1091 .gosman-hero,

body.page-id-1092 .gosman-hero {

    padding: 1.5rem 0 1.75rem 0 !important;

}



body.page-id-1090 .gosman-hero .gosman-eyebrow-light,

body.page-id-1091 .gosman-hero .gosman-eyebrow-light,

body.page-id-1092 .gosman-hero .gosman-eyebrow-light {

    font-size: 0.65rem !important;

    margin: 0 0 0.5rem 0 !important;

}



body.page-id-1090 .gosman-hero h1,

body.page-id-1091 .gosman-hero h1,

body.page-id-1092 .gosman-hero h1 {

    font-size: 1.85rem !important;

    line-height: 1.15 !important;

    margin: 0 !important;

}



body.page-id-1090 .gosman-hero h1 + p,

body.page-id-1091 .gosman-hero h1 + p,

body.page-id-1092 .gosman-hero h1 + p {

    font-size: 0.95rem !important;

    line-height: 1.5 !important;

    margin-top: 0.5rem !important;

    max-width: 720px !important;

}



body.page-id-1090 .gosman-hero .wp-block-columns,

body.page-id-1091 .gosman-hero .wp-block-columns,

body.page-id-1092 .gosman-hero .wp-block-columns {

    margin-top: 0.75rem !important;

    padding-top: 0.75rem !important;

}



body.page-id-1090 .gosman-hero .wp-block-column p:first-child,

body.page-id-1091 .gosman-hero .wp-block-column p:first-child,

body.page-id-1092 .gosman-hero .wp-block-column p:first-child {

    font-size: 1.25rem !important;

    margin: 0 0 0.1rem 0 !important;

    line-height: 1 !important;

}



body.page-id-1090 .gosman-hero .wp-block-column p:last-child,

body.page-id-1091 .gosman-hero .wp-block-column p:last-child,

body.page-id-1092 .gosman-hero .wp-block-column p:last-child {

    font-size: 0.6rem !important;

    margin: 0 !important;

}



body.page-id-1090 .gosman-hero h1.wp-block-heading,

body.page-id-1091 .gosman-hero h1.wp-block-heading,

body.page-id-1092 .gosman-hero h1.wp-block-heading {

    margin-bottom: 0 !important;

    margin-top: 0 !important;

}




/* === v0.1.9 PATCH — Home hero ultra-compact (consistent with hub hero) === */

/* Reduce vertical padding on hero container — applies to home + hubs */

.gosman-hero {

    padding-top: 2.5rem !important;

    padding-bottom: 2.5rem !important;

    min-height: auto !important;

}



/* Home-specific: when hero contains columns (home only, hubs are single-column) */

.gosman-hero .wp-block-columns {

    margin-top: 0 !important;

    margin-bottom: 0 !important;

    gap: 1rem !important;

}



.gosman-hero .wp-block-column {

    padding: 0 !important;

}



/* Force eyebrow tighter spacing */

.gosman-hero .gosman-eyebrow {

    margin-top: 0 !important;

    margin-bottom: 0.5rem !important;

    letter-spacing: 0.12em !important;

}



/* Tighten h1 margins */

.gosman-hero h1 {

    margin-top: 0 !important;

    margin-bottom: 0 !important;

}



/* Mobile: stack columns and center SVG */

@media (max-width: 768px) {

    .gosman-hero {

        padding-top: 2rem !important;

        padding-bottom: 2rem !important;

    }

    .gosman-hero svg {

        max-width: 180px !important;

        margin: 1rem auto 0 !important;

        display: block !important;

    }

}

