/*
Theme Name: Cetekot
Template: twentytwentyfive
Description: Дочерняя тема Twenty Twenty-Five для cetekot.net: баннер и цвета старого сайта.
Version: 1.2
Text Domain: cetekot
*/

/* --- шапка --- */
.cetekot-banner { display: block; background: #000; text-align: center; line-height: 0; }
.cetekot-banner img {
  display: block; margin: 0 auto; width: 100%; max-width: 1280px; height: 99px;
  object-fit: cover; object-position: 35% 50%;
}
.cetekot-nav {
  background: #202020; border-bottom: 2px solid #0F6FBD;
  padding: .55rem 1rem !important;
}
.cetekot-nav a { color: #7B9AD1; }

/* --- основная колонка --- */
.cetekot-main {
  background: #202020; max-width: 1200px; margin: 1.5rem auto !important;
  padding: 1.25rem 1.75rem 2rem !important; box-sizing: border-box;
}
.cetekot-post { padding: 1rem 0 1.25rem; border-bottom: 1px dotted #0F6FBD; }
.cetekot-post:last-child { border-bottom: none; }
.cetekot-post-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.cetekot-post-head .wp-block-post-title { margin: 0; font-size: 1.15rem; font-weight: 700; }
.cetekot-post-head .wp-block-post-title a { color: #7B9AD1; text-decoration: none; }
.cetekot-post-head .wp-block-post-title a:hover { text-decoration: underline; }
.wp-block-post-date { color: #9a9a9a; font-size: .85rem; white-space: nowrap; }
.cetekot-single-title { color: #7B9AD1; font-size: 1.6rem; margin-bottom: .25rem; }
.cetekot-meta { color: #9a9a9a; font-size: .85rem; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.cetekot-meta a { color: #7B9AD1; }

/* «читать дальше» — оранжевым, как раньше */
a.more-link { color: orange !important; text-decoration: none; display: inline-block; margin-top: .5rem; }
a.more-link:hover { text-decoration: underline; }

/* старые записи: таблицы с фотографиями, картинки */
.wp-block-post-content img { max-width: 100%; height: auto; }
.wp-block-post-content table { border-collapse: separate; max-width: 100%; }
.wp-block-post-content td { color: #DCDCDC; vertical-align: top; }

/* постраничная навигация и подвал */
.wp-block-query-pagination { margin-top: 1.5rem; }
.cetekot-footer { text-align: center; color: #7B9AD1; font-size: .8rem; padding: 1rem 0 2rem; }

@media (max-width: 600px) {
  .cetekot-main { padding: 1rem !important; margin: 0 !important; }
  .cetekot-post-head { flex-direction: column; gap: .25rem; }
}
