/* ==========================================================
   Aeroklub Valjevo — boje, fontovi i animacije
   Klase se dodaju bloku u Gutenbergu:
   Blok → Napredno → Dodatne CSS klase
   ========================================================== */

:root {
	--ak-navy: #0B2545;
	--ak-navy-2: #163A63;
	--ak-sky: #1E88E5;
	--ak-sky-dark: #1565C0;
	--ak-sky-light: #8FC3F5;
	--ak-orange: #F28C28;
	--ak-bg: #F5F8FB;
	--ak-text: #1F2D3D;
	--ak-muted: #4A5A6E;
	--ak-line: #E3E9F0;
	--ak-font-head: 'Barlow Condensed', Arial, sans-serif;
	--ak-font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
}

/* ---------- Tipografija ---------- */
body {
	font-family: var(--ak-font-body);
	color: var(--ak-text);
}

h1, h2, h3, h4,
.entry-title,
.site-title {
	font-family: var(--ak-font-head);
	color: var(--ak-navy);
	letter-spacing: 0.3px;
}

h1, h2 { text-transform: uppercase; line-height: 1; }

/* Mali natpis iznad naslova: klasa ak-eyebrow */
.ak-eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--ak-sky-dark);
}
.ak-dark .ak-eyebrow { color: var(--ak-sky-light); }

/* ---------- Tamna sekcija (hero, cena, podnožje): klasa ak-dark ---------- */
.ak-dark {
	background: var(--ak-navy);
	color: #D3E2F2;
	position: relative;
	overflow: hidden;
}
.ak-dark h1, .ak-dark h2, .ak-dark h3 { color: #fff; }

/* ---------- Dugmad ---------- */
.ak-btn .wp-block-button__link,
a.ak-btn {
	background: var(--ak-orange);
	color: #1A1206;
	font-weight: 600;
	border-radius: 8px;
	padding: 16px 28px;
	transition: transform .2s, filter .2s;
}
.ak-btn-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--ak-sky-light);
	color: #fff;
	border-radius: 8px;
	padding: 15px 28px;
	font-weight: 600;
	transition: transform .2s, background .2s;
}
.ak-btn .wp-block-button__link:hover,
a.ak-btn:hover,
.ak-btn-outline .wp-block-button__link:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
}

/* ---------- Kartice: klasa ak-card (podizanje pri prelasku mišem) ---------- */
.ak-card {
	background: #fff;
	border: 1px solid var(--ak-line);
	border-radius: 12px;
	overflow: hidden;
	transition: transform .3s, box-shadow .3s;
}
.ak-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 36px rgba(11, 37, 69, .14);
}

/* Slika koja se blago uveća: klasa ak-zoom na blok slike */
.ak-zoom { overflow: hidden; }
.ak-zoom img { transition: transform .6s; display: block; }
.ak-zoom:hover img,
.ak-card:hover .ak-zoom img { transform: scale(1.06); }

/* ---------- Meni: linija ispod pri prelasku mišem ---------- */
.main-navigation .menu > li > a { position: relative; }
.main-navigation .menu > li > a::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 4px;
	height: 2px;
	background: var(--ak-sky);
	transform: scaleX(0);
	transition: transform .25s;
}
.main-navigation .menu > li > a:hover::after { transform: scaleX(1); }

/* ---------- Brojke: klasa ak-stat na paragrafu ---------- */
.ak-stat {
	font-family: var(--ak-font-head);
	font-size: 48px;
	font-weight: 700;
	color: var(--ak-navy);
	line-height: 1.1;
	margin-bottom: 0;
}

/* ---------- Animacije ---------- */

/* Pojavljivanje pri učitavanju: ak-in (+ ak-d1 … ak-d4 za kašnjenje) */
.ak-in { animation: akIn .9s cubic-bezier(.2,.7,.2,1) both; }
.ak-d1 { animation-delay: .12s; }
.ak-d2 { animation-delay: .24s; }
.ak-d3 { animation-delay: .36s; }
.ak-d4 { animation-delay: .48s; }
@keyframes akIn { from { opacity: 0; transform: translateY(28px); } }

/* Pojavljivanje pri skrolovanju: ak-reveal (JS dodaje ak-visible) */
.ak-js .ak-reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.ak-js .ak-reveal.ak-visible { opacity: 1; transform: none; }

/* Jedrilica koja leti preko hero sekcije — šortkod [ak_jedrilica] */
.ak-fly {
	position: absolute;
	left: 0;
	color: var(--ak-sky-light);
	pointer-events: none;
	z-index: 0;
	animation: akFly 22s linear infinite;
}
@keyframes akFly {
	0%   { transform: translate(-160px, 40px) rotate(-3deg); }
	50%  { transform: translate(50vw, -10px) rotate(2deg); }
	100% { transform: translate(105vw, 30px) rotate(-2deg); }
}

/* Tačka koja pulsira: klasa ak-pulse */
.ak-pulse {
	display: inline-block;
	width: 12px; height: 12px;
	border-radius: 50%;
	background: var(--ak-orange);
	animation: akPulse 1.6s ease-out infinite;
	vertical-align: middle;
	margin-right: 8px;
}
@keyframes akPulse {
	0%   { box-shadow: 0 0 0 0 rgba(242,140,40,.7); }
	100% { box-shadow: 0 0 0 12px rgba(242,140,40,0); }
}

