body {
    background-color: #FDFDFD;
    }

h1 strong {
    color: #50B680;
}

.h5 {
    font-size: 1rem;
}

a {
    color: #FF914D;
}

a:hover {
    color: #F4823B;
}

.lead strong {
    font-weight: bold;
}

p.text-muted {
    font-size: 0.9rem;
}

.nav-link.active {
    color: #FF914D !important;
    font-weight: bold;
}

.orange {
    color: #FF914D;
}

.bg-green {
    background-color: #50B680;
}

.text-green {
    color: #50B680;
}

.text-small {
    font-size: 0.8rem;
}

.text-light {
    color: #b4b4b4 !important;
}

.icon-wrapper {
    color: #FFFFFF;
    font-weight: bold;
    background-color: #50B680;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-block;
    text-align: center;
    line-height: 2.5rem;
    font-size: 1.4rem;
}

.form-label {
    font-weight: bold;
    font-size: 0.9rem;
}

input {
    color: #212529;
}

.button-choice select {
     display: none;
}

.btn-light:hover {
    border-color: #F2F2F2;
    background-color: #F2F2F2;
}

.btn-light.active {
    background-color: #50B680;
    border-color: #50B680;
    color: #FFFFFF;
}

.btn-light.active:hover {
    background-color: #45ad76;
    border-color: #45ad76;
    color: #FFFFFF;
}

.btn-orange {
    background-color: #FF914D;
    color: #FFFFFF;
}

.btn-orange:hover {
    background-color: #F4823B;
    color: #FFFFFF;
}

article, .article {
    font-size: 1.15rem;
}
article h1, .article h1 {
    font-size: 2.8rem;
}

article h2, .article h2 {
    font-size: 2.3rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}
article h3, .article h3 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

article .lead p, article .lead, .article .lead p, .article .lead {
    font-size: 1.4rem;
}

@media (min-width: 992px) {
    .h1, h1 {
        font-size: calc(1.375rem + 1.1vw);
    }
}

@media (min-width: 1200px) {
    .h1, h1 {
        font-size: calc(1.375rem + 1.2vw);
    }

    .icon-wrapper {
        width: 3rem;
        height: 3rem;
        line-height: 3rem;
        font-size: 1.7rem;
    }

    .h5 {
        font-size: 1.1rem;
    }
}

@media (min-width: 1400px) {
    .h5 {
        font-size: 1.25rem;
    }
}

.ts-control:not(.rtl) {
    padding: 0.375rem 0.75rem!important;
}

#notifier_ruian {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    background: none;
}

#notifier_ruian::-ms-expand {
    display: none;
}

.ts-wrapper.form-select {
    background: none;
}

.plugin-clear_button.form-select .clear-button, .plugin-clear_button.single .clear-button {
    right: 10px;
    font-size: 1.5rem;
}

.plugin-clear_button .clear-button {
    top: 35%;
}

.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-outline-light-gray {
    color: #adb5bd;
    border-color: #ced4da;
    background-color: transparent;
}

.btn-outline-light-gray:hover {
    background-color: #f8f9fa;
    border-color: #ced4da;
    color: #6c757d;
}

/* Dual Range Slider Styles - Fixed z-index and clickability */
.dual-range-slider {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 0;
}

.range-input {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
}

/* Min slider - lower z-index so max slider thumb is on top when overlapping */
.range-min {
    z-index: 4;
}

/* Max slider - higher z-index so it's clickable when sliders overlap */
.range-max {
    z-index: 5;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #50B680;
    cursor: pointer;
    border: 3px solid #ffffff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.range-input::-moz-range-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #50B680;
    cursor: pointer;
    border: 3px solid #ffffff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    pointer-events: auto;
    position: relative;
    z-index: 10;
    -moz-appearance: none;
}

.range-input::-webkit-slider-track {
    background: transparent;
    height: 6px;
    border: none;
}

.range-input::-moz-range-track {
    background: transparent;
    height: 6px;
    border: none;
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: #f8f9fa;
    border-radius: 3px;
    z-index: 1;
}

.slider-range {
    position: absolute;
    height: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: #50B680;
    border-radius: 3px;
    z-index: 2;
}

/* Hover effects */
.range-input:hover::-webkit-slider-thumb {
    background: #45ad76;
    border-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    transform: scale(1.1);
}

