.popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 80%; /* Set the width of the popup content */
}

.close-popup {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 20px;
}

.form-control {
    width: 100%; /* Set the width of the input fields to 100% */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn {
    color: #fff !important;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#contact-us-form .btn {
    width: 100%; /* Set the width of the button to 100% */
}

.btn:hover {
    background-color: #0056b3;
}

.form-control {
    display: block; /* Make the input fields block-level elements */
    width: 100%; /* Set the width to 100% */
    max-width: 100%; /* Ensure that the maximum width is also 100% */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.custom-textarea {
    height: 100px;
}

.beautiful-title {
    font-family: 'Georgia', serif;
    font-weight: bold;
    text-align: center;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: -webkit-linear-gradient(left, #f39c12, #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
}

.ad-zone-flipxads {
    align-content: center;
    text-align: center;
}

.audience {
    display: flex;
    justify-content: center;
    align-items: center;
    /*gap: 40px;*/
    min-width: 800px;
    margin: 0 auto;
}

.audience-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.audience-right {
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

:root {
    --color-primary: #C62828; /* Main brand color */
    --color-secondary: #FFC107; /* Accent / highlight color */
    --color-text: #212121; /* Dark text */
    --color-background: #FFFFFF; /* Light background */
}

.header {
    background-color: var(--color-primary);
}

.button-primary {
    background-color: var(--color-primary);
    color: #fff;
}

.button-secondary {
    background-color: var(--color-secondary);
    color: #333;
}

.news-section {
    background: #fff;
}

.news-header .section-title {
    font-size: 1.8rem;
    font-weight: bold;
}

.news-list {
    margin-top: 5px;
}

.news-card {
    border-bottom: 1px solid #ddd;
    font-size: 0.85rem;
    display: flex;
    padding: 4px;
}

.news-stats {
    min-width: 70px !important;
    width: 70px !important;
}

.news-time {
    font-size: 0.75rem;
    text-align: center;
}

.vote-total {
    font-size: 0.9rem;
    border-radius: 3px;
    padding: 2px 4px;
}

.news-thumb {
    width: 140px;
    height: 100px;
    overflow: hidden;
    border-radius: 4px;
    flex-shrink: 0;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-body {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-title {
    font-size: 0.9rem;
    line-height: 1.1;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-description {
    margin-top: 2px;
    line-height: 1.2;
    max-height: 2.2em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-category {
    display: inline-block;
    background: #e0e0e0;
    border-radius: 3px;
    padding: 2px 4px;
    font-size: 0.7rem;
    margin-left: 4px;
}

.sidebar .card {
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.sidebar-list li a {
    font-size: 0.85rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    color: #555;
}

.news-source {
    margin-right: auto;
}

.news-datetime {
    text-align: right;
}

.toggle-description {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
}

.main-color {
    color: var(--color-primary);
}

.news-source {
    color: var(--color-primary) !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.3s;
}

.news-source:hover {
    color: #fff !important;
    background-color: var(--color-primary);
    text-decoration: none !important;
    padding: 2px 4px;
    border-radius: 4px;
}

.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.news-card:hover {
    background: #fff;
    transform: translateY(-5px) rotateX(1deg) rotateY(1deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

.news-card:hover .news-top .news-title {
    color: var(--color-primary) !important;
}

.news-card:hover .news-source {
    color: black !important;
}

.view-switcher .view-toggle {
    cursor: pointer;
    color: #555;
    font-size: 1.2rem;
    transition: color 0.2s, transform 0.2s;
}

.view-switcher .view-toggle:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

.view-toggle {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease-in-out;
}

.view-toggle.active {
    opacity: 1;
    font-weight: bold;
}

a {
    color: var(--color-primary) !important;
}

/* Default: Show only Desktop Header */
.header-desktop {
    display: block;
}

.header-mobile {
    display: none;
}

.news-thumb-container {
    margin-right: 15px;
}

.news-thumb-container img {
    border-radius: 5px;
}

.time-ago-label {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 6px;
    font-size: 0.75rem;
    border-radius: 4px;
    font-weight: bold;
}

#sidebarCategories li {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    will-change: transform;
    cursor: pointer;
    padding: 5px 10px !important;
    border-radius: 10px;
    transform-style: preserve-3d;
}

#sidebarCategories li {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
    will-change: transform;
    cursor: pointer;
}

#sidebarCategories li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: var(--color-primary) !important;
    color: white !important;
}

#sidebarCategories li:hover a {
    color: white !important;
}

@media screen and (max-width: 768px) {
    .header-desktop {
        display: none;
    }

    .header-mobile {
        display: block;
    }

    .news-thumb-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .time-ago-label {
        position: static;
        margin-bottom: 5px;
        background: rgba(0, 0, 0, 0.8);
        text-align: center;
        width: auto;
    }

    .news-description {
        display: none !important;
    }

    #section-static {
        margin: 30px !important;
        font-size: 1rem;
    }

    #section-static section h2 {
        font-size: 1.3rem;
    }

    #section-static section p,
    #section-static section ul {
        font-size: 1rem;
    }

    #section-static section ul {
        padding-left: 25px;
    }

    .buy-section-mobile {
        width: 90vw;
        max-width: 100vw;
        margin: 0 auto 1.5rem auto;
        padding: 0 0 1.5rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #fff;
        box-shadow: 0 2px 12px rgba(198,40,40,0.07);
        border-radius: 1.2rem;
        box-sizing: border-box;
    }
    .buy-label-main {
        color: #C62828;
        font-size: 1.08rem;
        font-weight: 800;
        text-align: center;
        margin: 1.1rem 0 1.1rem 0;
        letter-spacing: 0.01em;
        text-transform: uppercase;
        line-height: 1.3;
        word-break: break-word;
        white-space: normal;
        width: 95vw;
        max-width: 400px;
        box-sizing: border-box;
        padding: 0 8px;
        display: block;
    }
    .buy-btn-red.buy-btn-dominant {
        width: 95vw;
        max-width: 400px;
        background: linear-gradient(90deg, #C62828 60%, #ff7961 100%);
        color: #fff !important;
        font-size: 1.18rem !important;
        font-weight: 900;
        border-radius: 2.2rem;
        padding: 1.1rem 0;
        margin: 0 auto 0 auto;
        box-shadow: 0 4px 18px rgba(198,40,40,0.13);
        border: none;
        display: block;
        transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.15s;
        letter-spacing: 0.01em;
        box-sizing: border-box;
    }
    .buy-btn-red.buy-btn-dominant:active,
    .buy-btn-red.buy-btn-dominant:focus {
        background: #b71c1c;
        color: #fff !important;
        outline: none;
        box-shadow: 0 8px 32px rgba(198,40,40,0.18);
        transform: translateY(-2px) scale(1.04);
    }
}

/* Pagination Styles */
.pagination .page-link {
    color: var(--color-text) !important;
    background-color: transparent;
    border-color: #dee2e6;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    color: #fff !important;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.pagination .page-item.active .page-link {
    color: #fff !important;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d !important;
    background-color: transparent;
    border-color: #dee2e6;
}

/* Reset Grid Layout */
.row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Remove Bootstrap Column Classes */
.col-md-4, .col-lg-3 {
    width: auto;
    padding: 0;
}

/* New Card Design */
.card {
    width: 100%;
    min-height: 320px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 12px;
    overflow: hidden;
}

.card-body {
    padding: 16px;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 12px;
    overflow: hidden;
}

.card-title {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.card-text {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #e0e0e0;
    border-top: 1px solid #e0e0e0;
}

.card-actions a {
    height: 60px;
    display: grid;
    place-items: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background: white;
    transition: background-color 0.2s;
    padding: 0;
    margin: 0;
}

.card-actions a:first-child {
    background-color: var(--color-primary);
    color: white;
}

.card-actions a:last-child {
    color: #333;
}

.card-actions a:first-child:hover {
    background-color: #b71c1c;
}

.card-actions a:last-child:hover {
    background-color: #f5f5f5;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 20px 0;
}

.pagination .page-item .page-link {
    min-width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

.pagination .page-item.active .page-link,
.pagination .page-item .page-link:hover {
    background-color: #C62828;
    border-color: #C62828;
    color: white;
}

/* Styles for old FAQ accordion removed */

/* Homepage Buy Button Custom Styles - Stronger Specificity */
button.product-card-cta-buy-outline {
    border: 2px solid #C62828 !important;
    color: #C62828 !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(198,40,40,0.08) !important;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s !important;
}
button.product-card-cta-buy-outline:hover,
button.product-card-cta-buy-outline:focus {
    background: #111 !important;
    color: #fff !important;
    border-color: #C62828 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}

/* Payment Modal Buy Button Custom Styles - Match Homepage Buy Button */
button.payment-method-btn {
    border: 2px solid #C62828 !important;
    color: #C62828 !important;
    background: #fff !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(198,40,40,0.08) !important;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s !important;
}
button.payment-method-btn:hover,
button.payment-method-btn:focus {
    background: #111 !important;
    color: #fff !important;
    border-color: #C62828 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}

.product-card-tag {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    max-width: none !important;
}

.package-cta-modern {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 2.5rem 0 2.5rem 0;
    gap: 2.2rem;
}
.package-cta-modern-download, .package-cta-modern-buy {
    width: 100%;
    box-sizing: border-box;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(198,40,40,0.10), 0 2px 8px rgba(0,0,0,0.04);
    padding: 2.5rem 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}
.package-cta-modern-download {
    background: linear-gradient(135deg, #fff8f6 60%, #ffe3e0 100%);
    /*border: 2.5px solid #C62828;*/
}
.package-cta-modern-buy {
    background: linear-gradient(90deg, #C62828 60%, #ff7961 100%);
    border: none;
    margin-top: 0.5rem;
}
.package-cta-modern-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.2rem auto;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(198,40,40,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}
.package-cta-modern-title {
    font-size: 1.45rem;
    font-weight: 900;
    color: #C62828;
    margin-bottom: 1.1rem;
    letter-spacing: 0.01em;
    text-align: center;
}
.package-cta-modern-btn {
    background: linear-gradient(90deg, #C62828 60%, #ff7961 100%);
    color: #fff !important;
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 1.2rem;
    padding: 1.1rem 2.8rem;
    text-decoration: none;
    margin-bottom: 1.3rem;
    box-shadow: 0 4px 18px rgba(198,40,40,0.13);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    border: none;
    letter-spacing: 0.01em;
    display: inline-block;
}
.package-cta-modern-btn-download {
    background: linear-gradient(90deg, #C62828 60%, #ff7961 100%);
}
.package-cta-modern-btn-download:hover {
    background: linear-gradient(90deg, #b71c1c 60%, #ff7961 100%);
    box-shadow: 0 8px 32px rgba(198,40,40,0.18);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px) scale(1.04);
}
.package-cta-modern-btn-buy {
    background: #fff;
    color: #C62828 !important;
    font-size: 1.35rem;
    font-weight: 900;
    padding: 1.25rem 3.5rem;
    border-radius: 2.2rem;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(198,40,40,0.10);
    transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.15s;
    letter-spacing: 0.01em;
    display: inline-block;
    border: none;
    margin-top: 0.5rem;
}
.package-cta-modern-btn-buy:hover {
    background: #ffe3e0;
    color: #b71c1c !important;
    box-shadow: 0 8px 32px rgba(198,40,40,0.18);
    transform: translateY(-2px) scale(1.04);
}
.package-cta-modern-info {
    color: #C62828;
    font-size: 1.13rem;
    text-align: center;
    margin-top: 0.7rem;
    font-weight: 600;
    background: #fff3f0;
    border-radius: 0.9rem;
    padding: 1.1rem 1.5rem 1.1rem 1.5rem;
    box-shadow: 0 1px 6px rgba(198,40,40,0.07);
    border-left: 5px solid #C62828;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
@media (max-width: 900px) {
    .package-cta-modern-download, .package-cta-modern-buy {
        padding: 1.2rem 0 1.2rem 0;
    }
    .package-cta-modern-info {
        max-width: 98vw;
        padding: 1rem 0.5rem 1rem 0.5rem;
    }
}

.package-cta-edge {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    width: 100vw;
    max-width: 100vw;
    margin: 2.5rem 0 2.5rem 0;
    gap: 2.5rem;
    background: linear-gradient(90deg, #fff8f6 60%, #ffe3e0 100%);
    box-shadow: 0 8px 32px rgba(198,40,40,0.10), 0 2px 8px rgba(0,0,0,0.04);
    padding: 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.package-cta-edge-download, .package-cta-edge-buy {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem 3rem 2rem;
    min-width: 0;
    box-sizing: border-box;
}
.package-cta-edge-download {
    border-right: 2.5px solid #fbe9e7;
    background: none;
}
.package-cta-edge-buy {
    border-left: 2.5px solid #fbe9e7;
    background: none;
}
.package-cta-edge-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.2rem auto;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(198,40,40,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}
.package-cta-edge-title {
    font-size: 1.7rem;
    font-weight: 900;
    color: #C62828;
    margin-bottom: 1.1rem;
    letter-spacing: 0.01em;
    text-align: center;
}
.package-cta-edge-btn {
    background: linear-gradient(90deg, #C62828 60%, #ff7961 100%);
    color: #fff !important;
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 1.2rem;
    padding: 1.1rem 2.8rem;
    text-decoration: none;
    margin: 1.3rem 0 0 0;
    box-shadow: 0 4px 18px rgba(198,40,40,0.13);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    border: none;
    letter-spacing: 0.01em;
    display: inline-block;
}
.package-cta-edge-btn-download {
    background: linear-gradient(90deg, #C62828 60%, #ff7961 100%);
}
.package-cta-edge-btn-download:hover {
    background: linear-gradient(90deg, #b71c1c 60%, #ff7961 100%);
    box-shadow: 0 8px 32px rgba(198,40,40,0.18);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px) scale(1.04);
}
.package-cta-edge-btn-buy {
    background: #fff;
    color: #C62828 !important;
    font-size: 1.35rem;
    font-weight: 900;
    padding: 1.25rem 3.5rem;
    border-radius: 2.2rem;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(198,40,40,0.10);
    transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.15s;
    letter-spacing: 0.01em;
    display: inline-block;
    border: none;
    margin-top: 0.5rem;
}
.package-cta-edge-btn-buy:hover {
    background: #ffe3e0;
    color: #b71c1c !important;
    box-shadow: 0 8px 32px rgba(198,40,40,0.18);
    transform: translateY(-2px) scale(1.04);
}
.package-cta-edge-info, .package-cta-edge-info-buy {
    color: #C62828;
    font-size: 1.13rem;
    text-align: center;
    margin-top: 0.7rem;
    font-weight: 600;
    background: #fff3f0;
    border-radius: 0.9rem;
    padding: 1.1rem 1.5rem 1.1rem 1.5rem;
    box-shadow: 0 1px 6px rgba(198,40,40,0.07);
    border-left: 5px solid #C62828;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.package-cta-edge-info-buy {
    color: #C62828;
    background: #fff8f6;
    border-left: 5px solid #C62828;
}
@media (max-width: 900px) {
    .package-cta-edge {
        flex-direction: column;
        width: 90vw;
        max-width: 100vw;
        /*margin-left: 0;*/
        /*margin-right: 0;*/
        left: 0;
        right: 0;
        gap: 0;
    }
    .package-cta-edge-download, .package-cta-edge-buy {
        border: none;
        padding: 2rem 0.5rem 2rem 0.5rem;
    }
    .package-cta-edge-info, .package-cta-edge-info-buy {
        max-width: 98vw;
        padding: 1rem 0.5rem 1rem 0.5rem;
    }
}

.faq-container .faq-nav-text {
    padding-left: 1em !important;
    display: inline-block;
}
