.text-justify {
    text-align: justify;
}

a {
    color: #050915;
    text-decoration: none;
}

a:hover {
    color: #0b1530;
}

.footer {
    background: #050915;
    color: #f5f7fa;
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: #f5f7fa;
    margin-bottom: 1rem;
}

.footer a {
    color: #e0e6ed;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffff06;
}

.footer .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer .text-primary-custom {
    color: #fff !important;
}

.footer .social-icon {
    width: 40px;
    height: 40px;
    background: #0b1530;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: all 0.3s ease;
}

.footer .social-icon i {
    color: #fff;
    font-size: 1.2rem;
}

.footer .social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(11, 21, 48, 0.18);
    color: #ffff06;
    background: #152759;
}

.footer .social-icon:hover i {
    color: #ffff06;
}

.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    display: none;
}

@media (max-width: 768px) {
    .mobile-nav {
        display: block;
    }
}

.mobile-nav-item {
    text-align: center;
    flex: 1;
    padding: 0.5rem;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: #0b1530;
    transform: translateY(-2px);
}

.mobile-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    display: block;
}

.mobile-nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .mobile-nav {
        display: flex !important;
        flex-direction: row !important;
    }
}

@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
}

.mobile-nav .pull-refresh {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #0b1530;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.mobile-nav .pull-refresh.show {
    transform: translateX(-50%) translateY(20px);
}

#navbarNav .dropdown-toggle::after {
    border: none;
}

@media (max-width: 991.98px) {
    #navbarNav .desktop-user-actions {
        display: none !important;
    }
}

#navbarNav .desktop-user-actions .user-action-btn {
    background: transparent !important;
    color: #050915 !important;
    border-radius: 0;
    padding: 0.5rem 1rem !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    text-decoration: none;
}

#navbarNav .desktop-user-actions .user-action-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0b1530;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

#navbarNav .desktop-user-actions .user-action-btn:hover {
    background: transparent !important;
    color: #0b1530 !important;
    transform: none;
    box-shadow: none;
}

#navbarNav .desktop-user-actions .user-action-btn:hover::after {
    width: 80%;
}

#navbarNav .desktop-user-actions .user-action-btn:hover i {
    transform: translateY(-2px);
}

#navbarNav .desktop-user-actions .user-action-btn:focus {
    outline: none;
    color: #0b1530 !important;
}

#navbarNav .desktop-user-actions .user-action-btn i {
    font-size: 1rem;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

#navbarNav .desktop-user-actions .user-action-btn span {
    font-size: 0.95rem;
    font-weight: 500;
}

#navbarNav .desktop-user-actions .user-action-btn.active {
    color: #0b1530 !important;
}

#navbarNav .desktop-user-actions .user-action-btn.active::after {
    width: 80%;
}

@media (max-width: 991.98px) {
    #navbarNav .desktop-user-actions {
        display: none;
    }
}

#navbarNav .nav-item {
    margin: 0 0.25rem;
}

#navbarNav .nav-item .nav-link {
    position: relative;
    transition: all 0.3s ease;
}

#navbarNav .nav-item .nav-link:hover {
    color: #0b1530;
}

body.blue #navbarNav .desktop-user-actions .user-action-btn {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.blue #navbarNav .desktop-user-actions .user-action-btn:hover {
    color: white !important;
}

body.blue #navbarNav .desktop-user-actions .user-action-btn:hover::after {
    background: rgba(255, 255, 255, 0.8);
}

body.blue #navbarNav .desktop-user-actions .user-action-btn.active {
    color: white !important;
}

body.blue #navbarNav .desktop-user-actions .user-action-btn.active::after {
    background: rgba(255, 255, 255, 0.8);
}

body.blue #navbarNav .desktop-user-actions .user-action-btn::after {
    background: rgba(255, 255, 255, 0.6);
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0b1530, #0a142f 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-screen .loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.dark-link {
    color: #050915;
    text-decoration: none;
}

.dark-link:hover {
    color: #0b1530;
}

