$content = [System.IO.File]::ReadAllText("index.html", [System.Text.Encoding]::UTF8)

# Remove the aspect-ratio and max-height constraints from .about-visual to let the new portrait banner fit perfectly
$content = $content -replace '(?s)\.about-visual\s*\{[^}]*\}', '.about-visual {
            width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
        }'

[System.IO.File]::WriteAllText("index.html", $content, [System.Text.Encoding]::UTF8)
Write-Host "Updated index.html to refit the about-visual image."
