/* =========================================
   FinRates Custom Styles
   ========================================= */

/* =========================================
   Base Styles & Variables
   ========================================= */
:root {
    --primary-color: #004e92;
    --secondary-color: #000428;
    --accent-color: #00d2ff;
    --light-bg: #f8f9fa;
}

/* =========================================
   Layout & Flexbox
   ========================================= */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* =========================================
   Navigation Styles
   ========================================= */
.navbar {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    padding: 1rem 0;
}

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

.nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
}

.nav-link.active {
    color: white !important;
    border-bottom: 2px solid var(--accent-color);
}

/* =========================================
   Hero Section - Minimalist
   ========================================= */
.hero-minimal {
    padding: 100px 0 80px;
    background: #ffffff;
}

.hero-minimal .hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-minimal .hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #1a202c;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-minimal .hero-title strong {
    font-weight: 600;
    color: #2d3748;
}

.hero-minimal .hero-description {
    font-size: 1.25rem;
    color: #718096;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-minimal .hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-minimal .btn-minimal-primary {
    padding: 0.875rem 2rem;
    background: #2d3748;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-minimal .btn-minimal-primary:hover {
    background: #1a202c;
    transform: translateY(-1px);
    color: white;
}

.hero-minimal .btn-minimal-secondary {
    padding: 0.875rem 2rem;
    background: transparent;
    color: #2d3748;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-minimal .btn-minimal-secondary:hover {
    border-color: #cbd5e0;
    background: #f7fafc;
    color: #2d3748;
}

.hero-minimal .hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.hero-minimal .stat-item {
    text-align: center;
}

.hero-minimal .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 300;
    color: #2d3748;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.hero-minimal .stat-label {
    font-size: 0.875rem;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* =========================================
   Section Backgrounds
   ========================================= */