/* ---------- Prekidač cene (do 26 / preko 26) ---------- */
.ak-toggle {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	background: var(--ak-navy-2);
	border-radius: 10px;
}
.ak-toggle button {
	border: 0;
	border-radius: 8px;
	padding: 10px 16px;
	font: 600 14px var(--ak-font-body);
	background: transparent;
	color: #D3E2F2;
	cursor: pointer;
}
.ak-toggle button[aria-pressed="true"] { background: #fff; color: var(--ak-navy); }
.ak-price {
	font-family: var(--ak-font-head);
	font-size: 64px;
	font-weight: 700;
	color: #fff;
	line-height: 1;
}

/* Poštuj podešavanje „smanji pokrete“ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.ak-js .ak-reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Početna strana (šablon patterns/pocetna.php) — v1.1
   ========================================================== */

/* Sekcije i širina sadržaja */
.ak-section { padding: 88px 0; margin: 0 !important; }
.ak-white { background: #fff; }
.ak-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
	box-sizing: border-box;
}
.ak-wrap > * + * { margin-top: 36px; }
.entry-content > .ak-section + .ak-section,
.entry-content > .ak-stats { margin-top: 0 !important; }
.ak-lead { font-size: 17px; line-height: 1.6; color: var(--ak-muted); }
.ak-muted { font-size: 14px; color: #5B6B80; margin: 0; }
.ak-section h2 { font-size: clamp(36px, 4vw, 48px); margin: 0; }
.ak-intro { max-width: 640px; }
.ak-intro > * { margin: 0 0 12px; }
.ak-head-row { gap: 16px; }
.ak-head-row > * { margin: 0 !important; }
.ak-more a { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ak-navy); }
.ak-more a:hover { color: var(--ak-sky); }

/* Hero */
.ak-hero { padding: 80px 0; }
.ak-hero .ak-wrap { position: relative; z-index: 1; }
.ak-hero-title {
	font-size: clamp(48px, 6vw, 76px);
	line-height: .95;
	font-weight: 700;
	margin: 16px 0 24px;
}
.ak-dark .ak-lead { color: #D3E2F2; font-size: 18px; max-width: 520px; }
.ak-hero .wp-block-buttons { gap: 12px; margin-top: 28px; }
.ak-hero-media { position: relative; }
.ak-badge {
	position: absolute;
	left: -20px; bottom: 28px;
	display: flex; align-items: center; gap: 4px;
	background: #fff; color: var(--ak-navy);
	border-radius: 12px; padding: 14px 18px;
	font-size: 13px; line-height: 1.4;
	box-shadow: 0 12px 28px rgba(0,0,0,.25);
}
.ak-badge strong { font-size: 14px; }

/* Privremena mesta za fotografije — zameni blokom Slika */
.ak-ph {
	display: flex; align-items: center; justify-content: center;
	text-align: center; font-size: 13px; color: #5B6B80;
	background: #DCE5EF; border: 1px dashed #9FB1C6;
	border-radius: 12px; padding: 12px; box-sizing: border-box;
}
.ak-ph p { margin: 0; }
.ak-ph-dark { background: var(--ak-navy-2); border-color: #3C6593; color: #A9C4E2; }
.ak-ph-hero { height: 440px; border-radius: 16px; }
.ak-ph-card { height: 180px; }
.ak-ph-gallery { min-height: 220px; }
.ak-hero-media .wp-block-image img { border-radius: 16px; height: 440px; object-fit: cover; width: 100%; }

/* Brojke */
.ak-stats { background: #fff; border-bottom: 1px solid var(--ak-line); padding: 32px 0; margin: 0 !important; }
.ak-stats-cols { margin: 0 !important; }
.ak-stat-label { font-size: 14px; color: #5B6B80; margin: 4px 0 0; }

/* Obuka — tri koraka */
.ak-steps { gap: 16px; }
.ak-step { padding: 24px 28px; }
.ak-step > * { margin: 0 0 8px; }
.ak-step h3 { font-size: 28px; }
.ak-step-num {
	font-family: var(--ak-font-head);
	font-size: 40px; font-weight: 700;
	color: var(--ak-sky); line-height: 1;
}
.ak-step:hover .ak-step-num { color: var(--ak-orange); }
.ak-check { list-style: none; padding: 0; margin: 8px 0 0; }
.ak-check li {
	position: relative; padding-left: 30px; margin-bottom: 10px;
	font-size: 15px; line-height: 1.6; color: var(--ak-muted);
}
.ak-check li::before {
	content: ''; position: absolute; left: 0; top: 4px;
	width: 20px; height: 20px;
	background: no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E88E5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

/* Okvir sa cenom */
.ak-pricebox {
	border-radius: 16px; padding: 32px 40px;
	display: flex; flex-wrap: wrap; align-items: center;
	justify-content: space-between; gap: 24px;
}
.ak-pricebox > * { margin: 0 !important; }
.ak-price-wrap { display: flex; flex-direction: column; gap: 14px; }
.ak-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.ak-price-note { font-size: 14px; color: #A9C4E2; }

/* Flota */
.ak-fleet { gap: 24px; }
.ak-card.ak-plain { border: none; background: transparent; padding-bottom: 12px; overflow: visible; }
.ak-card.ak-plain h3 { font-size: 24px; margin: 12px 4px 4px; }
.ak-card.ak-plain .ak-muted { padding: 0 4px; }
.ak-card.ak-plain .ak-ph,
.ak-card.ak-plain .wp-block-image img { transition: transform .6s; }
.ak-card.ak-plain .wp-block-image { overflow: hidden; border-radius: 12px; margin: 0; }
.ak-card.ak-plain .wp-block-image img { height: 180px; width: 100%; object-fit: cover; display: block; }
.ak-card.ak-plain:hover .wp-block-image img { transform: scale(1.06); }

/* Vesti */
.ak-news .wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px; list-style: none; padding: 0; margin: 0;
}
.ak-news .wp-block-post-template > li { margin: 0; }
.ak-news-card { height: 100%; display: flex; flex-direction: column; }
.ak-news-card .wp-block-post-featured-image { margin: 0; }
.ak-news-card .wp-block-post-featured-image img { width: 100%; height: 200px; object-fit: cover; }
.ak-news-body { padding: 24px; }
.ak-news-body > * { margin: 0 0 10px; }
.ak-news-body .wp-block-post-title { font-size: 26px; line-height: 1.1; text-transform: none; }
.ak-news-body .wp-block-post-title a { color: var(--ak-navy); text-decoration: none; }
.ak-news-body .wp-block-post-excerpt { font-size: 15px; line-height: 1.6; color: var(--ak-muted); }
.ak-news-body .wp-block-post-excerpt__more-text { display: none; }

/* Kontakt i mapa */
.ak-contact { gap: 48px; }
.ak-contact h2 { margin-bottom: 20px; }
.ak-contact-links { font-size: 16px; line-height: 2; }
.ak-contact-links a { color: var(--ak-navy); }
.ak-contact-links a:hover { color: var(--ak-sky); }
.ak-btn-line .wp-block-button__link {
	background: transparent; color: var(--ak-navy);
	border: 1px solid var(--ak-navy); border-radius: 8px;
	padding: 14px 24px; font-weight: 600;
	transition: transform .2s, background .2s;
}
.ak-btn-line .wp-block-button__link:hover { transform: translateY(-2px); background: var(--ak-navy); color: #fff; }
.ak-map { border-radius: 16px; overflow: hidden; height: 380px; background: #DCE5EF; }
.ak-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Telefon i tablet */
@media (max-width: 781px) {
	.ak-section { padding: 64px 0; }
	.ak-hero { padding: 56px 0 64px; }
	.ak-wrap { padding: 0 20px; }
	.ak-ph-hero, .ak-hero-media .wp-block-image img { height: 280px; }
	.ak-badge { left: 12px; bottom: 12px; }
	.ak-stats-cols { display: grid !important; grid-template-columns: 1fr 1fr; gap: 20px; }
	.ak-pricebox { padding: 28px 24px; }
	.ak-price { font-size: 52px; }
	.ak-map { height: 300px; }
}

/* Kadence (klasična tema) pakuje sadržaj grupe u .wp-block-group__inner-container */
.ak-pricebox > .wp-block-group__inner-container {
	display: flex; flex-wrap: wrap; align-items: center;
	justify-content: space-between; gap: 24px; width: 100%;
}
.ak-pricebox > .wp-block-group__inner-container > * { margin: 0 !important; }
.ak-wrap > .wp-block-group__inner-container > * + * { margin-top: 36px; }
.ak-intro > .wp-block-group__inner-container > * { margin: 0 0 12px; }
.ak-news-body > .wp-block-group__inner-container > * { margin: 0 0 10px; }
.ak-news-card > .wp-block-group__inner-container { height: 100%; display: flex; flex-direction: column; }
.ak-ph > .wp-block-group__inner-container { width: 100%; }

/* ==========================================================
   Meni i podnožje — v1.2
   ========================================================== */

/* Dugme „Prijavi se“ u meniju (stavka menija sa klasom ak-menu-btn) */
.main-navigation .menu > li.ak-menu-btn > a {
	background: var(--ak-orange);
	color: #1A1206 !important;
	border-radius: 8px;
	padding: 10px 20px !important;
	margin-left: 12px;
	font-weight: 600;
	transition: transform .2s, filter .2s;
}
.main-navigation .menu > li.ak-menu-btn > a:hover { transform: translateY(-2px); filter: brightness(1.08); }
.main-navigation .menu > li.ak-menu-btn > a::after { display: none; }
.mobile-navigation li.ak-menu-btn > .drawer-nav-drop-wrap > a,
.mobile-navigation li.ak-menu-btn > a {
	background: var(--ak-orange);
	color: #1A1206;
	border-radius: 8px;
	margin: 16px 0 0;
	padding: 12px 20px;
	font-weight: 600;
	display: inline-block;
}

/* Podnožje */
#colophon.site-footer { background: var(--ak-navy); color: #D3E2F2; font-size: 14px; }
#colophon .site-middle-footer-wrap,
#colophon .site-bottom-footer-wrap,
#colophon .site-footer-row-container-inner { background: transparent; }
#colophon .site-middle-footer-wrap { padding-top: 24px; }
#colophon .site-bottom-footer-wrap .site-footer-row-container-inner { border-top: 1px solid #2A4A70; }
#colophon a { color: #D3E2F2; text-decoration: none; }
#colophon a:hover { color: #fff; text-decoration: underline; }
#colophon .ak-foot-brand {
	font-family: var(--ak-font-head);
	font-size: 24px; font-weight: 700;
	color: #fff; text-transform: uppercase; margin-bottom: 8px;
}
#colophon .ak-foot-title {
	font-family: var(--ak-font-body);
	font-size: 14px; font-weight: 600;
	color: #fff; text-transform: none; letter-spacing: 0; margin: 0 0 8px;
}
#colophon .ak-foot-links { line-height: 1.9; }
#colophon .footer-html { width: 100%; }
#colophon .footer-html-inner p {
	margin: 0; font-size: 13px; color: #A9C4E2;
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
}
@media (min-width: 1025px) {
	#colophon .site-middle-footer-inner-wrap.site-footer-row-columns-4 { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ==========================================================
   Strana Obuka — v1.3
   ========================================================== */
.ak-hero-sub { padding: 72px 0 80px; }
.ak-hero-sub .ak-intro { max-width: 760px; }
.ak-hero-sub .ak-lead { max-width: 640px; }

/* Kalendar (vremenska linija) */
.ak-timeline,
.ak-timeline > .wp-block-group__inner-container {
	position: relative;
	display: flex; flex-direction: column; gap: 0;
}
.ak-timeline > .wp-block-group__inner-container > * + * { margin-top: 0; }
.ak-tl-item {
	position: relative;
	padding: 0 0 32px 40px;
	margin: 0 !important;
	border-left: 2px solid var(--ak-line);
	margin-left: 8px !important;
}
.ak-tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.ak-tl-item::before {
	content: '';
	position: absolute; left: -9px; top: 2px;
	width: 16px; height: 16px; border-radius: 50%;
	background: #fff; border: 3px solid var(--ak-sky);
	box-sizing: border-box;
}
.ak-tl-item:last-child::before { border-color: var(--ak-orange); }
.ak-tl-item h3 { font-size: 26px; margin: 4px 0 6px; text-transform: none; }
.ak-tl-item p { margin: 0; color: var(--ak-muted); font-size: 15px; line-height: 1.6; max-width: 680px; }
.ak-tl-item .ak-eyebrow { color: var(--ak-sky-dark); font-size: 12px; }

/* Lista u dve kolone (predmeti teorije) */
.ak-check-2col { columns: 2; column-gap: 32px; }
.ak-check-2col li { break-inside: avoid; font-size: 16px; color: var(--ak-text); }

/* Plaćanje u okviru cene */
.ak-pay { margin: 4px 0 0; padding-left: 20px; color: #D3E2F2; font-size: 15px; line-height: 1.8; }
.ak-pay strong { color: #fff; }
#cena .ak-muted { margin-top: 16px; }

/* Video */
.ak-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--ak-navy-2); }
.ak-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Dokumenti */
.ak-docs { gap: 16px; }
.ak-doc { padding: 22px 24px; }
.ak-doc > * { margin: 0 0 6px; }
.ak-doc-title { font-family: var(--ak-font-head); font-size: 22px; font-weight: 600; line-height: 1.15; }
.ak-doc-title a { color: var(--ak-navy); text-decoration: none; }
.ak-doc-title a::after { content: ' ↓'; color: var(--ak-sky); }
.ak-doc:hover .ak-doc-title a { color: var(--ak-sky-dark); }

/* Kartica za kontakt */
.ak-contact-card { padding: 32px; }
.ak-contact-card > .wp-block-group__inner-container > * { margin: 0 0 12px; }
.ak-contact-card h3 { font-size: 28px; text-transform: none; }
.ak-contact-card:hover { transform: none; }

@media (max-width: 781px) {
	.ak-check-2col { columns: 1; }
	.ak-tl-item { padding-left: 28px; }
}

/* ==========================================================
   Prijava (WPForms) — v1.4
   ========================================================== */
.ak-apply { gap: 48px; align-items: flex-start !important; }
.ak-apply h3 { font-size: 28px; text-transform: none; margin: 0 0 12px; }
.ak-form-card { padding: 32px 36px; }
.ak-form-card:hover { transform: none; box-shadow: none; }
.ak-form-card .wpforms-container {
	--wpforms-field-border-radius: 8px;
	--wpforms-field-border-color: #C9D5E2;
	--wpforms-field-text-color: #1F2D3D;
	--wpforms-label-color: #0B2545;
	--wpforms-label-sublabel-color: #5B6B80;
	--wpforms-button-border-radius: 8px;
	--wpforms-button-background-color: #F28C28;
	--wpforms-button-text-color: #1A1206;
	--wpforms-page-break-color: #1E88E5;
	margin: 0 !important;
}
.ak-form-card .wpforms-field-label { font-weight: 600; }
.ak-form-card input:focus,
.ak-form-card textarea:focus,
.ak-form-card select:focus { border-color: var(--ak-sky) !important; box-shadow: 0 0 0 1px var(--ak-sky) !important; }
.ak-form-card button[type="submit"] { font-weight: 600 !important; padding: 0 28px !important; transition: transform .2s, filter .2s; }
.ak-form-card button[type="submit"]:hover { transform: translateY(-2px); filter: brightness(1.08); }
.ak-form-note { font-size: 14px; color: #5B6B80; margin: 0; }
.ak-form-card .wpforms-confirmation-container-full {
	background: #EAF4FD; border: 1px solid #BBDBF7; color: var(--ak-navy);
	border-radius: 12px; padding: 20px 24px;
}
@media (max-width: 781px) {
	.ak-form-card { padding: 24px 20px; }
}

/* ==========================================================
   Zaglavlje: logo + naziv + podnaslov — v1.6
   ========================================================== */
.site-branding .brand { gap: 12px; }
.site-branding .custom-logo { height: auto; }
.site-branding .site-title {
	font-family: var(--ak-font-head) !important;
	font-weight: 700 !important;
	font-size: 24px !important;
	line-height: 1 !important;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: var(--ak-navy) !important;
	margin: 0;
}
.site-branding .site-description {
	font-family: var(--ak-font-body) !important;
	font-size: 12px !important;
	line-height: 1.4 !important;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #5B6B80 !important;
	margin: 4px 0 0;
}
.site-header-row-container-inner { border-bottom: 1px solid var(--ak-line); }
@media (max-width: 1024px) {
	.site-branding .site-title { font-size: 20px !important; }
}

/* ==========================================================
   Flota i O klubu — v1.7
   ========================================================== */
.ak-fleet-grid { gap: 24px; margin-bottom: 24px !important; }
.ak-fleet-card { padding: 0 0 24px; display: flex; flex-direction: column; }
.ak-fleet-card > * { margin: 0 24px 6px !important; }
.ak-fleet-card > figure,
.ak-fleet-card > .ak-ph { margin: 0 0 18px !important; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.ak-fleet-card .ak-ph-card { height: 200px; }
.ak-fleet-img { overflow: hidden; }
.ak-fleet-img img { display: block; width: 100%; height: 200px; object-fit: cover; transition: transform .6s; }
.ak-fleet-card:hover .ak-fleet-img img { transform: scale(1.06); }
.ak-fleet-card h3 { font-size: 26px; text-transform: none; line-height: 1.1; }
.ak-fleet-card .ak-eyebrow { font-size: 12px; }
.ak-spec { font-size: 14px; font-weight: 600; color: var(--ak-navy); }
.ak-fleet-empty { visibility: hidden; }

/* Fotografija u sekciji */
.ak-photo { margin: 0; border-radius: 16px; overflow: hidden; }
.ak-photo img { display: block; width: 100%; height: auto; }
.ak-history { gap: 56px; }
.ak-history-side > * { margin: 0 0 16px; }
.ak-history-side .ak-photo { margin: 8px 0 16px; }

/* Tamna traka sa pozivom */
.ak-cta-text h3 { color: #fff; font-size: 32px; margin: 0 0 6px; }
.ak-cta-text p { margin: 0; color: #D3E2F2; }

/* Početna: prava fotografija u hero delu */
.ak-hero-media .ak-hero-img { margin: 0; }
.ak-hero-media .ak-hero-img img { display: block; width: 100%; height: 440px; object-fit: cover; border-radius: 16px; }
@media (max-width: 781px) {
	.ak-fleet-empty { display: none; }
	.ak-hero-media .ak-hero-img img { height: 280px; }
}

/* Tehnički podaci i potpisi fotografija — v1.8 */
.ak-tech {
	list-style: none; padding: 0 !important;
	display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px;
	margin: 10px 24px 12px !important;
	border-top: 1px solid var(--ak-line); padding-top: 12px !important;
}
.ak-tech li { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
.ak-tech li span { color: #5B6B80; font-size: 12px; }
.ak-tech li strong { color: var(--ak-navy); font-weight: 600; }
.ak-fleet-img { position: relative; }
.ak-fleet-img .ak-credit {
	position: absolute; right: 0; bottom: 0; margin: 0;
	background: rgba(11,37,69,.7); color: #fff;
	font-size: 10px; line-height: 1.3; padding: 3px 8px;
	border-top-left-radius: 6px; max-width: 90%;
}
.ak-fleet-img .ak-credit a { color: #fff; text-decoration: none; }
.ak-fleet-img .ak-credit a:hover { text-decoration: underline; }

/* Za pilote — v1.9 */
.ak-docs-4 { flex-wrap: wrap !important; }
@media (min-width: 782px) { .ak-docs-4 > .wp-block-column { flex-basis: calc(25% - 12px) !important; } }
.ak-link-card .ak-doc-title a::after { content: ' →'; }
.ak-dl-card .ak-doc-title a::after { content: ' ↓'; }
.ak-doc .ak-muted { font-size: 14px; }
.ak-doc { position: relative; }
.ak-doc .ak-doc-title a::before { content: ''; position: absolute; inset: 0; } /* cela kartica je klikabilna */
.ak-note {
	font-size: 14px; line-height: 1.5; color: var(--ak-navy);
	background: #FFF4E8; border-left: 4px solid var(--ak-orange);
	padding: 12px 16px; border-radius: 6px;
}

/* ==========================================================
   v2.1 — Aerodromi (tabela sa pretragom), Donacija, Skup modelara
   ========================================================== */
.ak-apt-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 28px 0 16px; }
.ak-apt-filter input[type="search"] {
	flex: 1 1 320px; max-width: 460px; font: inherit; font-size: 16px;
	padding: 12px 16px; border: 1px solid #D5DEEA; border-radius: 10px; background: #fff; color: var(--ak-navy);
}
.ak-apt-filter input[type="search"]:focus { outline: 2px solid var(--ak-sky); outline-offset: 1px; border-color: var(--ak-sky); }
.ak-apt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ak-apt-chips button {
	font: 600 14px/1 var(--ak-font-body); padding: 10px 14px; border-radius: 999px; cursor: pointer;
	border: 1px solid #D5DEEA; background: #fff; color: var(--ak-navy); transition: background .2s, color .2s, border-color .2s;
}
.ak-apt-chips button:hover { border-color: var(--ak-sky); }
.ak-apt-chips button[aria-pressed="true"] { background: var(--ak-navy); border-color: var(--ak-navy); color: #fff; }
.ak-apt-count { margin: 0; font-size: 14px; color: #5B6B82; flex-basis: 100%; }
.wp-block-table.ak-apt { margin: 0; overflow-x: auto; border: 1px solid #E3E9F2; border-radius: 14px; background: #fff; }
.wp-block-table.ak-apt table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.wp-block-table.ak-apt thead { border: 0; }
.wp-block-table.ak-apt th {
	position: sticky; top: 0; background: var(--ak-navy); color: #fff; text-align: left; border: 0;
	font: 600 13px/1.2 'Barlow Condensed', sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 12px 14px;
}
.wp-block-table.ak-apt td { border: 0; border-top: 1px solid #EDF1F6; padding: 10px 14px; vertical-align: top; color: #2A3A52; }
.wp-block-table.ak-apt tbody tr:nth-child(even) td { background: #F8FAFD; }
.wp-block-table.ak-apt td:first-child strong { font-family: 'Barlow Condensed', sans-serif; font-size: 17px; letter-spacing: .04em; color: var(--ak-navy); }
.wp-block-table.ak-apt td:nth-child(4), .wp-block-table.ak-apt td:nth-child(8) { white-space: nowrap; }
.wp-block-table.ak-apt tr.ak-apt-home td { background: #FFF4E8 !important; }
.wp-block-table.ak-apt tr.ak-apt-home td:first-child { box-shadow: inset 4px 0 0 var(--ak-orange); }
.ak-apt-legend { margin-top: 16px; font-size: 14px; }
.ak-apt-empty { padding: 24px; text-align: center; color: #5B6B82; }

.ak-poster img { max-height: 760px; width: auto; margin: 0 auto; }
.ak-don-doc { max-width: 340px; margin: 0 auto; box-shadow: 0 18px 40px rgba(11,37,69,.18); }
.ak-contact .ak-photo + .ak-photo, .ak-contact .wp-block-buttons + .ak-photo { margin-top: 28px; }

/* ==========================================================
   v2.2 — peglanje: tipografija, vesti (arhiva i članak), galerija
   ========================================================== */

/* Naslovi se lepše lome (bez jedne reči u poslednjem redu) */
h1, h2, h3, .ak-hero-title, .entry-title { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* --- Zaglavlje arhive (Vesti, kategorije) i članka: tamni hero kao na ostalim stranama --- */
.entry-hero.post-archive-hero-section,
.entry-hero.post-hero-section {
	background: var(--ak-navy) radial-gradient(120% 140% at 85% 0%, #163A63 0%, var(--ak-navy) 60%);
	color: #fff; border: 0;
}
.entry-hero .entry-hero-container-inner { background: transparent !important; }
.entry-hero .hero-section-overlay { background: transparent !important; }
.entry-hero .hero-container { padding-top: 72px; padding-bottom: 72px; }
.entry-hero .entry-header { min-height: 0 !important; }
.entry-hero .page-title,
.entry-hero .entry-title {
	font-family: var(--ak-font-head); font-weight: 700; text-transform: uppercase;
	font-size: clamp(40px, 5vw, 64px); line-height: .98; letter-spacing: .01em;
	color: #fff; margin: 0; max-width: 900px;
}
.entry-hero .archive-description { color: rgba(255,255,255,.75); font-size: 18px; max-width: 640px; margin-top: 16px; }
.entry-hero .archive-description p { margin: 0; }
.entry-hero .entry-taxonomies { margin-bottom: 14px; }
.entry-hero .entry-taxonomies,
.entry-hero .entry-taxonomies a {
	color: var(--ak-orange) !important; font: 700 13px/1 var(--ak-font-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.entry-hero .entry-meta { color: rgba(255,255,255,.7); font-size: 15px; margin-top: 18px; }
.entry-hero .entry-meta a { color: inherit; }
.entry-hero .entry-meta .updated:not(.published) { display: none; }

/* --- Kartice vesti u arhivi --- */
.loop-entry.entry {
	border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(11,37,69,.06), 0 8px 24px rgba(11,37,69,.06);
	border: 1px solid var(--ak-line); transition: transform .25s ease, box-shadow .25s ease;
	display: flex; flex-direction: column;
}
.loop-entry.entry:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(11,37,69,.06), 0 18px 40px rgba(11,37,69,.12); }
.loop-entry .post-thumbnail { margin: 0; }
.loop-entry .post-thumbnail-inner img { transition: transform .5s ease; }
.loop-entry:hover .post-thumbnail-inner img { transform: scale(1.04); }
.loop-entry .entry-content-wrap { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.loop-entry .entry-taxonomies { margin-bottom: 10px; }
.loop-entry .entry-taxonomies,
.loop-entry .entry-taxonomies a {
	color: var(--ak-sky) !important; font: 700 12px/1 var(--ak-font-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.loop-entry .entry-title { font-family: var(--ak-font-head); font-size: 26px; line-height: 1.05; text-transform: uppercase; margin: 0 0 10px; }
.loop-entry .entry-title a { color: var(--ak-navy); text-decoration: none; }
.loop-entry .entry-title a:hover { color: var(--ak-sky); }
.loop-entry .entry-meta { font-size: 13px; color: var(--ak-muted); margin: 0 0 12px; }
.loop-entry .entry-meta .updated:not(.published) { display: none; }
.loop-entry .entry-summary { font-size: 15px; line-height: 1.6; color: var(--ak-muted); }
.loop-entry .entry-summary p { margin: 0; }
.loop-entry .entry-footer { margin-top: auto; padding-top: 16px; }
.loop-entry .more-link-wrap { margin: 0; }
.loop-entry .post-more-link {
	font: 600 14px/1 var(--ak-font-body); color: var(--ak-sky); text-transform: none; letter-spacing: 0; text-decoration: none;
}
.loop-entry .post-more-link:hover { color: var(--ak-navy); }
.loop-entry .post-more-link .kadence-svg-iconset { transition: transform .2s; }
.loop-entry .post-more-link:hover .kadence-svg-iconset { transform: translateX(3px); }

/* Paginacija */
.pagination .page-numbers {
	border-radius: 999px; min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--ak-line); background: #fff; color: var(--ak-navy); font-weight: 600; text-decoration: none;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--ak-navy); border-color: var(--ak-navy); color: #fff; }

/* --- Članak --- */
.single-post .content-bg.single-entry, .single-post .entry.single-entry { border-radius: 18px; box-shadow: 0 8px 30px rgba(11,37,69,.07); }
.single-post .entry-content { font-size: 17px; line-height: 1.75; }
.single-post .entry-content > p:first-child { font-size: 19px; color: var(--ak-navy); }
.single-post .entry-content img { border-radius: 10px; }
.single-post .entry-content h2, .single-post .entry-content h3 { margin-top: 1.6em; }
.single-post .article-post-thumbnail img { border-radius: 18px 18px 0 0; }
.post-navigation { border-top: 1px solid var(--ak-line); }
.post-navigation .post-navigation-sub small { color: var(--ak-sky); font-weight: 700; letter-spacing: .12em; }
.post-navigation a { color: var(--ak-navy); font-family: var(--ak-font-head); font-size: 20px; text-transform: uppercase; text-decoration: none; }
.post-navigation a:hover { color: var(--ak-sky); }
.entry-related { background: var(--ak-bg); }
.entry-related .entry-related-title { font-family: var(--ak-font-head); text-transform: uppercase; color: var(--ak-navy); font-size: 36px; }

/* --- Galerija (Global Gallery): ujednačena mreža umesto „trake“ različitih širina --- */
.ak-gallery .gg_gallery_wrap { height: auto !important; }
.ak-gallery .gg_container {
	display: grid !important; grid-template-columns: repeat(6, 1fr); gap: 10px; height: auto !important; width: 100% !important;
}
.ak-gallery .gg_container .gg_img {
	width: auto !important; height: auto !important; margin: 0 !important; position: relative !important;
	top: auto !important; left: auto !important; float: none !important; border-radius: 10px; overflow: hidden;
}
.ak-gallery .gg_img .gg_img_inner { height: auto !important; aspect-ratio: 4 / 3; }
.ak-gallery .gg_img .gg_main_img_wrap,
.ak-gallery .gg_img .gg_img_wrap_inner { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }
.ak-gallery .gg_img img.gg_photo { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; transition: transform .4s ease; position: static !important; }
.ak-gallery .gg_img:hover img.gg_photo { transform: scale(1.05); }
.ak-gallery .gg_infinite_scroll { margin-top: 24px; text-align: center; background: none !important; border: 0 !important; box-shadow: none !important; }
.ak-gallery .gg_infinite_scroll .gg_nav_mid { background: none !important; }
.ak-gallery .gg_infinite_scroll .gg_nav_mid span {
	display: inline-block; padding: 13px 26px; border-radius: 999px; border: 2px solid var(--ak-navy);
	color: var(--ak-navy); font: 600 15px/1 var(--ak-font-body); text-transform: none; cursor: pointer; transition: background .2s, color .2s;
}
.ak-gallery .gg_infinite_scroll:hover .gg_nav_mid span { background: var(--ak-navy); color: #fff; }
@media (max-width: 1024px) { .ak-gallery .gg_container { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) {
	.ak-gallery .gg_container { grid-template-columns: repeat(3, 1fr); gap: 6px; }
	.entry-hero .hero-container { padding-top: 48px; padding-bottom: 48px; }
	.loop-entry .entry-title { font-size: 24px; }
}
/* v2.2.1 — zaglavlje vesti i članka centrirano */
.entry-hero .entry-header { text-align: center; display: flex; flex-direction: column; align-items: center; }
.entry-hero .page-title, .entry-hero .entry-title { margin-left: auto; margin-right: auto; }
.entry-hero .entry-meta { justify-content: center; }
.entry-hero .archive-description { margin-left: auto; margin-right: auto; }

/* ==========================================================
   v2.3 — video na početnoj, nova jedrilica, brojke, prekidač cene,
          dugme na vrh, lightbox za slike u člancima
   ========================================================== */

/* --- Jedrilica (pogled odozdo) koja polako klizi preko zaglavlja --- */
.ak-fly { animation: akGlide 40s linear infinite; color: var(--ak-sky-light); will-change: transform; }
.ak-fly-bank { animation: akBank 9s ease-in-out infinite; transform-origin: 70% 50%; }
.ak-fly svg { display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
@keyframes akGlide {
	0%   { transform: translate(-220px, 30px) rotate(6deg); }
	30%  { transform: translate(30vw, -6px) rotate(-2deg); }
	60%  { transform: translate(62vw, 18px) rotate(4deg); }
	100% { transform: translate(108vw, -10px) rotate(-3deg); }
}
@keyframes akBank {
	0%, 100% { transform: scaleY(1) rotate(0deg); }
	50%      { transform: scaleY(.94) rotate(-2deg); }
}

/* --- Početna: video kao pozadina zaglavlja --- */
.ak-hero.ak-hero-video {
	position: relative; overflow: hidden; display: flex; align-items: center;
	min-height: min(82vh, 760px); padding: 120px 0 110px;
	background: var(--ak-navy) url('../../../../uploads/ak-video/hero-ig-poster.jpg') center / cover no-repeat;
}
.ak-video-bg { position: absolute; inset: 0; z-index: 0; }
.ak-video-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ak-video-bg::after {
	content: ''; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(11,37,69,.94) 0%, rgba(11,37,69,.78) 38%, rgba(11,37,69,.35) 70%, rgba(11,37,69,.15) 100%),
		linear-gradient(0deg, rgba(11,37,69,.55) 0%, rgba(11,37,69,0) 35%);
}
.ak-hero-video > .wp-block-group__inner-container { position: static !important; width: 100%; }
.ak-hero-video .ak-wrap { position: relative; z-index: 1; width: 100%; }
.ak-hero-text { max-width: 640px; }
.ak-hero-video .ak-hero-title { font-size: clamp(52px, 7vw, 92px); text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.ak-hero-video .ak-lead { font-size: 19px; max-width: 540px; color: #E3EDF7; }
.ak-hero-video .ak-badge { left: auto; right: 0; bottom: 0; }
@media (max-width: 900px) {
	.ak-hero.ak-hero-video { min-height: 0; padding: 72px 0 64px; }
	.ak-video-bg::after { background: linear-gradient(0deg, rgba(11,37,69,.9) 0%, rgba(11,37,69,.6) 60%, rgba(11,37,69,.45) 100%); }
	.ak-hero-video .ak-badge { position: static; display: inline-flex; margin-top: 28px; }
}

/* --- Brojke centrirane --- */
.ak-stats-cols > .wp-block-column,
.ak-stats-cols > .wp-block-group__inner-container > .wp-block-column { text-align: center; }
.ak-stat, .ak-stat-label { text-align: center; }
.ak-stats-cols > .wp-block-column + .wp-block-column { border-left: 1px solid var(--ak-line); }
@media (max-width: 781px) { .ak-stats-cols > .wp-block-column + .wp-block-column { border-left: 0; } }

/* --- Prekidač cene: kompaktna „pilula“, ne razvlači se --- */
.ak-price-wrap { align-items: flex-start; }
.ak-toggle {
	display: inline-flex; align-self: flex-start; width: auto; gap: 2px; padding: 4px;
	background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
}
.ak-toggle button {
	border-radius: 999px; padding: 9px 18px; font: 600 14px/1 var(--ak-font-body);
	color: #BFD3E8; background: transparent; transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap;
}
.ak-toggle button:hover { color: #fff; }
.ak-toggle button[aria-pressed="true"] { background: #fff; color: var(--ak-navy); box-shadow: 0 4px 14px rgba(0,0,0,.22); }
.ak-toggle button:focus-visible { outline: 2px solid var(--ak-orange); outline-offset: 2px; }

/* --- Dugme „na vrh“ (Kadence) --- */
#kt-scroll-up, #kt-scroll-up-reader {
	width: 48px; height: 48px; padding: 0 !important; border-radius: 50% !important; border: 0 !important;
	background: var(--ak-navy) !important; color: #fff !important;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 24px rgba(11,37,69,.3); right: 24px !important; bottom: 24px !important;
	transition: background .2s, transform .2s, opacity .3s, visibility .3s;
}
#kt-scroll-up:hover { background: var(--ak-orange) !important; transform: translateY(-3px); }
#kt-scroll-up .kadence-svg-iconset svg { width: 20px; height: 20px; }

/* --- Lightbox za slike u člancima i na stranama --- */
.ak-lb {
	position: fixed; inset: 0; z-index: 100000; background: rgba(6,18,34,.94);
	display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s;
}
.ak-lb.ak-open { opacity: 1; }
.ak-lb figure { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.ak-lb img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); transition: opacity .2s; }
.ak-lb img.ak-loading { opacity: .3; }
.ak-lb figcaption { color: #D3E2F2; font-size: 14px; margin-top: 12px; text-align: center; max-width: 760px; }
.ak-lb button {
	position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.1);
	width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-size: 26px; line-height: 1; transition: background .2s;
}
.ak-lb button:hover { background: var(--ak-orange); }
.ak-lb .ak-lb-close { top: 20px; right: 20px; font-size: 30px; }
.ak-lb .ak-lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.ak-lb .ak-lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.ak-lb .ak-lb-count { position: absolute; top: 32px; left: 28px; color: #A9C4E2; font-size: 14px; letter-spacing: .08em; }
.ak-lb.ak-single .ak-lb-prev, .ak-lb.ak-single .ak-lb-next, .ak-lb.ak-single .ak-lb-count { display: none; }
@media (max-width: 640px) {
	.ak-lb .ak-lb-prev, .ak-lb .ak-lb-next { top: auto; bottom: 20px; transform: none; }
	.ak-lb img { max-height: 72vh; }
}
.ak-lb-lock { overflow: hidden; }

/* ==========================================================
   v2.4 — logo koji „izlazi“ iz zaglavlja, lepljivi meni, Arhiva
   ========================================================== */

/* --- Zaglavlje iznad sadržaja, da logo može da prelazi preko --- */
#masthead { position: relative; z-index: 1000; }
#masthead .site-header-row-container-inner,
#masthead .site-main-header-inner-wrap,
#masthead .site-header-section,
#masthead .site-header-item { overflow: visible; }

/* --- Logo: veliki krug sa senkom koji visi ispod trake menija (kao na starom sajtu) --- */
#masthead .site-branding a.brand img.custom-logo {
	width: 128px !important; max-width: 128px !important; height: auto !important; max-height: none !important;
	margin: 0 0 -64px 0; padding: 6px; background: #fff; border-radius: 50%;
	box-shadow: 0 10px 28px rgba(11,37,69,.22); position: relative; z-index: 2;
	transition: width .3s ease, max-width .3s ease, margin .3s ease, padding .3s ease, box-shadow .3s ease;
}
#masthead .site-branding .brand { align-items: flex-start; }
#masthead .site-branding .site-title-wrap { align-self: center; padding-top: 2px; }
@media (max-width: 1024px) {
	#masthead .site-branding a.brand img.custom-logo { width: 84px !important; max-width: 84px !important; margin-bottom: -34px; padding: 4px; }
}
@media (max-width: 767px) {
	#masthead .site-branding a.brand img.custom-logo { width: 72px !important; max-width: 72px !important; margin-bottom: -26px; padding: 3px; }
}

/* Lepljivi meni: kad se skroluje, traka je bela sa senkom, a logo se smanji i vrati u traku */
#masthead .item-is-stuck { background: rgba(255,255,255,.97) !important; box-shadow: 0 6px 24px rgba(11,37,69,.12); backdrop-filter: saturate(1.4) blur(6px); }
#masthead .item-is-stuck .site-branding a.brand img.custom-logo {
	width: 52px !important; max-width: 52px !important; margin-bottom: 0; padding: 2px; box-shadow: 0 2px 8px rgba(11,37,69,.15);
}
#masthead .item-is-stuck .site-header-row-container-inner { border-bottom-color: transparent; }

/* Više mesta na vrhu zaglavlja strana, da logo ne pokrije natpis */
.ak-hero-sub { padding-top: 120px; }
.entry-hero .hero-container { padding-top: 112px; }
.ak-hero.ak-hero-video { padding-top: 150px; }
@media (max-width: 1024px) {
	.ak-hero-sub { padding-top: 84px; }
	.entry-hero .hero-container { padding-top: 76px; }
	.ak-hero.ak-hero-video { padding-top: 96px; }
}

/* --- Arhiva: kartice sekcija i arhivske vesti --- */
.ak-arch-row { gap: 24px; margin-bottom: 24px !important; }
.ak-arch-card { padding: 0 0 20px; overflow: hidden; }
.ak-arch-card .ak-arch-img { margin: 0 0 16px; }
.ak-arch-card .ak-arch-img img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .5s ease; }
.ak-arch-card:hover .ak-arch-img img { transform: scale(1.04); }
.ak-arch-card h3 { font-size: 26px; margin: 0 24px 6px; }
.ak-arch-card h3 a { color: var(--ak-navy); text-decoration: none; }
.ak-arch-card h3 a::after { content: ' →'; color: var(--ak-sky); }
.ak-arch-card h3 a:hover { color: var(--ak-sky); }
.ak-arch-card .ak-muted { margin: 0 24px; font-size: 15px; }
.ak-arch-card { position: relative; }
.ak-arch-card h3 a::before { content: ''; position: absolute; inset: 0; z-index: 1; }

.wp-block-latest-posts.ak-latest { gap: 24px; padding: 0; margin: 0 0 32px; }
.wp-block-latest-posts.ak-latest.is-grid li {
	background: #fff; border: 1px solid var(--ak-line); border-radius: 16px; overflow: hidden; margin: 0 !important;
	padding: 0 0 20px; box-shadow: 0 8px 24px rgba(11,37,69,.06); position: relative; transition: transform .25s, box-shadow .25s;
}
.wp-block-latest-posts.ak-latest.is-grid li:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,37,69,.12); }
.wp-block-latest-posts.ak-latest .wp-block-latest-posts__featured-image { margin: 0 0 14px; }
.wp-block-latest-posts.ak-latest .wp-block-latest-posts__featured-image img { width: 100%; height: 200px; object-fit: cover; display: block; }
.wp-block-latest-posts.ak-latest .wp-block-latest-posts__post-title {
	display: block; margin: 0 20px 6px; font-family: var(--ak-font-head); font-size: 22px; line-height: 1.1;
	text-transform: uppercase; color: var(--ak-navy); text-decoration: none;
}
.wp-block-latest-posts.ak-latest .wp-block-latest-posts__post-title::before { content: ''; position: absolute; inset: 0; }
.wp-block-latest-posts.ak-latest .wp-block-latest-posts__post-date { margin: 0 20px; font-size: 13px; color: var(--ak-muted); }
.wp-block-latest-posts.ak-latest li:not(:has(img)) { padding-top: 20px; }
@media (max-width: 781px) { .wp-block-latest-posts.ak-latest.is-grid li { width: 100% !important; } }
.ak-center { text-align: center; }

/* ==========================================================
   v2.5 — font, širi članak, logbook, kontakt
   ========================================================== */

/* Font za tekst: Source Sans 3 (pun srpski set slova), malo veći i prozračniji */
:root { --global-body-font-family: var(--ak-font-body); }
body, button, input, select, textarea { font-family: var(--ak-font-body); }
body { font-size: 17px; }
.entry-content p, .entry-content li { line-height: 1.7; }
.ak-lead { font-size: 19px; }

/* Širi članak na računaru */
.single-post .entry-content { font-size: 18px; }
.single-post .entry-content p[style*="justify"] { hyphens: auto; }

/* --- Za pilote: elektronski logbook --- */
.ak-logbook { position: relative; overflow: hidden; }
.ak-logbook::before {
	content: ''; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%;
	background: radial-gradient(closest-side, rgba(30,136,229,.28), rgba(30,136,229,0)); pointer-events: none;
}
.ak-logbook-cols { gap: 56px; position: relative; }
.ak-logbook h2 { color: #fff; font-size: clamp(36px, 4vw, 52px); }
.ak-check-light li { color: #D3E2F2; }
.ak-check-light li strong { color: #fff; }
.ak-logbook .wp-block-buttons { margin-top: 28px; gap: 12px; }
.ak-logbook-visual { position: relative; min-height: 360px; }
.ak-logbook-book { margin: 0; }
.ak-logbook-book img {
	display: block; width: 92%; max-width: 520px; height: auto; margin: 0 auto;
	transform: rotate(-6deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,.45));
}
.ak-logbook-sheet {
	position: absolute; right: 0; bottom: -10px; width: min(330px, 80%);
	background: #fff; color: var(--ak-text); border-radius: 12px; overflow: hidden;
	box-shadow: 0 24px 50px rgba(0,0,0,.35); font-size: 13px; transform: rotate(2deg);
}
.ak-logbook-sheet > div { display: grid; grid-template-columns: 52px 1fr 78px 44px; gap: 6px; padding: 8px 12px; border-bottom: 1px solid #EDF1F6; }
.ak-logbook-sheet .ak-ls-head { background: #1D6F42; color: #fff; font-weight: 600; font-size: 12px; letter-spacing: .04em; }
.ak-logbook-sheet .ak-ls-total { grid-template-columns: 1fr 78px 44px; background: #F3F8F3; font-weight: 700; color: var(--ak-navy); border: 0; }
.ak-logbook-sheet span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.ak-steps-row {
	list-style: none; margin: 56px 0 0; padding: 0; counter-reset: none;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative;
}
.ak-steps-row li {
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
	padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 6px; color: #BFD3E8; font-size: 15px; line-height: 1.5;
}
.ak-steps-row li strong { color: #fff; font-family: var(--ak-font-head); font-size: 21px; text-transform: uppercase; letter-spacing: .02em; }
.ak-step-no {
	width: 34px; height: 34px; border-radius: 50%; background: var(--ak-orange); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 6px;
}
@media (max-width: 1024px) { .ak-steps-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 781px) {
	.ak-logbook-visual { min-height: 0; margin-top: 12px; }
	.ak-logbook-sheet { position: relative; right: auto; bottom: auto; margin: -40px auto 0; transform: none; }
	.ak-steps-row { grid-template-columns: 1fr; }
}

/* --- Kontakt: upravni odbor i podaci o klubu --- */
.ak-club-data { gap: 24px; }
.ak-data-card { padding: 28px 32px; }
.ak-data-card h3 { font-size: 28px; margin: 0 0 16px; color: var(--ak-navy); }
.ak-board { margin: 0; padding-left: 1.4em; }
.ak-board li { padding: 8px 0; border-bottom: 1px solid var(--ak-line); color: var(--ak-navy); font-weight: 600; }
.ak-board li:last-child { border-bottom: 0; }
.ak-board li span { font-weight: 400; color: var(--ak-muted); font-size: 14px; margin-left: 6px; }
.ak-data-table { margin: 0; }
.ak-data-table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ak-data-table th, .ak-data-table td { border: 0; border-bottom: 1px solid var(--ak-line); padding: 10px 0; vertical-align: top; text-align: left; }
.ak-data-table tr:last-child th, .ak-data-table tr:last-child td { border-bottom: 0; }
.ak-data-table th { width: 38%; color: var(--ak-muted); font-weight: 500; padding-right: 16px; }
.ak-data-table td { color: var(--ak-navy); font-weight: 600; font-variant-numeric: tabular-nums; }
.ak-data-table td .ak-muted { font-weight: 400; font-size: 14px; }
#kontakt .ak-intro:not(:first-child) { margin-top: 56px; }
/* Kontakt: broj telefona istaknut na karticama sa osobama */
#kontakt .ak-link-card:has(a[href^="tel:"]) .ak-muted {
	font-family: var(--ak-font-head); font-size: 24px; font-weight: 700; letter-spacing: .03em;
	color: var(--ak-sky); margin-top: 6px; font-variant-numeric: tabular-nums;
}
/* Logbook: tamna knjiga na tamnoj pozadini — svetli oreol iza nje */
.ak-logbook-visual::before {
	content: ''; position: absolute; inset: -6% 0 6% 0; z-index: 0;
	background: radial-gradient(closest-side, rgba(190,222,255,.75), rgba(143,195,245,.25) 55%, rgba(143,195,245,0) 100%);
}
.ak-logbook-book, .ak-logbook-sheet { position: relative; z-index: 1; }
.ak-logbook-sheet { position: absolute; }
.ak-logbook-book img { filter: drop-shadow(0 0 1px rgba(255,255,255,.7)) drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
@media (max-width: 781px) { .ak-logbook-sheet { position: relative; } }

/* ==========================================================
   v2.6 — logo zalepljen gore levo, obostrano poravnat tekst, YouTube video
   ========================================================== */

/* Logo: vrh kruga uz vrh zaglavlja, visi ispod trake; i pri skrolovanju ostaje veliki i zalepljen gore levo */
#masthead .site-branding a.brand img.custom-logo { transform: translateY(-8px); }
#masthead .item-is-stuck .site-branding a.brand img.custom-logo {
	width: 100px !important; max-width: 100px !important; margin-bottom: -50px; padding: 5px;
	transform: translateY(-7px); box-shadow: 0 10px 28px rgba(11,37,69,.22);
}
@media (max-width: 1024px) {
	#masthead .item-is-stuck .site-branding a.brand img.custom-logo { width: 76px !important; max-width: 76px !important; margin-bottom: -32px; padding: 4px; }
}
@media (max-width: 767px) {
	#masthead .site-branding a.brand img.custom-logo { transform: translateY(-4px); }
	#masthead .item-is-stuck .site-branding a.brand img.custom-logo { width: 64px !important; max-width: 64px !important; margin-bottom: -22px; padding: 3px; transform: translateY(-4px); }
}

/* Obostrano poravnat tekst (naslovi, natpisi, dugmad, brojke i centrirani delovi ostaju kako jesu) */
.entry-content p:not(.ak-eyebrow):not(.ak-stat):not(.ak-stat-label):not(.ak-doc-title):not(.ak-more):not(.ak-center):not(.has-text-align-center):not(.has-text-align-right):not(.ak-price-note):not(.ak-note),
.entry-content .ak-note,
.entry-summary p,
.single-post .entry-content li,
.ak-check li,
.wp-block-latest-posts__post-excerpt {
	text-align: justify; -webkit-hyphens: auto; hyphens: auto;
}
.ak-badge, .ak-badge span { text-align: left; }

/* YouTube: uvek u razmeri 16:9; dva ili više zaredom slažu se dva po dva */
.entry-content .ak-yt { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 10px 30px rgba(11,37,69,.15); }
.entry-content .ak-yt iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.entry-content .ak-yt-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 32px 0; }
.entry-content .ak-yt-grid.ak-yt-multi { grid-template-columns: repeat(2, 1fr); }
.entry-content .ak-yt-grid.ak-yt-multi > .ak-yt:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
.entry-content .ak-yt-grid.ak-yt-single { max-width: 900px; margin-left: auto; margin-right: auto; }
@media (max-width: 700px) {
	.entry-content .ak-yt-grid.ak-yt-multi { grid-template-columns: 1fr; }
	.entry-content .ak-yt-grid.ak-yt-multi > .ak-yt:last-child:nth-child(odd) { width: 100%; }
}

/* v2.8 — kratak uvod u zaglavljima ostaje poravnat levo (obostrano pravi velike razmake u uskom tekstu) */
.ak-hero .ak-lead, .ak-hero-sub .ak-lead, .entry-hero .ak-lead { text-align: left !important; -webkit-hyphens: manual !important; hyphens: manual !important; }

/* v2.8.2 — zaglavlja: natpis i naslov bliže; natpis na početnoj kao „značka“ */
.ak-hero .ak-hero-title,
.entry-content .ak-hero h1.ak-hero-title { margin: 18px 0 22px !important; }
.ak-hero .ak-eyebrow { margin: 0 !important; }
.ak-hero-video .ak-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 8px 16px 8px 12px; border-radius: 999px;
	background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	color: #fff !important; font-size: 13px; letter-spacing: .14em;
}
.ak-hero-video .ak-eyebrow::before {
	content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ak-orange);
	box-shadow: 0 0 0 4px rgba(242,140,40,.25); flex: none;
}
.ak-hero-video .ak-hero-title { margin-top: 22px !important; }
@media (max-width: 600px) {
	.ak-hero-video .ak-eyebrow { font-size: 11px; letter-spacing: .1em; padding: 7px 12px 7px 10px; }
}

/* v2.9 — Politika privatnosti i podnožje */
.ak-legal { max-width: 820px; }
.ak-legal h2 { font-size: 28px; margin: 40px 0 12px; color: var(--ak-navy); }
.ak-legal h2:first-of-type { margin-top: 28px; }
.ak-legal ul { padding-left: 1.2em; }
.ak-legal li { margin-bottom: 8px; }
.footer-html-inner a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-html-inner a:hover { color: var(--ak-orange); }
