/*
Theme Name: Filmski Kutak
Theme URI: https://example.com/
Author: Filmski Kutak
Description: Minimalistička, responzivna WordPress tema za filmski portal.
Version: 1.0.0
Text Domain: filmski-kutak
*/

:root {
  --fk-ink: #171717;
  --fk-muted: #777777;
  --fk-red: #d92332;
  --fk-line: #e8e8e8;
  --fk-bg: #ffffff;
  --fk-width: 1600px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fk-bg);
  color: var(--fk-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--fk-red); }
img { max-width: 100%; height: auto; display: block; }
.fk-container { width: min(96%, var(--fk-width)); margin-inline: auto; }
.fk-header { background: #fff; border-bottom: 1px solid var(--fk-line); }
.fk-header-inner {
  min-height: 86px; display: flex; align-items: center; justify-content: space-between;
  gap: 30px; padding-block: 14px;
}
.fk-brand { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.fk-brand img { max-height: 58px; width: auto; }
.fk-brand-name { font-size: clamp(23px, 2.2vw, 32px); line-height: 1.1; font-weight: 850; letter-spacing: -1.4px; }
.fk-brand-name span { color: var(--fk-red); }
.fk-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 2vw, 32px); }
.fk-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2vw, 30px); list-style: none; padding: 0; margin: 0; }
.fk-nav li { margin: 0; }
.fk-nav a { font-size: 14px; font-weight: 700; white-space: nowrap; }
.fk-nav .current-menu-item > a, .fk-nav .current_page_item > a { color: var(--fk-red); }
.fk-search-link { font-size: 19px !important; }
.fk-mobile-toggle { display: none; border: 1px solid var(--fk-line); background: #fff; padding: 8px 12px; border-radius: 6px; font-size: 20px; cursor: pointer; }
.fk-main { min-height: 55vh; padding-block: 38px 70px; }
.fk-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.fk-section-heading h1, .fk-section-heading h2 { margin: 0; font-size: clamp(25px, 3vw, 34px); line-height: 1.2; letter-spacing: -.8px; }
.fk-section-heading p { color: var(--fk-muted); margin: 6px 0 0; }
.fk-more { color: var(--fk-red); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.fk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 22px; }
.fk-card { min-width: 0; }
.fk-card-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f1f1f1; border-radius: 3px; }
.fk-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.fk-card:hover .fk-card-image img { transform: scale(1.035); }
.fk-placeholder { width: 100%; height: 100%; min-height: 150px; display: grid; place-items: center; color: #aaa; font-size: 13px; }
.fk-card h2 { margin: 12px 0 13px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.35; letter-spacing: -.25px; font-weight: 750; }
.fk-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; line-height: 1.3; }
.fk-category { color: var(--fk-red); font-weight: 850; text-transform: uppercase; letter-spacing: .45px; }
.fk-read-more { color: #555; font-weight: 650; white-space: nowrap; }
.fk-pagination { margin-top: 48px; }
.fk-pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.fk-pagination a, .fk-pagination span { border: 1px solid var(--fk-line); padding: 8px 13px; border-radius: 4px; }
.fk-pagination .current { background: var(--fk-ink); color: #fff; }
.fk-article { max-width: 900px; margin-inline: auto; }
.fk-article-header { margin-bottom: 25px; }
.fk-article-header h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.13; letter-spacing: -1.5px; margin: 10px 0 12px; }
.fk-article-meta { color: var(--fk-muted); font-size: 13px; }
.fk-featured { margin: 24px 0 30px; }
.fk-featured img { width: 100%; max-height: 620px; object-fit: cover; }
.fk-content { font-size: 18px; line-height: 1.8; }
.fk-content h2, .fk-content h3 { line-height: 1.25; margin-top: 1.7em; }
.fk-content img, .fk-content figure { max-width: 100%; }
.fk-content iframe { max-width: 100%; }
.fk-content .wp-block-embed__wrapper { position: relative; }
.fk-content .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.fk-footer { border-top: 1px solid var(--fk-line); padding: 28px 0; color: var(--fk-muted); font-size: 13px; }
.fk-footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.fk-empty { padding: 35px; background: #fafafa; border: 1px solid var(--fk-line); }
.screen-reader-text { position: absolute; left: -9999px; }
@media (min-width: 1700px) { .fk-container { width: min(94%, 1680px); } }
@media (max-width: 1100px) {
  .fk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fk-header-inner { gap: 18px; }
  .fk-nav ul { gap: 14px; }
}
@media (max-width: 780px) {
  .fk-header-inner { min-height: 70px; flex-wrap: wrap; }
  .fk-mobile-toggle { display: block; margin-left: auto; }
  .fk-nav { display: none; flex: 1 0 100%; justify-content: flex-start; }
  .fk-nav.is-open { display: block; }
  .fk-nav ul { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 0; }
  .fk-nav li { width: 100%; border-top: 1px solid var(--fk-line); }
  .fk-nav a { display: block; padding: 11px 0; }
  .fk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 15px; }
  .fk-main { padding-top: 28px; }
}
@media (max-width: 520px) {
  .fk-container { width: 92%; }
  .fk-grid { grid-template-columns: 1fr; gap: 28px; }
  .fk-card h2 { font-size: 19px; }
  .fk-footer-inner { flex-direction: column; }
}