.lightblue-section {
    background-color: #eefbfd;
    padding: 60px 0;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.lightgrey-section {
    background-color: #f5f5f5;
    padding: 60px 0;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.joincommunity-section {
    background-color: #eefbfd;
    padding: 60px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.section-title {
    color: #003049;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 50px;
}

/* =========================================
   Feature Cards & Icons
   ========================================= */
.icon-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 3.5rem;
    color: #2b7abf;
    opacity: 0.9;
}

.feature-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 15px;
}

.feature-desc {
    font-size: 0.95rem;
    color: #5d6870;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 0 15px;
}

.help-link {
    color: #0076c0;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.help-link:hover {
    color: #005a9c;
    text-decoration: underline;
}

.help-link i {
    font-size: 0.7rem;
    margin-left: 5px;
    vertical-align: middle;
}

/* =========================================
   Calculator Section
   ========================================= */
.calculator-section {
    background: linear-gradient(135deg, #090c35 0%, #2f55bd 100%);
    padding: 80px 0;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.calculator-card {
    background: white;
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    height: 100%;
}

.calculator-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.calculator-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4061f1 0%, #616ae7 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.calculator-icon-wrapper i {
    font-size: 2.5rem;
    color: white;
}

.calculator-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.calculator-description {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.calculator-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   Product Cards & Rate Cards
   ========================================= */
.product-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.rate-card {
    background: white;
    border: 1px solid #d7d5d5ff;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: box-shadow 0.2s;
}

.rate-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.rate-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 0.2rem;
}

.rate-card-subtitle {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.term-badge {
    background-color: #e6f0ff;
    color: var(--primary-color);
    border-radius: 20px;
    padding: 0.35em 0.8em;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.featured-badge {
    background-color: #dbd80f;
    color: var(--primary-color);
    border-radius: 2px;
    padding: 0.35em 0.8em;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.rate-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2b61ff;
    line-height: 1;
}

.rate-header-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: #8898aa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.rate-display {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.rate-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   Action Buttons
   ========================================= */
.action-btn {
    background-color: #2b61ff;
    border-color: #2b61ff;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
}

.action-btn:hover {
    background-color: #1a4bd6;
    color: white;
}

.action-btn-outline {
    background-color: transparent;
    border-color: #2b61ff;
    color: #2b61ff;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
}

.action-btn-outline:hover {
    background-color: #1a4bd6;
    color: white;
}

/* =========================================
   Favorite & Heart Buttons
   ========================================= */
.favorite-btn {
    border: none;
    background: none;
    color: #6c757d;
    transition: color 0.3s ease;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
    font-size: 1.5rem;
}

.favorite-btn:hover {
    color: #dc3545;
}

.favorite-btn.active {
    color: #dc3545;
    animation: heartbeat 0.3s ease-in-out;
}

.heart-btn-outline {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    transition: all 0.2s;
}

.heart-btn-outline:hover {
    border-color: #ccc;
    color: #888;
}

.heart-btn-outline.active {
    color: #e74c3c;
    border-color: #e74c3c;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* =========================================
   Rating & Stars
   ========================================= */
.rating-stars {
    color: #0d6efd;
    font-size: 0.9rem;
}

.rating-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #212529;
    margin-left: 8px;
}

/* =========================================
   Expert Take Section
   ========================================= */
.expert-take-box {
    background-color: #fff6cc;
    border-radius: 6px;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.expert-icon {
    background-color: #0d6efd;
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.expert-content h6 {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #495057;
    margin-bottom: 8px;
}

.expert-content p {
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 0;
    line-height: 1.5;
}

.read-full-review {
    color: #0d6efd;
    text-decoration: underline;
    cursor: pointer;
}

/* =========================================
   Product Details Section
   ========================================= */
.details-section {
    border-top: 1px solid #dee2e6;
    margin-top: 20px;
    padding-top: 20px;
}

.details-header {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.detail-row {
    border-bottom: 1px solid #dee2e6;
    padding: 15px 0;
}

.detail-row:last-child { 
    border-bottom: none; 
}

.detail-label { 
    color: #495057; 
    font-size: 0.9rem; 
}

.detail-value { 
    font-weight: 700; 
    font-size: 0.9rem; 
}

/* =========================================
   Pros & Cons
   ========================================= */
.pros-cons-header {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pros-list, .cons-list {
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 25px;
}

.pros-list li, .cons-list li {
    margin-bottom: 12px;
}

.icon-check { 
    color: #198754; 
    font-size: 1.1rem; 
}

.icon-cross { 
    color: #dc3545; 
    font-size: 1.1rem; 
}

/* =========================================
   Collapse & Toggle Links
   ========================================= */
.collapse-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    float: right;
}

.toggle-link-header {
    text-decoration: none;
    color: #212f29bf;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

/* =========================================
   Blog Article Cards
   ========================================= */
.article-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: 100%;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.article-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

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

.article-card .category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.article-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .card-text {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.85rem;
    color: #a0aec0;
}

.article-meta i {
    margin-right: 0.3rem;
}

.article-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* =========================================
   Blog Filter Pills
   ========================================= */
.filter-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}

.filter-pill {
    padding: 0.6rem 1.2rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 2rem;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-pill:hover, .filter-pill.active {
    background: linear-gradient(135deg, #183cdf 0%, #3d56e0 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* =========================================
   Blog Article Detail Page
   ========================================= */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
}

.article-main {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.article-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.article-excerpt {
    background: #f7fafc;
    border-left: 4px solid #667eea;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
}

.article-excerpt strong {
    color: #667eea;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.article-content {
    font-size: 1rem;
    line-height: 1.75;
    color: #2d3748;
}

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

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.save-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    color: #4a5568;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.save-btn:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f7fafc;
}

/* =========================================
   Sticky Sidebar
   ========================================= */
.sticky-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* =========================================
   Author Info
   ========================================= */
.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: #718096;
}

/* =========================================
   Article Stats
   ========================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-box {
    text-align: center;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.stat-label {
    font-size: 0.75rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.stats-badge {
    display: inline-flex;
    align-items: center;
    background: #f7fafc;
    padding: 0.25rem 0.6rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    color: #718096;
}

.stat-card {
    border-left: 4px solid;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card.avg { border-left-color: #0d6efd; }
.stat-card.min { border-left-color: #198754; }
.stat-card.max { border-left-color: #dc3545; }

/* =========================================
   Share Buttons
   ========================================= */
.share-section {
    margin-top: 1.5rem;
}

.share-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.75rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    font-size: 1rem;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.facebook {
    background: #4267B2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.link {
    background: #718096;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* =========================================
   Info Lists
   ========================================= */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #718096;
    font-size: 0.875rem;
}

.info-value {
    color: #1a202c;
    font-weight: 600;
    font-size: 0.875rem;
}

.info-list-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f7fafc;
    font-size: 0.875rem;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-list-item:last-child {
    border-bottom: none;
}

.info-list-item i {
    color: #667eea;
    font-size: 1rem;
}

/* =========================================
   Related Articles
   ========================================= */
.related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-article-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f7fafc;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.related-article-item:hover {
    background: #edf2f7;
    transform: translateX(4px);
}

.related-article-content {
    flex: 1;
}

.related-article-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #718096;
}

.related-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.related-meta-item i {
    font-size: 0.7rem;
}

.related-article-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.375rem;
    flex-shrink: 0;
}

/* =========================================
   Ad & Info Cards (Sidebar)
   ========================================= */
.ad-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}

.ad-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.ad-placeholder {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px dashed #cbd5e0;
    border-radius: 0.5rem;
    padding: 3rem 1.5rem;
    color: #a0aec0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.ad-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.ad-placeholder-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.info-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.info-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* =========================================
   Filter Card
   ========================================= */
.filter-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.filter-card .form-label {
    font-weight: 600;
    color: #4a5568;
}

.filter-card .form-select,
.filter-card .form-control {
    border-radius: 0.375rem;
    border: 1px solid #cbd5e0;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #4a5568;
}

.filter-card .form-select:focus,
.filter-card .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

/* =========================================
   Accordion Styles
   ========================================= */
.accordion {
    --bs-accordion-active-bg: #ffffff;
    --bs-accordion-active-color: #000000;
    --bs-accordion-btn-focus-box-shadow: none;
}

.accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    border: 2px solid #000000;
    box-shadow: 5px 5px #000000;
}

.accordion-button.collapsed {
    border: 1px solid #d8d8d8;
}

.accordion-collapse {
    transition: all 0.3s;
}

/* =========================================
   AI Feature Styles
   ========================================= */
.ai-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7em;
    vertical-align: middle;
    margin-left: 5px;
}

.ai-chat-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #eef2f7;
    overflow: hidden;
}

.ai-header {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.ai-response-box {
    background-color: #f8f9fa;
    border-left: 4px solid #764ba2;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 4px;
    white-space: pre-line;
}

.spinner-ai {
    color: #764ba2;
}

.chip-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.suggestion-chip {
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #555;
}

.suggestion-chip:hover {
    background: #764ba2;
    color: white;
    border-color: #764ba2;
}

/* =========================================
   Empty States
   ========================================= */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 1.5rem;
}

.empty-state i {
    font-size: 5rem;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Responsive Styles
   ========================================= */
@media (max-width: 991px) {
    .article-main {
        padding: 1.5rem;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    
    .sticky-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-minimal {
        padding: 60px 0 50px;
    }
    
    .hero-minimal .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-minimal .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-minimal .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-minimal .hero-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .metric-col { 
        border-right: none; 
        margin-bottom: 15px; 
    }
}

/* =========================================
   Breadcrumb Customization
   ========================================= */
.breadcrumb-item {
    font-weight: 500;
    text-decoration: none;
}

/* =========================================
   Logo & Bank Branding
   ========================================= */
.bank-logo {
    max-height: 40px;
    margin-bottom: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-popular {
    font-weight: 900;
    font-size: 1.5rem;
    color: #0b2341;
    letter-spacing: -0.5px;
}

.logo-pipe {
    color: #d82e2e;
    font-weight: 300;
    margin: 0 2px;
}

.logo-direct {
    color: #d82e2e;
    font-weight: 400;
    font-size: 1.5rem;
}

.member-fdic {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 15px;
}

/* =========================================
   Badges
   ========================================= */
.badge-editor {
    background-color: #f1f3f5;
    color: #212529;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

/* =========================================
   Metric Display
   ========================================= */
.metric-label {
    font-size: 0.75rem;
    color: #212529;
    margin-bottom: 2px;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    line-height: 1;
}

.metric-unit {
    font-size: 1rem;
    font-weight: 400;
}

.metric-col {
    border-right: 1px solid #dee2e6;
}

/* =========================================
   Calculator Card
   ========================================= */
.calc-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 2rem;
}

.result-box {
    background: var(--secondary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

/* =========================================
   Tab Content
   ========================================= */
.tab-content {
    padding-top: 2rem;
}

/* =========================================
   Utility Classes
   ========================================= */
.text-nowrap {
    white-space: nowrap;
}
