/*
Theme Name: Izhevsk News — Reboot Child
Description: Дочерняя тема новостного сайта Ижевска и Удмуртии. Требует Reboot.
Author: Редакция
Template: reboot
Version: 0.1.2
Requires at least: 6.8
Requires PHP: 8.1
Text Domain: izhevsk-reboot-child
License: GPL-2.0-or-later
*/

:root { --izn-accent: #184c3c; }
.entry-content { overflow-wrap: anywhere; }
.entry-content p, .entry-content li { line-height: 1.7; }
.entry-title { text-wrap: balance; }
.entry-meta { font-variant-numeric: tabular-nums; }
.entry-image.post-card__thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.post-card--standard .post-card__thumbnail,
.post-card--grid .post-card__thumbnail,
.post-card--vertical .post-card__thumbnail {
    aspect-ratio: 16 / 9;
}
.izn-provenance {
    margin: 2rem 0 1rem;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--izn-accent);
    background: #f4f7f5;
    font-size: .9em;
}
.izn-provenance p:last-child, .izn-provenance ul:last-child { margin-bottom: 0; }
.izn-provenance a { text-decoration: underline; text-underline-offset: .16em; }
.social-buttons .izn-social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 45px;
    margin: 0 5px 5px 0;
    padding: 0 10px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    font: 700 12px/1 system-ui, sans-serif;
    text-decoration: none;
    vertical-align: top;
}
.social-buttons .izn-social-button::before { display: none; }
.social-buttons a.social-button.izn-social-button--max { background-color: #5b35d5 !important; }
.social-buttons a.social-button.izn-social-button--dzen { background-color: #242424 !important; }
.social-buttons .izn-social-button:hover { color: #fff; filter: brightness(1.12); }
.social-buttons .izn-social-button:focus-visible { outline: 3px solid #184c3c; outline-offset: 3px; }
@media (max-width: 600px) {
    .entry-content { font-size: 18px; }
    .izn-provenance { padding: .8rem 1rem; }
}
