/* Custom overrides for mortgage calculator */
        .mortgage-input {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--spacing-md);
            align-items: end;
        }
        
        .mortgage-input label {
            margin-bottom: var(--spacing-xs);
        }
        
        .results {
            background-color: #d4edda;
            border: 1px solid #c3e6cb;
            border-radius: var(--radius-md);
            padding: var(--spacing-lg);
            margin-top: var(--spacing-lg);
        }
        
        .results h3 {
            color: #155724;
            margin-top: 0;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: var(--spacing-md);
        }
        
        th, td {
            border: 1px solid #c3e6cb;
            padding: var(--spacing-sm);
            text-align: left;
        }
        
        th {
            background-color: var(--success-color);
            color: white;
            font-weight: 600;
        }
        
        .chart {
            width: 100%;
            height: 300px;
            margin-top: var(--spacing-lg);
            border-radius: var(--radius-md);
        }
        
        @media (max-width: 768px) {
            .mortgage-input {
                grid-template-columns: 1fr;
            }
        }

        /* Cross-linking styles */
        .cross-links-section {
            max-width: 1000px;
            margin: 40px auto 20px;
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 30px;
        }
        
        .cross-links-section h2 {
            text-align: center;
            color: #2c3e50;
            margin-bottom: 30px;
            font-size: 1.8em;
            border-bottom: 3px solid #3498db;
            padding-bottom: 15px;
        }
        
        .cross-link-category {
            margin-bottom: 30px;
        }
        
        .cross-link-category h3 {
            color: #2c3e50;
            margin-bottom: 15px;
            font-size: 1.3em;
            padding-left: 10px;
            border-left: 4px solid #3498db;
        }
        
        .cross-link-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 15px;
        }
        
        .cross-link-card {
            display: block;
            text-decoration: none;
            color: #34495e;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            padding: 15px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .cross-link-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(52, 152, 219, 0.15);
            border-color: #3498db;
            background: #e3f2fd;
            color: #2c3e50;
        }
        
        .cross-link-card span {
            font-weight: 500;
            display: block;
            line-height: 1.4;
        }
        
        .cross-link-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: #3498db;
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }
        
        .cross-link-card:hover::before {
            transform: scaleY(1);
        }
        
        @media (max-width: 768px) {
            .cross-links-section {
                margin: 20px;
                padding: 20px;
            }
            
            .cross-link-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }
            
            .cross-link-card {
                padding: 12px;
            }
        }
