/*
Theme Name: Kelemen Réka 2.0
Description: Landing page (gyógytorna, manuálterápia, pilates) with a blog. The front page is the standalone landing page in /landing; business info is editable under Appearance → Customize → Studio adatok.
Author: Kelemen Réka
Version: 2.0.1
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kelemenreka
*/

/* Base styles, design tokens and the shared page/entry styles (also used by
   the static adatkezeles.html) live in landing/css/main.css.
   This file only adds what the blog templates need. */

/* ---------- Layout ---------- */

.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ---------- Single post ---------- */
.back-link {
  display: inline-flex; gap: 8px; margin-bottom: 40px;
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-soft);
  transition: color .3s, gap .3s var(--ease-out);
}
.back-link:hover { color: var(--accent); gap: 12px; }

.entry-media { margin: 0 0 clamp(32px, 5vw, 56px); border-radius: var(--radius); overflow: hidden; }
.entry-media img { width: 100%; }

.entry-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: clamp(56px, 8vw, 96px); padding-top: 32px; border-top: 1px solid var(--line);
}
.entry-nav a { display: block; text-decoration: none; font-family: var(--font-display); font-size: 20px; line-height: 1.3; }
.entry-nav a:hover { color: var(--accent); }
.entry-nav span { display: block; margin-bottom: 6px; font-family: var(--font-body); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.entry-nav-next { grid-column: 2; text-align: right; }

/* ---------- Listing ---------- */
.post-grid .post-title { font-size: clamp(22px, 2vw, 28px); }

.pagination { margin-top: clamp(48px, 6vw, 80px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 14px;
  border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 15px;
  transition: background .3s, color .3s, border-color .3s;
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
