#panel-overview .ru-overview-figure img{height:auto;aspect-ratio:auto;object-fit:contain;max-width:100%;margin:0 auto}
#panel-overview .ru-overview-figure.is-portrait img{height:auto;aspect-ratio:auto;object-fit:contain}
.ru-overview-figure .ru-photo-caption-ru{display:block;margin:3px 0 5px;font-size:11px;line-height:1.7}
html.visitor-school-detail[data-ru-theme="dark"]{--ui-paper:#111b2d;--ui-surface:#18263c;--ui-ink:#e6edf9;--ui-muted:#b9cbe4;--ui-line:#46566e;--ink:#e6edf9;--muted:#b9cbe4;--surface:#18263c;--page:#111b2d}
html.visitor-school-detail[data-ru-theme="dark"] #panel-overview{background:#18263c!important;color:#e6edf9!important;border-color:#46566e!important}
html.visitor-school-detail[data-ru-theme="dark"] #panel-overview :is(h2,h3,h4,strong){color:#e6edf9!important}
html.visitor-school-detail[data-ru-theme="dark"] #panel-overview :is(p,li){color:#b9cbe4!important}
html.visitor-school-detail[data-ru-theme="dark"] #panel-overview .info-block{background:#18263c!important;color:#e6edf9!important;border-color:#46566e!important}
html.visitor-school-detail[data-ru-theme="dark"] #panel-overview .overview-table{background:#18263c!important;border-color:#46566e!important}
html.visitor-school-detail[data-ru-theme="dark"] #panel-overview .overview-table th{background:#21324b!important;color:#e6edf9!important;border-color:#46566e!important}
html.visitor-school-detail[data-ru-theme="dark"] #panel-overview .overview-table td{background:#18263c!important;color:#d2def0!important;border-color:#46566e!important}
html.visitor-school-detail[data-ru-theme="dark"] #panel-overview .overview-table tr:nth-child(even) th{background:#21324b!important;color:#e6edf9!important;border-color:#46566e!important}
html.visitor-school-detail[data-ru-theme="dark"] #panel-overview .overview-table tr:nth-child(even) td{background:#1c2b44!important;color:#d2def0!important;border-color:#46566e!important}
html.visitor-school-detail[data-ru-theme="dark"] .tabs{background:#18263c!important;border-color:#46566e!important}
html.visitor-school-detail[data-ru-theme="dark"] .tabs .tab{background:transparent!important;color:#b9cbe4!important;border-color:#46566e!important}
html.visitor-school-detail[data-ru-theme="dark"] .tabs .tab.active{background:#111b2d!important;color:#97b6ff!important;border-bottom-color:#97b6ff!important}
