/* ========================================
   Jabroni Capital - Main Stylesheet
   ======================================== */

/* CSS Variables / Root Styles */
:root {
    --wt-primary-color: #2C81E5;
    --wt-text-on-primary-color: #FFFFFF;
    --wt-secondary-color: #F9FAFB;
    --wt-text-on-secondary-color: #030712;
    --wt-tertiary-color: #FFFFFF;
    --wt-text-on-tertiary-color: #222222;
    --wt-background-color: #FFFFFF;
    --wt-text-on-background-color: #222222;
    --wt-subscribe-background-color: #FFFFFF;
    --wt-text-on-subscribe-background-color: #222222;
    --wt-header-font: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --wt-body-font: "Open Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --wt-button-font: "Open Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --wt-border-radius: 8px
}

/* ========================================
   Utility Classes
   ======================================== */

/* Primary Color Utilities */
.bg-wt-primary {
    background-color: var(--wt-primary-color);
}

.text-wt-primary {
    color: var(--wt-primary-color);
}

.border-wt-primary {
    border-color: var(--wt-primary-color);
}

/* Text on Primary Utilities */
.bg-wt-text-on-primary {
    background-color: var(--wt-text-on-primary-color);
}

.text-wt-text-on-primary {
    color: var(--wt-text-on-primary-color);
}

.border-wt-text-on-primary {
    border-color: var(--wt-text-on-primary-color);
}

/* Secondary Color Utilities */
.bg-wt-secondary {
    background-color: var(--wt-secondary-color);
}

.text-wt-secondary {
    color: var(--wt-secondary-color);
}

.border-wt-secondary {
    border-color: var(--wt-secondary-color);
}

/* Text on Secondary Utilities */
.bg-wt-text-on-secondary {
    background-color: var(--wt-text-on-secondary-color);
}

.text-wt-text-on-secondary {
    color: var(--wt-text-on-secondary-color);
}

.border-wt-text-on-secondary {
    border-color: var(--wt-text-on-secondary-color);
}

/* Tertiary Color Utilities */
.bg-wt-tertiary {
    background-color: var(--wt-tertiary-color);
}

.text-wt-tertiary {
    color: var(--wt-tertiary-color);
}

.border-wt-tertiary {
    border-color: var(--wt-tertiary-color);
}

/* Text on Tertiary Utilities */
.bg-wt-text-on-tertiary {
    background-color: var(--wt-text-on-tertiary-color);
}

.text-wt-text-on-tertiary {
    color: var(--wt-text-on-tertiary-color);
}

.border-wt-text-on-tertiary {
    border-color: var(--wt-text-on-tertiary-color);
}

/* Background Color Utilities */
.bg-wt-background {
    background-color: var(--wt-background-color);
}

.text-wt-background {
    color: var(--wt-background-color);
}

.border-wt-background {
    border-color: var(--wt-background-color);
}

/* Text on Background Utilities */
.bg-wt-text-on-background {
    background-color: var(--wt-text-on-background-color);
}

.text-wt-text-on-background {
    color: var(--wt-text-on-background-color);
}

.border-wt-text-on-background {
    border-color: var(--wt-text-on-background-color);
}

/* Subscribe Background Utilities */
.bg-wt-subscribe-background {
    background-color: var(--wt-subscribe-background-color);
}

.text-wt-subscribe-background {
    color: var(--wt-subscribe-background-color);
}

.border-wt-subscribe-background {
    border-color: var(--wt-subscribe-background-color);
}

/* Text on Subscribe Background Utilities */
.bg-wt-text-on-subscribe-background {
    background-color: var(--wt-text-on-subscribe-background-color);
}

.text-wt-text-on-subscribe-background {
    color: var(--wt-text-on-subscribe-background-color);
}

.border-wt-text-on-subscribe-background {
    border-color: var(--wt-text-on-subscribe-background-color);
}

/* Border Radius & Font Utilities */
.rounded-wt {
    border-radius: var(--wt-border-radius);
}

.wt-header-font {
    font-family: var(--wt-header-font);
}

.wt-body-font {
    font-family: var(--wt-body-font);
}

.wt-button-font {
    font-family: var(--wt-button-font);
}

/* Input Focus Styles */
input:focus {
    --tw-ring-color: transparent !important;
}

/* Link Styles */
li a {
    word-break: break-word;
}

/* ========================================
   Header Styles
   ======================================== */
.jc-header-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 20px;
    margin: -24px -20px 32px -20px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.92) 50%, 
        rgba(249, 250, 251, 0.95) 100%);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(229, 231, 235, 0.6);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 
                0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.jc-header-container:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 
                0 4px 6px -2px rgba(0, 0, 0, 0.04);
    border-bottom-color: rgba(44, 129, 229, 0.2);
}

.jc-header-content {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
}

.jc-header-logo {
    height: 36px;
    width: 36px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(44, 129, 229, 0.15);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.jc-header-logo:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 4px 12px rgba(44, 129, 229, 0.25);
}