.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 112px;
    width: 50px;
    height: 50px;
    background: #0b1530;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(11, 21, 48, 0.18);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #010307;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 25px 50px rgba(11, 21, 48, 0.18);
}

.scroll-to-top:active {
    transform: translateY(0) scale(0.95);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 90px;
        right: 85px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

.scroll-to-top.bounce {
    animation: scrollTopBounce 0.6s ease-out;
}

@keyframes scrollTopBounce {
    0% {
        transform: translateY(20px) scale(0.3);
        opacity: 0;
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.pagination-custom {
    justify-content: center;
    margin-top: 50px;
}

.page-link {
    border: none;
    color: var(--primary-color);
    padding: 12px 18px;
    margin: 0 5px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
}

body .logo-white {
    display: none;
}

body .logo-blue {
    display: inline-block;
}

body.blue .logo-white {
    display: inline-block;
}

body.blue .logo-blue {
    display: none;
}

body.blue .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

body.blue .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body.blue .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

body .slogan-container {
    background: transparent;
    color: #fff;
    padding: 120px 0 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

body .slogan-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 9, 21, 0.95) 0%, rgba(11, 21, 48, 0.85) 50%, rgba(5, 9, 21, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body .slogan-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%), radial-gradient(ellipse at top, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    animation: luxury-sweep 8s ease-in-out infinite;
}

body .slogan-container .site-slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    letter-spacing: 12px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    padding: 0 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.95) 25%, rgba(255, 255, 6, 0.9) 50%, rgba(255, 255, 255, 0.95) 75%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: premium-shine 6s linear infinite;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(255, 255, 6, 0.2));
}

body .slogan-container .site-slogan::before,
body .slogan-container .site-slogan::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 6, 0.5) 50%, rgba(255, 255, 255, 0.3) 100%);
}

body .slogan-container .site-slogan::before {
    left: -100px;
    transform: translateY(-50%);
}

body .slogan-container .site-slogan::after {
    right: -100px;
    transform: translateY(-50%) scaleX(-1);
}

@media (max-width: 1400px) {
    body .slogan-container .site-slogan {
        font-size: 1.3rem;
        letter-spacing: 10px;
    }

    body .slogan-container .site-slogan::before,
    body .slogan-container .site-slogan::after {
        width: 60px;
    }

    body .slogan-container .site-slogan::before {
        left: -80px;
    }

    body .slogan-container .site-slogan::after {
        right: -80px;
    }
}

@media (max-width: 1200px) {
    body .slogan-container .site-slogan {
        font-size: 1.2rem;
        letter-spacing: 8px;
    }

    body .slogan-container .site-slogan::before,
    body .slogan-container .site-slogan::after {
        display: none;
    }
}

@media (max-width: 768px) {
    body .slogan-container .site-slogan {
        font-size: 0.9rem;
        letter-spacing: 6px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    body .slogan-container .site-slogan {
        font-size: 0.8rem;
        letter-spacing: 4px;
    }
}

.nav-link.text-white {
    color: white !important;
}

.nav-link.text-white:hover {
    color: white !important;
}

.nav-pills .nav-link.active,
.btn.active,
.btn:hover {
    background: #0b1530 !important;
    color: #fff !important;
    border-color: #0b1530 !important;
}

.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: none;
}

.login-modal.show {
    opacity: 1;
    visibility: visible;
}

.login-modal-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: scale(0.8) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(11, 21, 48, 0.18);
}

.show .login-modal-content {
    transform: scale(1) translateY(0);
}

.login-modal .close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-modal .close-modal:hover {
    color: #050915;
    transform: scale(1.1);
}

.login-modal .login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-modal .login-header h3 {
    color: #050915;
    margin-bottom: 0.5rem;
}

.login-modal .login-header p {
    color: #6c757d;
    margin: 0;
}

.login-modal .form-group {
    margin-bottom: 1rem;
}

.login-modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #050915;
    font-weight: 500;
}

