/*
Theme Name: Vorky Team Cinema — Serbian & English
Theme URI: https://vorkyteam.rs/
Author: Vorky Team
Description: Responsive WordPress theme for Vorky Team Ruma. Preserves Serbian at /sr/ and English at /en/, with language-aware navigation and search.
Version: 1.3.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: vorky-team-cinema
*/

:root {
  --vt-ink: #17191c;
  --vt-ink-soft: #252a30;
  --vt-gold: #d7ad58;
  --vt-gold-deep: #a77a29;
  --vt-paper: #f5f3ee;
  --vt-white: #fffefa;
  --vt-muted: #666a70;
  --vt-border: #e4e0d7;
  --vt-radius: 16px;
  --vt-shadow: 0 16px 42px rgba(22, 24, 27, .10);
  --vt-container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--vt-paper);
  color: var(--vt-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vt-gold-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--vt-ink); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--vt-gold); outline-offset: 3px; }

.vt-skip-link { position: absolute; left: -9999px; top: 10px; z-index: 99999; background: #fff; color: #111; padding: 10px 14px; }
.vt-skip-link:focus { left: 10px; }
.vt-container { width: min(calc(100% - 48px), var(--vt-container)); margin-inline: auto; }
.vt-topline { background: #0f1114; color: #d4d4d4; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.vt-topline-inner { min-height: 31px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.vt-topline strong { color: var(--vt-gold); font-weight: 650; }

.site-header { position: relative; z-index: 50; background: var(--vt-ink); color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
.vt-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding-block: 19px; }
.vt-brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; color: #fff; text-decoration: none; }
.vt-brand:hover { color: #fff; }
.vt-brand .custom-logo-link { display: block; }
.vt-brand .custom-logo { width: auto; max-width: 205px; max-height: 58px; object-fit: contain; }
.vt-brand-mark { width: 47px; height: 47px; display: grid; place-items: center; border: 1px solid var(--vt-gold); color: var(--vt-gold); font-family: Georgia, serif; font-size: 29px; line-height: 1; }
.vt-brand-name { display: block; font-size: 18px; line-height: 1.15; font-weight: 800; letter-spacing: .07em; }
.vt-brand-tagline { display: block; margin-top: 5px; color: #b6b8ba; font-size: 9px; line-height: 1.25; letter-spacing: .12em; text-transform: uppercase; }
.vt-navigation { flex: 1 1 auto; min-width: 0; }
.vt-menu-toggle { display: none; }
.primary-menu, .primary-menu ul { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 4px 18px; }
.primary-menu > li { position: relative; }
.primary-menu a { display: block; padding: 8px 0; color: #f1f0ed; text-decoration: none; font-size: 11px; line-height: 1.35; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.primary-menu > li > a:hover, .primary-menu > li.current-menu-item > a, .primary-menu > li.current-menu-ancestor > a { color: var(--vt-gold); }
.primary-menu .sub-menu { display: none; position: absolute; top: 100%; left: -14px; min-width: 220px; padding: 9px 14px; background: #17191c; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; box-shadow: var(--vt-shadow); }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { padding: 9px 3px; text-transform: none; letter-spacing: 0; font-size: 13px; }

.site-main { min-height: 52vh; }
.vt-home-hero { padding-top: 26px; }
.vt-hero-image { overflow: hidden; border-radius: 18px; background: #263c3a; box-shadow: var(--vt-shadow); }
.vt-hero-image a { display: block; }
.vt-hero-image img { width: 100%; aspect-ratio: 2.82 / 1; object-fit: cover; transition: transform .6s ease; }
.vt-hero-image a:hover img { transform: scale(1.012); }
.vt-hero-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); gap: 34px; align-items: center; padding: 37px 4px 43px; }
.vt-eyebrow { margin: 0 0 11px; color: var(--vt-gold-deep); font-size: 11px; line-height: 1.4; letter-spacing: .15em; font-weight: 800; text-transform: uppercase; }
.vt-hero-intro h1 { margin: 0; max-width: 800px; color: var(--vt-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4.1vw, 57px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.vt-hero-intro .vt-lead { max-width: 760px; margin: 17px 0 0; color: #53575c; font-size: 17px; line-height: 1.75; }
.vt-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; justify-content: flex-end; align-items: center; }
.vt-button { display: inline-flex; justify-content: center; align-items: center; min-height: 47px; padding: 12px 19px; border: 1px solid var(--vt-ink); border-radius: 4px; background: var(--vt-ink); color: #fff; text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; transition: background .2s, border-color .2s, transform .2s; }
.vt-button:hover { background: var(--vt-gold-deep); border-color: var(--vt-gold-deep); color: #fff; transform: translateY(-1px); }
.vt-button-secondary { background: transparent; color: var(--vt-ink); border-color: #c8c4ba; }
.vt-button-secondary:hover { background: var(--vt-ink); border-color: var(--vt-ink); }
.vt-section { padding: 67px 0; }
.vt-section-light { background: var(--vt-white); }
.vt-section-dark { color: #fff; background: var(--vt-ink); }
.vt-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.vt-section-head h2 { margin: 0; color: inherit; font-family: Georgia, "Times New Roman", serif; font-size: clamp(27px, 3.1vw, 39px); letter-spacing: -.025em; line-height: 1.15; }
.vt-section-head p { margin: 0; color: var(--vt-muted); max-width: 560px; }
.vt-section-dark .vt-section-head p { color: #b8bbbe; }
.vt-small-link { display: inline-flex; align-items: center; gap: 7px; color: var(--vt-gold-deep); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; text-decoration: none; white-space: nowrap; }
.vt-small-link:hover { color: var(--vt-ink); }
.vt-section-dark .vt-small-link { color: var(--vt-gold); }
.vt-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.vt-feature-card { min-height: 222px; display: flex; flex-direction: column; align-items: flex-start; padding: 25px 23px; border: 1px solid var(--vt-border); border-radius: var(--vt-radius); background: #fff; color: var(--vt-ink); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.vt-feature-card:hover { transform: translateY(-4px); box-shadow: var(--vt-shadow); border-color: #d3b56e; color: var(--vt-ink); }
.vt-card-icon { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 24px; border-radius: 50%; background: #f4ecd9; color: #76561f; }
.vt-card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vt-feature-card h3 { margin: 0 0 7px; font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.2; }
.vt-feature-card p { margin: 0; color: var(--vt-muted); font-size: 13px; line-height: 1.6; }
.vt-feature-arrow { margin-top: auto; padding-top: 16px; color: var(--vt-gold-deep); font-size: 18px; line-height: 1; }

.vt-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vt-post-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--vt-border); border-radius: var(--vt-radius); transition: transform .25s, box-shadow .25s; }
.vt-post-card:hover { transform: translateY(-3px); box-shadow: var(--vt-shadow); }
.vt-post-thumb { position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, #1a282c, #384846 52%, #bf8b42); aspect-ratio: 16 / 9; }
.vt-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vt-post-card:hover .vt-post-thumb img { transform: scale(1.045); }
.vt-post-placeholder { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px; color: rgba(255,255,255,.8); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; background: linear-gradient(0deg, rgba(0,0,0,.46), transparent 70%); }
.vt-post-content { padding: 22px 22px 24px; }
.vt-post-date { margin: 0 0 8px; color: #777b80; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.vt-post-content h3 { margin: 0 0 11px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.23; }
.vt-post-content h3 a { color: var(--vt-ink); text-decoration: none; }
.vt-post-content h3 a:hover { color: var(--vt-gold-deep); }
.vt-post-excerpt { margin: 0; color: #63676b; font-size: 14px; line-height: 1.7; }
.vt-post-more { display: inline-block; margin-top: 17px; color: var(--vt-gold-deep); text-decoration: none; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.vt-empty-state { grid-column: 1 / -1; padding: 28px; background: #fff; border: 1px solid var(--vt-border); border-radius: var(--vt-radius); }

.vt-story-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); gap: 40px; align-items: center; }
.vt-story-band h2 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -.03em; }
.vt-story-band p { max-width: 670px; color: #d1d2d2; margin: 0 0 22px; }
.vt-story-stat { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.vt-stat { flex: 1 1 120px; padding: 21px 17px; border: 1px solid rgba(255,255,255,.17); border-radius: 10px; }
.vt-stat strong { display: block; color: var(--vt-gold); font-size: 24px; line-height: 1.2; font-family: Georgia, serif; }
.vt-stat span { display: block; margin-top: 6px; color: #d0d0d0; font-size: 11px; line-height: 1.4; }

.vt-page-wrap { padding: 52px 0 72px; }
.vt-page-header { margin: 0 0 30px; padding-bottom: 20px; border-bottom: 1px solid var(--vt-border); }
.vt-page-header .vt-eyebrow { margin-bottom: 7px; }
.vt-page-title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.1; letter-spacing: -.035em; }
.vt-page-description { margin-top: 12px; color: var(--vt-muted); }
.vt-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 42px; align-items: start; }
.vt-article { min-width: 0; padding: 34px; background: #fff; border: 1px solid var(--vt-border); border-radius: var(--vt-radius); }
.vt-article-header { margin-bottom: 24px; }
.vt-article-title { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 48px); line-height: 1.13; letter-spacing: -.03em; }
.vt-article-meta { color: #76797d; font-size: 12px; }
.vt-article-featured { margin: 0 0 28px; overflow: hidden; border-radius: 10px; }
.vt-article-content { overflow-wrap: anywhere; }
.vt-article-content h2, .vt-article-content h3, .vt-article-content h4 { line-height: 1.25; margin-top: 1.7em; }
.vt-article-content img { border-radius: 7px; }
.vt-article-content iframe, .vt-article-content video { max-width: 100%; }
.vt-article-content blockquote { margin: 26px 0; padding: 8px 0 8px 22px; border-left: 3px solid var(--vt-gold); color: #555; font-family: Georgia, serif; font-size: 20px; }
.vt-article-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.vt-article-content td, .vt-article-content th { padding: 9px 12px; border: 1px solid var(--vt-border); }
.vt-pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 5px 12px; border: 1px solid var(--vt-border); border-radius: 5px; text-decoration: none; background: #fff; }
.page-numbers.current { color: #fff; background: var(--vt-ink); border-color: var(--vt-ink); }
.vt-sidebar { display: grid; gap: 22px; }
.vt-sidebar .widget { padding: 23px; background: #fff; border: 1px solid var(--vt-border); border-radius: 12px; }
.vt-sidebar .widget-title { margin: 0 0 13px; font-family: Georgia, serif; font-size: 21px; line-height: 1.2; }
.vt-sidebar ul { margin: 0; padding-left: 18px; }
.vt-sidebar li { margin: 7px 0; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; min-width: 0; }
.search-field { width: 100%; min-height: 43px; padding: 9px 12px; border: 1px solid #d9d5cb; border-radius: 5px; background: #fff; color: var(--vt-ink); }
.search-submit { padding: 8px 12px; border: 0; border-radius: 5px; background: var(--vt-ink); color: #fff; cursor: pointer; }

.site-footer { background: #101215; color: #e6e3dc; }
.vt-footer-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(180px, .8fr) minmax(180px, .8fr); gap: 45px; padding: 49px 0 38px; }
.vt-footer-brand { margin: 0 0 12px; color: #fff; font-family: Georgia, serif; font-size: 24px; line-height: 1.2; }
.vt-footer-main p { max-width: 430px; margin: 0; color: #b7b9bb; font-size: 13px; }
.vt-footer-title { margin: 0 0 13px; color: var(--vt-gold); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.vt-footer-links { list-style: none; margin: 0; padding: 0; }
.vt-footer-links li { margin: 6px 0; }
.vt-footer-links a { color: #e6e3dc; font-size: 13px; text-decoration: none; }
.vt-footer-links a:hover { color: var(--vt-gold); }
.vt-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.12); color: #96999c; font-size: 11px; }
.vt-footer-bottom a { color: var(--vt-gold); text-decoration: none; }

@media (max-width: 1100px) {
  .vt-container { width: min(calc(100% - 36px), var(--vt-container)); }
  .vt-header-inner { gap: 18px; }
  .vt-brand-name { font-size: 16px; }
  .primary-menu { gap: 2px 12px; }
  .primary-menu a { font-size: 10px; }
  .vt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .vt-topline-inner { justify-content: center; text-align: center; }
  .vt-topline-inner span:last-child { display: none; }
  .vt-header-inner { position: relative; padding-block: 14px; flex-wrap: wrap; }
  .vt-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 43px; height: 43px; border: 1px solid rgba(255,255,255,.25); border-radius: 5px; background: transparent; color: #fff; cursor: pointer; }
  .vt-menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
  .vt-navigation { display: none; flex: 1 0 100%; width: 100%; }
  .vt-navigation.is-open { display: block; }
  .primary-menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0 3px; border-top: 1px solid rgba(255,255,255,.14); }
  .primary-menu > li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .primary-menu a { padding: 11px 2px; font-size: 12px; }
  .primary-menu .sub-menu { display: block; position: static; min-width: 0; padding: 0 0 7px 15px; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .primary-menu .sub-menu a { font-size: 12px; }
  .vt-home-hero { padding-top: 18px; }
  .vt-hero-image { border-radius: 11px; }
  .vt-hero-image img { aspect-ratio: 2.25 / 1; }
  .vt-hero-intro { grid-template-columns: 1fr; gap: 20px; padding: 28px 2px 34px; }
  .vt-hero-actions { justify-content: flex-start; }
  .vt-section { padding: 52px 0; }
  .vt-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-content-grid { grid-template-columns: 1fr; gap: 26px; }
  .vt-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .vt-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .vt-container { width: min(calc(100% - 28px), var(--vt-container)); }
  .vt-brand-mark { width: 40px; height: 40px; font-size: 25px; }
  .vt-brand-name { font-size: 14px; letter-spacing: .04em; }
  .vt-brand-tagline { font-size: 8px; letter-spacing: .07em; }
  .vt-brand .custom-logo { max-width: 160px; max-height: 44px; }
  .vt-hero-image img { aspect-ratio: 1.7 / 1; object-position: center; }
  .vt-hero-intro h1 { font-size: 35px; }
  .vt-hero-intro .vt-lead { font-size: 15px; }
  .vt-hero-actions { display: grid; grid-template-columns: 1fr; }
  .vt-button { width: 100%; }
  .vt-section { padding: 42px 0; }
  .vt-section-head { display: block; margin-bottom: 21px; }
  .vt-section-head p { margin-top: 10px; }
  .vt-section-head .vt-small-link { margin-top: 12px; }
  .vt-cards, .vt-post-grid, .vt-sidebar { grid-template-columns: 1fr; }
  .vt-feature-card { min-height: 170px; }
  .vt-card-icon { margin-bottom: 17px; }
  .vt-post-content { padding: 19px; }
  .vt-story-band { grid-template-columns: 1fr; gap: 24px; }
  .vt-story-stat { justify-content: stretch; }
  .vt-stat { flex-basis: calc(50% - 8px); }
  .vt-page-wrap { padding: 35px 0 50px; }
  .vt-article { padding: 22px 18px; }
  .vt-footer-main { grid-template-columns: 1fr; gap: 28px; padding: 39px 0 29px; }
  .vt-footer-about { grid-column: auto; }
  .vt-footer-bottom { flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Expanded footer with contact, legal details and social links */
.vt-footer-main-expanded { grid-template-columns: minmax(190px, 1.25fr) repeat(3, minmax(150px, .8fr)); gap: 30px; }
.vt-footer-subtitle { margin-top: 22px; }
.vt-social-links { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0; }
.vt-social-links a { display:inline-block; border:1px solid rgba(255,255,255,.22); border-radius:20px; padding:7px 11px; color:#e6e3dc; font-size:12px; text-decoration:none; }
.vt-social-links a:hover { border-color:var(--vt-gold); color:var(--vt-gold); }
.vt-footer-data li { line-height:1.7; overflow-wrap:anywhere; }
.vt-footer-data strong { color:#fff; }

@media (max-width: 1050px) { .vt-header-inner { flex-wrap: wrap; } }
@media (max-width: 760px) { .vt-menu-toggle { order: 1; } .vt-navigation { order: 3; flex-basis: 100%; } }

@media (max-width: 1000px) { .vt-footer-main-expanded { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) { .vt-footer-main-expanded { grid-template-columns:1fr; } }


/* Language-preserving navigation support */