.range-input:hover::-moz-range-thumb {
    background: #45ad76;
    border-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    transform: scale(1.1);
}

/* Active state */
.range-input:active::-webkit-slider-thumb {
    background: #45ad76;
    border-color: #ffffff;
    transform: scale(1.15);
}

.range-input:active::-moz-range-thumb {
    background: #45ad76;
    border-color: #ffffff;
    transform: scale(1.15);
}

/* Fixed width for price badges to prevent jumping */
.price-badge {
    min-width: 100px;
    text-align: center;
    display: inline-block;
}

/* Article cards hover effects */
.article-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Magazine page styles */
.featured-article {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-article:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
}

.bg-green {
    background-color: #50B680 !important;
}

.text-green {
    color: #50B680 !important;
}

.btn-green {
    background-color: #50B680;
    border-color: #50B680;
    color: white;
}

.btn-green:hover {
    background-color: #45ad76;
    border-color: #45ad76;
    color: white;
}

.btn-outline-green {
    color: #50B680;
    border-color: #50B680;
}

.btn-outline-green:hover {
    background-color: #50B680;
    border-color: #50B680;
    color: white;
}

.badge.bg-green {
    background-color: #50B680 !important;
}

.sticky-top {
    position: sticky;
}

/* Article page enhancements */
.article-page {
    line-height: 1.7;
}

/* Hero section improvements */
.article-hero {
    position: relative;
    background-color: #50B680;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.article-hero .col-12 {
    position: relative;
    z-index: 2;
}

.article-image-wrapper {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.article-title {
    font-size: 2.5rem !important;
}

.article-excerpt {
    font-size: 1.3rem !important;
    opacity: 0.95;
}

/* Article meta styling */
.article-meta {
    background: linear-gradient(90deg, #f8f9fa 0%, transparent 100%);
    padding: 15px 20px;
    border-radius: 8px;
    margin: -10px -10px 30px -10px;
}

/* Table of contents styling */
.toc-card {
    border-left: 4px solid #50B680;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.toc-link {
    color: #495057 !important;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-radius: 4px;
    padding: 8px 12px !important;
    margin: 2px 0;
}

.toc-link:hover {
    color: #50B680 !important;
    background-color: rgba(80, 182, 128, 0.1);
    transform: translateX(5px);
}

/* Enhanced article content styling */
.article-content h2 {
    position: relative;
    color: #2c3e50;
    margin-top: 3.5rem !important;
    margin-bottom: 1.5rem !important;
    padding-left: 20px;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background: linear-gradient(45deg, #50B680, #FF914D);
    border-radius: 3px;
}

.article-content h3 {
    color: #34495e;
    font-weight: 600;
    margin-top: 2.5rem !important;
    margin-bottom: 1.2rem !important;
}



.article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-content strong {
    color: #2c3e50;
    background: linear-gradient(120deg, rgba(255, 145, 77, 0.1) 0%, rgba(255, 145, 77, 0.1) 100%);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* Call to action styling */
.article-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 25px !important;
    margin: 0 -15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Reading progress bar */
.reading-progress {
    box-shadow: 0 1px 3px rgba(255, 145, 77, 0.3);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem !important;
    }
    
    .article-excerpt {
        font-size: 1.1rem !important;
    }
    
    .article-content h2 {
        font-size: 1.8rem !important;
        margin-top: 2.5rem !important;
    }
    
    .article-meta {
        margin: -5px -5px 20px -5px;
        padding: 12px 15px;
    }
    
    .article-meta .d-flex {
        flex-direction: column !important;
        gap: 8px;
    }
    
    .article-cta {
        margin: 0 -10px;
        padding: 20px !important;
    }
}

/* Print styles */
/* Inline CTA styling */
.article-cta-inline {
    background: linear-gradient(135deg, #fff5f0 0%, #ffeee6 100%);
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(255, 145, 77, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-cta-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 145, 77, 0.15);
}

.border-orange {
    border-color: #FF914D !important;
}

.btn-outline-orange {
    color: #FF914D;
    border-color: #FF914D;
}

.btn-outline-orange:hover {
    background-color: #FF914D;
    border-color: #FF914D;
    color: white;
}

@media print {
    .article-hero,
    .article-meta,
    .article-toc,
    .article-cta,
    .reading-progress {
        display: none !important;
    }
    
    .article-content {
        font-size: 12pt !important;
        line-height: 1.5 !important;
    }
}