.login-modal .form-group .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.login-modal .form-group .form-control:focus {
    outline: none;
    border-color: #0b1530;
    box-shadow: 0 0 0 3px rgba(58, 163, 246, 0.1);
}

.login-modal .btn-login {
    width: 100%;
    padding: 0.75rem;
    background: #0b1530;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-modal .btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.login-modal .btn-login:hover::before {
    left: 100%;
}

.login-modal .btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(11, 21, 48, 0.18);
}

.login-modal .btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-modal .login-links {
    text-align: center;
    margin-top: 1rem;
}

.login-modal .login-links a {
    color: #0b1530;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.login-modal .login-links a:hover {
    text-decoration: underline;
}

.login-modal .login-links a.register-link {
    margin-left: 1rem;
    color: #6c757d;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(11, 21, 48, 0.1);
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid #28a745;
}

.notification-success i {
    color: #28a745;
}

.notification-error {
    border-left: 4px solid #dc3545;
}

.notification-error i {
    color: #dc3545;
}

.notification-info {
    border-left: 4px solid #0b1530;
}

.notification-info i {
    color: #0b1530;
}

.notification span {
    font-weight: 500;
    color: #050915;
}

@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }

    .notification.show {
        transform: translateY(0);
    }
}

@keyframes slogan-pop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    80% {
        transform: scale(1.08);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

:root {
    --primary-color: #0b1530;
    --secondary-color: #2980b9;
    --accent-color: #f39c12;
    --text-dark: #050915;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: yellow !important;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(58, 163, 246, 0.3);
}

.hero-news {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center / cover;
    opacity: 0.1;
    z-index: -1;
}

.section-padding {
    padding: 80px 0;
}

.news-category-filter {
    margin-bottom: 50px;
}

.category-btn {
    margin: 5px;
    border-radius: 25px;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: var(--primary-color);
    color: white;
}

.category-btn.active {
    background: var(--primary-color);
    color: white;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.news-badge.market {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.news-badge.investment {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.news-badge.project {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.news-badge.analysis {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.news-badge.guide {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.news-card-content {
    padding: 25px;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.4;
}

.news-title a {
    color: #050915;
    text-decoration: none;
}

.news-title a:hover {
    color: #0b1530;
}

.news-meta {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.featured-news {
    background: var(--bg-light);
    padding: 50px 0;
}

.featured-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.featured-card h3 a {
    color: #050915;
    text-decoration: none;
}

.featured-card h3 a:hover {
    color: #0b1530;
}

.search-bar {
    background: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.search-input {
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1.1rem;
}

.search-input:focus {
    outline: none;
    box-shadow: none;
}

.search-btn {
    border-radius: 50px;
    padding: 15px 30px;
}

.sidebar {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.trending-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.trending-item:hover {
    background: var(--bg-light);
    margin: 0 -15px;
    padding: 15px;
    border-radius: 10px;
}

.trending-item a {
    color: #050915;
    text-decoration: none;
}

.trending-item a:hover {
    color: #0b1530;
}

.trending-number {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }

    .hero-news {
        padding: 100px 0 60px;
        text-align: center;
    }

    .section-padding {
        padding: 50px 0;
    }

    .news-card-image {
        height: 200px;
    }
}

.featured-img-16by9 {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #eee;
    overflow: hidden;
    border-radius: 12px;
}

.featured-img-16by9 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-news-bg {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 24px 24px 24px;
    margin-bottom: 32px;
    display: block;
}

.featured-news-row {
    display: flex;
    align-items: stretch;
}

.featured-card,
.sidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    background: transparent !important;
    box-shadow: none !important;
}

.sidebar {
    padding: 0 0 0 24px;
    box-shadow: none !important;
    background: transparent !important;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .featured-news-bg {
        padding: 16px 0 0 0;
        border-radius: 0;
    }

    .featured-news-row {
        flex-direction: column;
    }

    .featured-card,
    .sidebar {
        min-height: unset;
        height: auto;
        padding: 0 !important;
    }
}
