.ir-chart-container {
    position: relative;
    height: 450px;
    margin: 30px auto;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    max-width: 800px;
}
.rei-half-sections .hs h3 {
    color: #1a1f36;
    font-size: 1.3em;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 15px;
}
.rei-half-sections .ir-team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
}
.rei-half-sections .ir-team-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #9BCF13;
    transition: all 0.3s ease;
}
.rei-half-sections .ir-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(169, 207, 57, 0.2);
}
.rei-half-sections .ir-team-card h4 {
    color: #1a1f36;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 1.2em;
}
.rei-half-sections .ir-team-role {
    color: #557421;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95em;
}
.rei-half-sections .ir-independence {
    color: #28a745;
    font-weight: 600;
    font-size: 0.9em;
    margin-top: 12px;
}
.rei-half-sections .ir-highlight {
    background: #f0f9e8;
    border-left: 4px solid #9BCF13;
    padding: 20px;
    margin: 25px 0;
    border-radius: 6px;
}
.rei-half-sections .ir-sources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
}
.rei-half-sections .ir-source-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}
.rei-half-sections .ir-source-card:hover {
    border-color: #9BCF13;
    box-shadow: 0 4px 12px rgba(169, 207, 57, 0.15);
}
.rei-half-sections .ir-source-card h4 {
    color: #1a1f36;
    margin-bottom: 15px;
    font-weight: 600;
}
.rei-half-sections .table-responsive {
    margin: 30px 0;
}

/* Style dla zakładek Bootstrap - dostosowane do CStore */
.rei-half-sections .nav-tabs {
    border-bottom: 2px solid #e9ecef;
    margin-top: 20px;
}
.rei-half-sections .nav-tabs .nav-item {
    margin-bottom: -2px;
}
.rei-half-sections .nav-tabs .nav-link {
    color: #1a1f36;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.rei-half-sections .nav-tabs .nav-link:hover {
    color: #9BCF13;
    border-bottom-color: #9BCF13;
    background: #f8f9fa;
}
.rei-half-sections .nav-tabs .nav-link.active {
    color: #9BCF13;
    background: white;
    border-bottom-color: #9BCF13;
    font-weight: 600;
}
.rei-half-sections .tab-content {
    background: white;
    padding: 20px 0;
    border-radius: 0 0 8px 8px;
}

/* Style dla Accordion Bootstrap - dostosowane do CStore */
.rei-half-sections .accordion .card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.rei-half-sections .accordion .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 0;
}
.rei-half-sections .accordion .card-header h3 {
    margin: 0;
}
.rei-half-sections .accordion .btn-link {
    width: 100%;
    text-align: left;
    padding: 18px 25px;
    color: #1a1f36;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}
.rei-half-sections .accordion .btn-link:hover {
    color: #9BCF13;
    background: #f0f9e8;
    text-decoration: none;
}
.rei-half-sections .accordion .btn-link:focus {
    box-shadow: none;
    text-decoration: none;
}
.rei-half-sections .accordion .btn-link::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.8em;
    font-weight: normal;
    color: #9BCF13;
    line-height: 0.6em;
}
.rei-half-sections .accordion .btn-link:not(.collapsed)::after {
    content: '−';
}
.rei-half-sections .accordion .card-body {
    padding: 25px;
    background: white;
}

@media (max-width: 768px) {
    .ir-chart-container {
        height: 300px;
        padding: 15px;
    }
    .rei-half-sections .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .rei-half-sections .accordion .btn-link {
        padding: 15px 20px;
        font-size: 1em;
    }
    .rei-half-sections .accordion .btn-link::after {
        right: 20px;
    }
}


.downloads a img {
    margin: auto !important;
    display: inline-block;
}

.newsletter-ir-section {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-ir-content {
    position: relative;
    z-index: 2;
}

.newsletter-ir-section h2 {
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 400;
}

.newsletter-ir-form {
    background: rgb(248, 249, 250);
    padding: 30px;
    border-radius: 8px;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-ir-form .form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.newsletter-ir-form input[type="text"],
.newsletter-ir-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.newsletter-ir-form input[type="text"]:focus,
.newsletter-ir-form input[type="email"]:focus {
    border-color: #9BCF13;
    outline: none;
    box-shadow: 0 0 0 3px rgba(169, 207, 57, 0.1);
}

.newsletter-consent {
    margin-bottom: 20px;
    text-align: left;
}

.newsletter-consent label {
    display: flex;
    align-items: start;
    cursor: pointer;
    font-size: 0.65em;
    color: #666;
    line-height: 1.4;
}

.newsletter-consent input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.newsletter-consent a {
    color: #9BCF13;
    text-decoration: none;
    font-weight: 600;
}

.newsletter-consent a:hover {
    text-decoration: underline;
}

.newsletter-ir-form button {
    width: 100%;
    background: rgb(155, 207, 19);
    color: white;
    padding: 13px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-ir-form button:hover {
    background: rgb(77, 95, 0);
}

.newsletter-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}

.newsletter-success {
    background: #d4edda;
    color: #155724;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border-left: 4px solid #28a745;
    font-weight: 500;
    font-size: 0.9em;
}

.newsletter-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border-left: 4px solid #dc3545;
    font-weight: 500;
    font-size: 0.9em;
}

.newsletter-info {
    background: #d1ecf1;
    color: #0c5460;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border-left: 4px solid #17a2b8;
    font-weight: 500;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .newsletter-ir-section {
        padding: 30px 0;
    }

    .newsletter-ir-section h2 {
        font-size: 1.5em;
    }

    .newsletter-ir-form {
        padding: 20px;
    }

    .newsletter-ir-form .form-row {
        flex-direction: column;
        gap: 10px;
    }
}