<?php
$css = file_get_contents('assets/css/custom.css');

$css = str_replace(
    "    .queue-row-head,\n    .announcement-card,\n    .call-strip,",
    "    .queue-row-head,\n    .call-strip,",
    $css
);

$css = str_replace(
    "html[dir=\"rtl\"] .call-strip,\nhtml[dir=\"rtl\"] .announcement-card,\nhtml[dir=\"rtl\"] .admin-sidebar-link",
    "html[dir=\"rtl\"] .call-strip,\nhtml[dir=\"rtl\"] .admin-sidebar-link",
    $css
);

file_put_contents('assets/css/custom.css', $css);
echo "CSS RTL and Mobile media queries modified for announcement-card.\n";

