/* Архив новостей, страница новости, записи по метке (шаблоны home.php, archive.php, single.php) */
.oroik-news { padding: 40px 0 72px; }
.oroik-news__title { margin: 0 0 28px; font-family: 'PT Serif', serif; font-size: clamp(2rem, 4vw, 2.75rem); color: var(--oroik-ink, #1E2A1B); }
.oroik-news__empty { color: var(--oroik-muted, #4A5546); }

.oroik-news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.oroik-news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--oroik-line, #DDE3D4); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.oroik-news-card:hover { box-shadow: 0 10px 28px rgba(30, 42, 27, .12); transform: translateY(-2px); }
.oroik-news-card__media { display: block; aspect-ratio: 3 / 2; background: linear-gradient(135deg, #F2D14A, #8CC152); overflow: hidden; }
.oroik-news-card__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.oroik-news-card__ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.oroik-news-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; }
.oroik-news-card__date { font-size: .8125rem; color: var(--oroik-muted, #4A5546); }
.oroik-news-card__title { margin: 0; font-family: 'PT Serif', serif; font-size: 1.1875rem; line-height: 1.35; }
.oroik-news-card__title a { color: var(--oroik-ink, #1E2A1B); text-decoration: none; }
.oroik-news-card__title a:hover, .oroik-news-card__title a:focus { color: var(--oroik-green, #2E6A2E); }

.oroik-news .navigation.pagination { margin-top: 36px; }
.oroik-news .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.oroik-news .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--oroik-line, #DDE3D4); border-radius: 10px; background: #fff; color: var(--oroik-ink, #1E2A1B); text-decoration: none; font-weight: 600; }
.oroik-news .page-numbers.current { background: var(--oroik-green, #2E6A2E); border-color: var(--oroik-green, #2E6A2E); color: #fff; }
.oroik-news a.page-numbers:hover { border-color: var(--oroik-green, #2E6A2E); }
.oroik-news .page-numbers.dots { border: 0; background: none; min-width: 0; }

/* Страница новости */
.oroik-news--single .oroik-news-post { max-width: 820px; margin: 0 auto; }
.oroik-news-post__back { margin: 0 0 18px; }
.oroik-news-post__back a { color: var(--oroik-green, #2E6A2E); font-weight: 600; text-decoration: none; }
.oroik-news-post__date { display: block; margin-bottom: 8px; font-size: .9375rem; color: var(--oroik-muted, #4A5546); }
.oroik-news-post__title { margin: 0 0 24px; font-family: 'PT Serif', serif; font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.2; color: var(--oroik-ink, #1E2A1B); }
.oroik-news-post__content { font-size: 1.0625rem; line-height: 1.7; color: var(--oroik-ink, #1E2A1B); overflow-wrap: anywhere; }
.oroik-news-post__content p { margin: 0 0 1.1em; }
.oroik-news-post__content img { display: block; max-width: 100%; height: auto; margin: 1.2em auto; border-radius: 10px; }
.oroik-news-post__content a { color: var(--oroik-green, #2E6A2E); }
.oroik-news-post__content .wp-block-gallery { margin: 1.4em 0; }
.oroik-news-post__content .wp-block-gallery img { margin: 0; border-radius: 8px; }
.oroik-news-post__content figure.wp-block-image { margin: 1.2em 0; }
.oroik-news-post__source { margin: 28px 0 0; font-size: .9375rem; color: var(--oroik-muted, #4A5546); }
.oroik-news-post__source a { color: var(--oroik-green, #2E6A2E); font-weight: 600; }
.oroik-news-post__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 32px 0 0; padding: 0; }
.oroik-news-post__tags a { display: inline-block; padding: 6px 12px; border: 1px solid var(--oroik-line, #DDE3D4); border-radius: 999px; font-size: .875rem; color: var(--oroik-muted, #4A5546); text-decoration: none; }
.oroik-news-post__tags a:hover { border-color: var(--oroik-green, #2E6A2E); color: var(--oroik-green, #2E6A2E); }

@media (max-width: 900px) { .oroik-news__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
    .oroik-news { padding: 28px 0 56px; }
    .oroik-news__grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { .oroik-news-card { transition: none; } .oroik-news-card:hover { transform: none; } }
