/* Shared layout for the requisites page and its print version. */
.company-requisites-blocks .company-requisites-section { margin: 0 0 28px; }
.company-requisites-blocks .company-requisites-section:last-child { margin-bottom: 0; }
.company-requisites-blocks h2 { margin: 0 0 12px; break-after: avoid; page-break-after: avoid; }
.company-requisites-blocks table { width: 100%; table-layout: fixed; margin-bottom: 0; }
.company-requisites-blocks td:first-child { width: 33%; }
.company-requisites-blocks td { white-space: normal; overflow-wrap: anywhere; }

/* Standalone print document. These rules do not affect the site's template. */
body.company-requisites-print { margin: 0; color: #000; background: #fff; font: 10pt/1.35 Arial, sans-serif; }
body.company-requisites-print * { box-sizing: border-box; }
body.company-requisites-print h1 { margin: 0 0 12pt; font-size: 18pt; }
body.company-requisites-print h2 { font-size: 12pt; }
body.company-requisites-print table { border-collapse: collapse; }
body.company-requisites-print tr { break-inside: avoid; page-break-inside: avoid; }
body.company-requisites-print td { padding: 5px 7px; border: 1px solid #aaa; vertical-align: top; }
body.company-requisites-print a, body.company-requisites-print a:visited { color: #000; text-decoration: none; }
body.company-requisites-print a[href]::after { content: none !important; }
@media screen {
    body.company-requisites-print { max-width: 190mm; margin: 24px auto; padding: 0 16px; }
}
@media print {
    @page { size: A4 portrait; margin: 12mm; }
    .company-requisites-blocks .company-requisites-section { margin-bottom: 10pt; }
    .company-requisites-blocks h2 { margin-bottom: 5pt; font-size: 12pt; }
    .company-requisites-blocks td { padding: 4px 6px; }
}