.jc-header-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Poppins', 'Trebuchet MS', 'Lucida Grande', Tahoma, sans-serif;
    background: linear-gradient(135deg, #2A2A2A 0%, #1a1a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* ========================================
   Byline & Author Styles
   ======================================== */
.bh__byline_wrapper {
    font-size: .875rem;
    line-height: 1.25rem;
    vertical-align: middle;
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.5rem 15px 2rem 15px;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    margin-bottom: 1.5rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bh__byline_social_wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.bh__byline_social_wrapper a {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.bh__byline_social_wrapper a:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.author-info-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.author-avatar {
    height: 40px;
    width: 40px;
    border: 2px solid rgba(44, 129, 229, 0.1);
    border-radius: 9999px;
    transition: border-color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.author-avatar:hover {
    border-color: rgba(44, 129, 229, 0.3);
    transform: scale(1.05);
}

.author-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.author-name {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--wt-text-on-background-color);
    margin: 0;
    line-height: 20px;
    text-align: left;
}

.author-name a {
    color: var(--wt-text-on-background-color) !important;
    text-decoration: underline !important;
    transition: color 0.2s ease;
}

.author-name a:hover {
    color: #2C81E5 !important;
}

.post-date {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 13px;
    opacity: 0.75;
    color: var(--wt-text-on-background-color);
    text-align: left;
}

/* ========================================
   Table Styles
   ======================================== */
.table-base,
.table-c,
.table-h {
    border: 1px solid #C0C0C0;
}

.table-c {
    padding: 5px;
    background-color: #FFFFFF;
}

.table-c p {
    color: #2D2D2D;
    font-family: 'Helvetica', Arial, sans-serif !important;
    overflow-wrap: break-word;
}

.table-h {
    padding: 5px;
    background-color: #F1F1F1;
}

.table-h p {
    color: #2A2A2A;
    font-family: 'Trebuchet MS', 'Lucida Grande', Tahoma, sans-serif !important;
    overflow-wrap: break-word;
}

/* ========================================
   Content Styles
   ======================================== */
p span[style*="font-size"] {
    line-height: 1.6;
}

/* ========================================
   Footer Styles
   ======================================== */
.jc-footer {
    background-color: #ffffff;
    border-top: 1px solid rgba(229, 231, 235, 0.5);
    padding: 56px 20px 32px;
    margin-top: 80px;
    font-family: 'Open Sans', 'Helvetica', Arial, sans-serif;
}

.jc-footer-container {
    max-width: 672px;
    margin: 0 auto;
}

.jc-footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.jc-footer-logo {
    height: 48px;
    width: 48px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(44, 129, 229, 0.15);
    margin-bottom: 16px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.jc-footer-logo:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 6px 16px rgba(44, 129, 229, 0.25);
}

.jc-footer-tagline {
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.5;
    max-width: 400px;
    letter-spacing: -0.01em;
}

.jc-footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.jc-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2C81E5 0%, #1e5fa8 100%);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(44, 129, 229, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.jc-footer-social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.jc-footer-social-link:hover::before {
    opacity: 1;
}

.jc-footer-social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(44, 129, 229, 0.35);
}

.jc-footer-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    position: relative;
    z-index: 1;
}

.jc-footer-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(229, 231, 235, 0.8) 20%, 
        rgba(229, 231, 235, 0.8) 80%, 
        transparent 100%);
    margin: 32px 0 28px 0;
}

.jc-footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.jc-footer-link {
    color: #2C81E5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.jc-footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2C81E5, #1e5fa8);
    transition: width 0.3s ease;
}

.jc-footer-link:hover {
    color: #1e5fa8;
}

.jc-footer-link:hover::after {
    width: 100%;
}

.jc-footer-bottom {
    text-align: center;
    padding-top: 8px;
}

.jc-footer-copyright {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.jc-footer-copyright-highlight {
    color: #1a1a1a;
    font-weight: 600;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media only screen and (max-width: 667px) {
    .mob-stack {
        display: block !important;
        width: 100% !important;
    }
    .mob-w-full {
        width: 100% !important;
    }
}

@media (max-width: 667px) {
    /* Header Mobile */
    .jc-header-container {
        padding: 12px 15px;
        margin: -20px -15px 24px -15px;
    }
    .jc-header-logo {
        height: 32px;
        width: 32px;
        border-radius: 8px;
    }
    .jc-header-title {
        font-size: 18px;
    }
    .jc-header-content {
        gap: 10px;
    }
    
    /* Byline Mobile */
    .bh__byline_wrapper {
        padding: 1rem 15px 1.5rem 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .bh__byline_social_wrapper {
        justify-content: flex-start;
        width: 100%;
    }
    .author-info-wrapper {
        gap: 10px;
    }
    .author-avatar {
        height: 36px;
        width: 36px;
    }
    .author-name {
        font-size: 13px;
    }
    .post-date {
        font-size: 12px;
    }
    
    /* Footer Mobile */
    .jc-footer {
        padding: 40px 15px 24px;
        margin-top: 60px;
    }
    .jc-footer-logo {
        height: 42px;
        width: 42px;
        border-radius: 10px;
    }
    .jc-footer-tagline {
        font-size: 15px;
    }
    .jc-footer-social {
        gap: 14px;
        margin: 28px 0;
    }
    .jc-footer-social-link {
        width: 42px;
        height: 42px;
    }
    .jc-footer-social-link svg {
        width: 18px;
        height: 18px;
    }
    .jc-footer-links {
        gap: 24px;
    }
    .jc-footer-copyright {
        font-size: 12px;
    }
}

@media (min-width: 768px) {
    .bh__byline_wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    .bh__byline_social_wrapper {
        justify-content: flex-end;
    }
}

