/* Layouts of pages made in the admin panel (Standard, Wide, Narrow reading, With a list of pages, Plain) */
.pl { padding: 40px 0 60px; }
.pl-container { width: min(1140px, 100% - 32px); margin: 0 auto; }
.pl-wide .pl-container { width: min(1560px, 100% - 32px); }
.pl-narrow .pl-container { width: min(760px, 100% - 32px); font-size: 1.08rem; line-height: 1.8; }
.pl-plain { padding-top: 24px; }
.pl-main { min-width: 0; }
.pl-main img { max-width: 100%; height: auto; }
.pl-main table { width: 100%; display: block; overflow-x: auto; }
.pl-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; align-items: start; }
.pl-side { position: sticky; top: 110px; padding: 18px 16px; border: 1px solid #dfe6f1; border-radius: 14px; background: #f8fafd; }
.pl-side h3 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: #66758c; }
.pl-side ul { list-style: none; margin: 0; padding: 0; }
.pl-side li a { display: block; padding: 9px 12px; border-radius: 9px; color: #0f2b5c; text-decoration: none; font-weight: 500; }
.pl-side li a:hover { background: #eaf1fb; }
.pl-side li.on a { background: #0f2b5c; color: #fff; font-weight: 600; }
@media (max-width: 860px) {
    .pl-grid { grid-template-columns: 1fr; }
    .pl-side { position: static; }
}

.pl-langs { display: flex; gap: 10px; justify-content: flex-end; margin: 0 0 14px; font-size: .9rem; }
.pl-langs a { padding: 3px 12px; border: 1px solid #cbd6e8; border-radius: 999px; text-decoration: none; }
[dir="rtl"] .pl-main { text-align: right; }

.pl-main table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; }
.pl-main th, .pl-main td { padding: 8px 10px; border: 1px solid #d5deea; text-align: start; vertical-align: top; }
.pl-main th { background: #eef3fb; }

.embed { position: relative; height: 0; padding-bottom: 56.25%; margin: 0 0 1.2em; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
