/*
Theme Name: Art Fasada
Theme URI: https://art-fasada.hr/
Author: Art-Visum
Description: Premium WordPress tema za Art Fasada s uređivim tekstovima, galerijom projekata, blogom i kalkulatorom fasade na naslovnoj stranici.
Version: 2.0.11
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: art-fasada
*/

:root {
  --af-gold: #d5a33a;
  --af-gold-light: #e8bc59;
  --af-bg: #11100d;
  --af-bg-deep: #0b0c0c;
  --af-panel: #171611;
  --af-border: rgba(120, 113, 108, .42);
  --af-muted: #a8a29e;
  --af-white: #fafaf9;
  --af-radius: 1.85rem;
  --af-max: 1280px;
  --af-serif: Georgia, "Times New Roman", serif;
  --af-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--af-bg);
  color: #e7e5e4;
  font-family: var(--af-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .af-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.af-container { width: min(calc(100% - 40px), var(--af-max)); margin: 0 auto; }
.af-serif { font-family: var(--af-serif); }
.af-gold { color: var(--af-gold); }
.af-section-label {
  margin: 0;
  color: var(--af-gold);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.af-heading {
  margin: 1.1rem 0 0;
  color: var(--af-white);
  font-family: var(--af-serif);
  font-size: clamp(2.45rem, 4vw, 3.65rem);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -.035em;
}
.af-heading em { color: var(--af-gold); font-style: italic; }

/* Header */
.af-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 1rem 1.25rem 0;
  pointer-events: none;
}
.af-navbar {
  pointer-events: auto;
  width: min(100%, var(--af-max));
  margin: 0 auto;
  min-height: 70px;
  border: 1px solid rgba(120, 113, 108, .45);
  border-radius: 999px;
  background: rgba(19,18,15,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 48px rgba(0,0,0,.26);
  padding: .65rem .9rem .65rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.af-header.is-scrolled .af-navbar {
  background: rgba(19,18,15,.94);
  border-color: rgba(213,163,58,.22);
  box-shadow: 0 22px 58px rgba(0,0,0,.44);
}
.af-brand { display: inline-flex; align-items: center; gap: .75rem; }
.af-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(252,211,77,.30);
  border-radius: 50%;
  background: rgba(252,211,77,.08);
  color: #fcd34d;
  display: grid;
  place-items: center;
}
.af-mark svg { width: 22px; height: 22px; }
.af-brand-name {
  margin: 0;
  font-family: var(--af-serif);
  color: var(--af-white);
  font-size: 1.48rem;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
}
.af-brand-by {
  margin: .3rem 0 0;
  color: #78716c;
  font-size: .57rem;
  letter-spacing: .26em;
  line-height: 1;
  text-transform: uppercase;
}
.af-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  color: #a8a29e;
  font-size: .9rem;
}
.af-nav a { transition: color .2s ease; }
.af-nav a:hover, .af-nav a:focus-visible, .af-nav .current-menu-item > a { color: #fcd34d; }
.af-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  border: 0;
  border-radius: 999px;
  padding: .88rem 1.5rem;
  background: var(--af-gold);
  color: #17130c;
  font-weight: 600;
  font-size: .92rem;
  transition: background .2s ease, transform .2s ease;
}
.af-btn:hover, .af-btn:focus-visible { background: var(--af-gold-light); transform: translateY(-1px); }
.af-btn svg { width: 17px; height: 17px; }
.af-btn-outline {
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(168,162,158,.75);
  color: #f5f5f4;
}
.af-btn-outline:hover { border-color: var(--af-gold); background: rgba(213,163,58,.10); color: #fff; }
.af-menu-toggle {
  display: none;
  border: 0;
  color: #e7e5e4;
  background: transparent;
  cursor: pointer;
}
.af-mobile-nav {
  display: none;
  pointer-events: auto;
  width: min(100%, var(--af-max));
  margin: .5rem auto 0;
  border: 1px solid var(--af-border);
  border-radius: 1.5rem;
  background: rgba(23,22,17,.97);
  padding: 1.25rem;
  backdrop-filter: blur(18px);
}
.af-mobile-nav.is-open { display: flex; flex-direction: column; }
.af-mobile-nav a {
  color: #d6d3d1;
  padding: .68rem 0;
  border-bottom: 1px solid rgba(120,113,108,.25);
}
.af-mobile-nav-menu { list-style: none; margin: 0; padding: 0; }
.af-mobile-nav-menu li { margin: 0; }
.af-mobile-nav a:last-child { border-bottom: 0; }

/* Hero */
.af-hero {
  position: relative;
  min-height: 770px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 8.8rem 0 6.5rem;
  background: var(--af-bg-deep);
}
.af-hero-picture { position: absolute; inset: 0; display: block; }
.af-hero-image {
  position: absolute;
  inset: -3%;
  z-index: 0;
  width: 106%;
  height: 106%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  will-change: transform;
  transition: transform .1s linear;
}
.af-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10,10,9,.97) 0%, rgba(10,10,9,.84) 34%, rgba(10,10,9,.33) 66%, rgba(10,10,9,.2) 100%);
}
.af-hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 175px;
  background: linear-gradient(0deg, #0d0d0b 0%, rgba(13,13,11,.55) 48%, transparent 100%);
}
.af-hero-glow {
  position: absolute;
  left: -10rem;
  top: 18rem;
  z-index: 2;
  height: 30rem;
  width: 30rem;
  border-radius: 50%;
  background: rgba(180,115,15,.11);
  filter: blur(108px);
}
.af-hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  opacity: 1;
  will-change: transform, opacity;
}
.af-kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 2rem;
  padding: .5rem .95rem;
  border-radius: 999px;
  border: 1px solid rgba(120,113,108,.55);
  background: rgba(0,0,0,.2);
  color: #d6d3d1;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.af-kicker svg { color: #fbbf24; width: 14px; height: 14px; }
.af-hero h1 {
  margin: 0;
  color: var(--af-white);
  font-family: var(--af-serif);
  font-size: clamp(3.8rem, 7.2vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -.058em;
  line-height: .99;
}
.af-hero h1 em { color: var(--af-gold); font-style: italic; }
.af-hero-copy {
  margin: 1.7rem 0 0;
  max-width: 520px;
  color: #d6d3d1;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.9;
}
.af-actions { display: flex; gap: 1rem; margin-top: 2.35rem; flex-wrap: wrap; }

/* Benefits */
.af-benefits {
  position: relative;
  border-top: 1px solid rgba(68,64,60,.7);
  border-bottom: 1px solid rgba(68,64,60,.7);
  background: #10100d;
  padding: 2.7rem 0;
}
.af-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.af-benefit {
  text-align: center;
  padding: 0 1.75rem;
  opacity: 0;
  transform: translateY(17px);
  transition: opacity .65s ease, transform .65s ease;
}
.af-benefit.in-view { opacity: 1; transform: none; }
.af-benefit + .af-benefit { border-left: 1px solid rgba(68,64,60,.65); }
.af-benefit svg { color: var(--af-gold); width: 30px; height: 30px; stroke-width: 1.45; }
.af-benefit h2 {
  margin: .95rem 0 .45rem;
  color: #f5f5f4;
  font-family: var(--af-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -.02em;
}
.af-benefit p { max-width: 230px; margin: 0 auto; color: #78716c; font-size: .88rem; line-height: 1.7; }

/* common section */
.af-section { padding: clamp(4.8rem, 8vw, 6.4rem) 0; }
.af-section-dark { background: #14130f; }
.af-section-deep { background: var(--af-bg); }
.af-section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.af-text-link { display: inline-flex; align-items: center; gap: .4rem; color: #d6d3d1; font-size: .9rem; }
.af-text-link:hover { color: var(--af-gold); }
.af-text-link svg { width: 16px; height: 16px; }

/* Projects */
.af-projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.af-project-card {
  overflow: hidden;
  border-radius: var(--af-radius);
  border: 1px solid rgba(68,64,60,.72);
  background: var(--af-panel);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .68s ease, transform .68s ease, border-color .3s ease;
}
.af-project-card.in-view { opacity: 1; transform: none; }
.af-project-card:hover { border-color: rgba(213,163,58,.42); }
.af-project-image { height: 320px; overflow: hidden; background: #1c1917; }
.af-project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.af-project-card:hover img { transform: scale(1.055); }
.af-project-body { display: flex; justify-content: space-between; gap: .8rem; align-items: end; padding: 1.55rem; }
.af-project-tag { margin: 0; color: var(--af-gold); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; }
.af-project-title {
  margin: .65rem 0 .38rem;
  color: #f5f5f4;
  font-family: var(--af-serif);
  font-size: 1.65rem;
  line-height: 1.2;
  font-weight: 500;
}
.af-project-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .42rem; color: #78716c; font-size: .84rem; }
.af-project-meta svg { width: 13px; height: 13px; flex: 0 0 auto; }
.af-project-meta-separator { color: rgba(213,163,58,.62); font-size: 1rem; line-height: 1; }
.af-circle-arrow {
  flex: none;
  height: 42px;
  width: 42px;
  border: 1px solid rgba(120,113,108,.7);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #d6d3d1;
  transition: color .22s ease, border-color .22s ease;
}
.af-project-card:hover .af-circle-arrow { border-color: var(--af-gold); color: var(--af-gold); }
.af-circle-arrow svg { width: 16px; height: 16px; }

/* Calculator */
.af-calculator-grid { display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.af-copy { color: #a8a29e; max-width: 520px; line-height: 1.85; margin: 1.45rem 0 0; }
.af-checks { display: grid; gap: 1.15rem; margin-top: 2.2rem; color: #d6d3d1; font-size: .9rem; }
.af-checks p { margin: 0; display: flex; align-items: flex-start; gap: .7rem; }
.af-checks svg { color: var(--af-gold); flex: none; width: 19px; height: 19px; margin-top: .14rem; }
.af-calculator {
  border: 1px solid rgba(68,64,60,.72);
  border-radius: 2rem;
  background: #181712;
  padding: clamp(1.4rem, 4vw, 2.3rem);
  box-shadow: 0 22px 52px rgba(0,0,0,.3);
}
.af-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.af-field label, .af-field-label { display: block; margin: 0 0 .7rem; color: #a8a29e; font-size: .88rem; }
.af-control {
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(120,113,108,.65);
  border-radius: 1rem;
  background: var(--af-bg);
  padding: .92rem 1rem;
  color: #f5f5f4;
}
.af-control input, .af-control select, select.af-control {
  width: 100%;
  border: 0;
  outline: none;
  color: #f5f5f4;
  background: transparent;
}
select.af-control { appearance: auto; height: 57px; }
.af-control span { color: #78716c; }
.af-toggle-row {
  margin-top: 1.45rem;
  width: 100%;
  border: 1px solid rgba(120,113,108,.65);
  border-radius: 1rem;
  background: var(--af-bg);
  padding: .95rem 1rem;
  color: #d6d3d1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.af-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #44403c;
  transition: background .25s ease;
}
.af-switch span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  transition: transform .25s ease;
}
.af-toggle-row[aria-pressed="true"] .af-switch { background: var(--af-gold); }
.af-toggle-row[aria-pressed="true"] .af-switch span { transform: translateX(20px); }
.af-estimate {
  margin-top: 1.5rem;
  border-radius: 1.5rem;
  background: #221d13;
  padding: 1.5rem;
  transition: opacity .24s ease, transform .24s ease;
}
.af-estimate.is-updating { opacity: .58; transform: translateY(4px); }
.af-estimate-label {
  margin: 0;
  color: #78716c;
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.af-estimate-price {
  margin: .75rem 0 .85rem;
  color: #f5f5f4;
  font-family: var(--af-serif);
  font-size: clamp(2.2rem, 4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.15;
}
.af-estimate-price span { color: #78716c; }
.af-estimate-note { color: #a8a29e; margin: 0; font-size: .86rem; line-height: 1.7; }
.af-calculator .af-btn { margin-top: 1.35rem; width: 100%; }

/* Areas */
.af-areas {
  border-block: 1px solid rgba(68,64,60,.72);
  background: #151410;
  padding: clamp(3.8rem, 7vw, 5rem) 0;
}
.af-areas-flex { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; }
.af-cities { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: end; }
.af-city {
  border: 1px solid rgba(120,113,108,.65);
  border-radius: 999px;
  padding: .68rem 1.25rem;
  color: #d6d3d1;
  font-size: .88rem;
  transition: transform .22s ease, border-color .22s ease;
}
.af-city:hover { transform: translateY(-3px); border-color: var(--af-gold); }

/* blog */
.af-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.af-post-card {
  border: 1px solid rgba(68,64,60,.72);
  border-radius: 1.65rem;
  background: var(--af-panel);
  overflow: hidden;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease, border-color .25s ease;
}
.af-post-card.in-view { opacity: 1; transform: none; }
.af-post-card:hover { border-color: rgba(213,163,58,.42); }
.af-post-card-image { width: 100%; height: 210px; object-fit: cover; }
.af-post-card-body { padding: 1.65rem; }
.af-post-category { margin: 0; color: var(--af-gold); font-size: .68rem; letter-spacing: .21em; text-transform: uppercase; }
.af-post-title {
  margin: .7rem 0 .8rem;
  color: #f5f5f4;
  font-family: var(--af-serif);
  font-size: 1.58rem;
  font-weight: 500;
  line-height: 1.26;
}
.af-post-excerpt { margin: 0 0 1.25rem; color: #a8a29e; font-size: .88rem; line-height: 1.75; }

/* Contact */
.af-contact { background: var(--af-bg); padding: 0 0 clamp(5rem, 8vw, 6.5rem); }
.af-contact-box {
  border: 1px solid rgba(68,64,60,.72);
  border-radius: 2rem;
  background: linear-gradient(135deg, #211b12, #161510 52%, #13120f);
  padding: clamp(2rem, 5vw, 3.7rem);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .72s ease, transform .72s ease;
}
.af-contact-box.in-view { opacity: 1; transform: none; }
.af-contact-actions { display: flex; flex-direction: column; gap: .8rem; }

/* inner */
.af-inner-hero {
  padding: 10.5rem 0 4.2rem;
  background: #12110e;
  border-bottom: 1px solid rgba(68,64,60,.6);
}
.af-inner-content { padding: 4.5rem 0 6rem; background: var(--af-bg); }
.af-entry {
  max-width: 780px;
  color: #d6d3d1;
  line-height: 1.9;
}
.af-entry h1, .af-entry h2, .af-entry h3 {
  font-family: var(--af-serif);
  color: #fafaf9;
  font-weight: 500;
}
.af-single-image { margin: 2.5rem 0; border-radius: 1.5rem; overflow: hidden; }
.af-single-meta { display: flex; gap: 1rem; flex-wrap: wrap; color: #a8a29e; margin-top: 1rem; }

/* footer */
.af-footer {
  border-top: 1px solid rgba(68,64,60,.7);
  background: #0c0d0c;
  padding: 3rem 0 2.3rem;
  color: #78716c;
  font-size: .9rem;
}
.af-footer-flex { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.af-footer-brand { color: #d6d3d1; font-family: var(--af-serif); font-size: 1.25rem; }
.af-footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.af-footer-links a:hover { color: #d6d3d1; }
.af-footer-grid { display: grid; grid-template-columns: minmax(210px, 1.25fr) 2fr; gap: clamp(2.25rem, 5vw, 5.5rem); align-items: start; }
.af-footer-company p { margin: 0; }
.af-footer-menus { display: grid; grid-template-columns: repeat(3, minmax(125px, 1fr)); gap: clamp(1.25rem, 3vw, 3.25rem); }
.af-footer-nav-title { margin: 0 0 1rem; color: var(--af-gold); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.af-footer-menu { list-style: none; margin: 0; padding: 0; }
.af-footer-menu li + li { margin-top: .7rem; }
.af-footer-menu a { color: #a8a29e; transition: color .2s ease; }
.af-footer-menu a:hover, .af-footer-menu .current-menu-item > a { color: #fafaf9; }
.af-footer-legacy { display: flex; justify-content: flex-end; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.af-footer-legacy a:hover { color: #d6d3d1; }

/* reveal */
.af-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.af-reveal.in-view { opacity: 1; transform: none; }

/* WordPress helpers */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.alignwide { width: min(100%, 1100px); }
.wp-block-image img { border-radius: 1rem; }

@media (max-width: 1024px) {
  .af-nav { display: none; }
  .af-menu-toggle { display: block; }
  .af-benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 0; }
  .af-benefit:nth-child(3) { border-left: 0; }
  .af-calculator-grid { grid-template-columns: 1fr; }
  .af-areas-flex { display: block; }
  .af-cities { justify-content: start; margin-top: 2rem; }
}
@media (max-width: 782px) {
  body.admin-bar .af-header { top: 46px; }
}
@media (max-width: 760px) {
  .af-container { width: min(calc(100% - 32px), var(--af-max)); }
  .af-header { padding: .75rem .75rem 0; }
  .af-navbar { padding: .55rem .65rem .55rem .8rem; min-height: 62px; }
  .af-brand-name { font-size: 1.3rem; }
  .af-header .af-btn { display: none; }
  .af-hero { min-height: 700px; padding-top: 7.8rem; }
  .af-hero::before {
    background: linear-gradient(0deg, rgba(10,10,9,.95) 0%, rgba(10,10,9,.74) 68%, rgba(10,10,9,.53) 100%);
  }
  .af-hero h1 { font-size: clamp(3.15rem, 18vw, 4.2rem); }
  .af-benefits-grid, .af-projects-grid, .af-post-grid, .af-form-grid { grid-template-columns: 1fr; }
  .af-benefit + .af-benefit { border-left: 0; }
  .af-section-head, .af-footer-flex { display: block; }
  .af-footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .af-footer-menus { grid-template-columns: 1fr; gap: 2rem; }
  .af-text-link { margin-top: 1.2rem; }
  .af-contact-box { grid-template-columns: 1fr; }
  .af-contact-actions { flex-direction: row; flex-wrap: wrap; }
  .af-project-image { height: 275px; }
  .af-footer-links, .af-footer-legacy { margin-top: 1rem; justify-content: flex-start; }
}

.af-nav, .af-nav ul { list-style:none; margin:0; padding:0; }
.af-nav li { display:inline-flex; }
.af-single-meta svg { width:15px; height:15px; vertical-align:-2px; }

.af-custom-logo { display:grid; place-items:center; width:42px; height:42px; overflow:hidden; border-radius:50%; }
.af-custom-logo img { width:42px; height:42px; object-fit:contain; }
.custom-logo-link { display:block; }


/* =========================================================
   USLUGE + KAKO DO PONUDE — v1.2
   ========================================================= */
.af-services {
  background: #100f0c;
  border-top: 1px solid rgba(214, 166, 58, .09);
}

.af-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: clamp(2.2rem, 5vw, 3.6rem);
}

.af-service-card {
  position: relative;
  min-height: 240px;
  padding: clamp(1.35rem, 2vw, 1.7rem);
  border: 1px solid rgba(214, 166, 58, .18);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(30, 28, 22, .72), rgba(18, 17, 13, .92));
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}

.af-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 166, 58, .4);
  background: linear-gradient(155deg, rgba(35, 31, 22, .82), rgba(18, 17, 13, .96));
}

.af-service-number {
  color: var(--af-gold);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.af-service-card h3 {
  margin: 2.6rem 0 .8rem;
  color: var(--af-cream);
  font-family: var(--af-serif);
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
  font-weight: 500;
}

.af-service-card p {
  margin: 0;
  color: #958d82;
  font-size: .92rem;
  line-height: 1.75;
}

.af-process {
  background: #14130f;
  border-top: 1px solid rgba(214, 166, 58, .09);
}

.af-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.2rem, 5vw, 3.7rem);
  counter-reset: af-step;
}

.af-process-step {
  position: relative;
  padding: clamp(1.55rem, 3vw, 2.1rem);
  border-radius: 22px;
  border: 1px solid rgba(214, 166, 58, .16);
  background: rgba(17, 16, 13, .55);
}

.af-process-step::before {
  counter-increment: af-step;
  content: "0" counter(af-step);
  display: block;
  margin-bottom: 1.5rem;
  color: var(--af-gold);
  font-size: .76rem;
  letter-spacing: .26em;
  font-weight: 600;
}

.af-process-step h3 {
  margin: 0 0 .75rem;
  color: var(--af-cream);
  font-family: var(--af-serif);
  font-size: clamp(1.4rem, 2vw, 1.72rem);
  font-weight: 500;
}

.af-process-step p {
  margin: 0;
  color: #958d82;
  font-size: .94rem;
  line-height: 1.75;
}

.af-process-action {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  justify-content: center;
}

@media (max-width: 1024px) {
  .af-services-grid { grid-template-columns: repeat(2, 1fr); }
  .af-process-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .af-services-grid { grid-template-columns: 1fr; }
  .af-service-card { min-height: 0; }
  .af-service-card h3 { margin-top: 1.8rem; }
}


/* ==========================================
   Rank Math breadcrumbs - inner pages
   ========================================== */
.af-breadcrumbs {
  margin: 0 0 2rem;
  color: var(--af-muted);
  font-family: var(--af-sans);
  font-size: .88rem;
  line-height: 1.6;
}
.af-breadcrumbs .rank-math-breadcrumb,
.af-breadcrumbs .rank-math-breadcrumb p {
  margin: 0;
  padding: 0;
  color: var(--af-muted);
}
.af-breadcrumbs .rank-math-breadcrumb a {
  color: #d6d3d1;
  transition: color .2s ease;
}
.af-breadcrumbs .rank-math-breadcrumb a:hover,
.af-breadcrumbs .rank-math-breadcrumb a:focus {
  color: var(--af-gold);
}
.af-breadcrumbs .separator {
  margin: 0 .55rem;
  color: rgba(168, 162, 158, .62);
}
.af-price-hub-content > .af-breadcrumbs {
  margin-bottom: 2rem;
}
@media (max-width: 640px) {
  .af-breadcrumbs {
    margin-bottom: 1.45rem;
    font-size: .8rem;
  }
}


/* =========================================================
   PROJEKTI — ATRIBUTI I GALERIJA v1.8
   ========================================================= */
.af-project-single .af-container { width: min(calc(100% - 40px), var(--af-max)); }
.af-project-single .af-single-image {
  width: min(100%, 800px);
  aspect-ratio: 8 / 5;
  margin: 0 auto clamp(2rem, 4vw, 3.2rem);
  overflow: hidden;
  border-radius: 1.45rem;
  background: var(--af-panel);
}
.af-project-single .af-single-image img,
.af-project-single .af-project-featured-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.af-project-attributes {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  margin: 0 0 clamp(3.25rem, 6vw, 4.8rem); padding: 0;
  border: 1px solid rgba(120, 113, 108, .34); border-radius: 1.45rem; overflow: hidden;
  background: rgba(23, 22, 17, .68);
}
.af-project-attribute { margin: 0; padding: clamp(1.25rem, 2.5vw, 1.7rem); border-right: 1px solid rgba(120, 113, 108, .25); }
.af-project-attribute:nth-child(4) { border-right: 0; }
.af-project-attribute-wide { grid-column: 1 / -1; border-top: 1px solid rgba(120, 113, 108, .25); border-right: 0; }
.af-project-attribute dt { margin: 0 0 .48rem; color: var(--af-gold); font-size: .67rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; }
.af-project-attribute dd { margin: 0; color: var(--af-white); font-size: 1rem; line-height: 1.6; }
.af-project-description {
  margin: 0 0 clamp(2.8rem, 5vw, 4rem);
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(120, 113, 108, .28);
  border-radius: 1.35rem;
  background: rgba(23, 22, 17, .45);
}
.af-project-description .af-section-label {
  margin: 0 0 .9rem;
}
.af-project-description-text {
  max-width: 860px;
  color: var(--af-muted);
  font-size: 1rem;
  line-height: 1.75;
}
.af-project-description-text p {
  margin: 0 0 1rem;
}
.af-project-description-text p:last-child { margin-bottom: 0; }
.af-project-description-text h2,
.af-project-description-text h3,
.af-project-description-text h4 {
  margin: 1.4rem 0 .7rem;
  color: var(--af-white);
  font-family: var(--af-serif);
  line-height: 1.25;
}
.af-project-description-text h2:first-child,
.af-project-description-text h3:first-child,
.af-project-description-text h4:first-child { margin-top: 0; }
.af-project-description-text a { color: var(--af-gold-light); text-decoration: underline; }
.af-project-description-text p + p {
  margin-top: .85rem;
}
.af-project-gallery { margin-top: clamp(2.2rem, 5vw, 4rem); }
.af-project-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 2vw, 1.2rem); margin-top: clamp(1.4rem, 3vw, 2rem); }
.af-project-gallery-grid figure { margin: 0; overflow: hidden; border-radius: 1.15rem; background: var(--af-panel); aspect-ratio: 4 / 3; }
.af-project-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.af-project-gallery-grid figure:hover img { transform: scale(1.035); }
.af-project-cta { margin: clamp(2.4rem, 5vw, 4rem) 0 0; }
@media (max-width: 900px) {
  .af-project-attributes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-project-attribute:nth-child(2) { border-right: 0; }
  .af-project-attribute:nth-child(3), .af-project-attribute:nth-child(4) { border-top: 1px solid rgba(120, 113, 108, .25); }
  .af-project-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .af-project-attributes { grid-template-columns: 1fr; }
  .af-project-attribute, .af-project-attribute:nth-child(2), .af-project-attribute:nth-child(3), .af-project-attribute:nth-child(4) {
    border-right: 0; border-top: 1px solid rgba(120, 113, 108, .25);
  }
  .af-project-attribute:first-child { border-top: 0; }
  .af-project-gallery-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   PROJEKTI — KK STAR RATINGS v1.9.3
   ========================================================= */
.af-project-rating {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: clamp(1.3rem, 3vw, 1.8rem);
  border: 1px solid rgba(120, 113, 108, .28);
  border-radius: 1.35rem;
  background: rgba(23, 22, 17, .45);
  text-align: center;
}
.af-project-rating .af-section-label {
  margin: 0 0 .9rem;
}
.af-project-rating-widget {
  display: flex;
  justify-content: center;
}
.af-project-rating-widget .kksr-stars,
.af-project-rating-widget .kk-star-ratings {
  margin-left: auto;
  margin-right: auto;
}


/* =========================================================
   BLOG — KK STAR RATINGS v1.9.5
   ========================================================= */
.af-blog-rating {
  margin: clamp(2.7rem, 5vw, 4rem) 0 0;
  padding: clamp(1.3rem, 3vw, 1.8rem);
  border: 1px solid rgba(120, 113, 108, .28);
  border-radius: 1.35rem;
  background: rgba(23, 22, 17, .45);
  text-align: center;
}
.af-blog-rating .af-section-label {
  margin: 0 0 .9rem;
}
.af-blog-rating .kk-star-ratings,
.af-blog-rating .kksr-stars {
  margin-left: auto;
  margin-right: auto;
}
.af-blog-rating .kk-star-ratings {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}


/* =========================================================
   RESPONSIVE SLIKE — v1.9.8
   Blog featured 800x500 + siguran mobilni prikaz slika
   ========================================================= */
.af-entry img,
.af-inner-content img,
.wp-block-image img,
.wp-block-gallery img,
.wp-block-media-text img,
figure img {
  max-width: 100%;
  height: auto;
}

.af-entry figure,
.af-entry .wp-block-image,
.af-entry .wp-block-gallery,
.af-entry .wp-block-media-text {
  max-width: 100%;
}

.af-blog-single > .af-single-image {
  width: min(100%, 800px);
  aspect-ratio: 8 / 5;
  margin: 2.5rem auto clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  border-radius: 1.35rem;
  background: var(--af-panel, #171611);
}

.af-blog-single > .af-single-image img,
.af-blog-single > .af-single-image .af-blog-featured-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.af-post-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 760 / 470;
  object-fit: cover;
}

.af-project-image {
  height: auto;
  aspect-ratio: 760 / 620;
}

.af-project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 840px) {
  .af-blog-single > .af-single-image {
    width: 100%;
    margin: 1.5rem auto 2.25rem;
    border-radius: 1rem;
  }

  .af-project-single .af-single-image {
    width: 100%;
    border-radius: 1rem;
  }

  .af-entry .wp-block-image,
  .af-entry .wp-block-gallery,
  .af-entry figure {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .af-blog-single > .af-single-image,
  .af-project-single .af-single-image {
    border-radius: .8rem;
  }
}


/* =========================================================
   v2.0 — FILTRI, KONTAKT FORMA I DODATNI MOBILE PRIKAZ
   ========================================================= */
.af-project-sort {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .85rem;
  margin: 0 0 clamp(1.65rem, 4vw, 2.35rem);
  color: var(--af-muted);
  font-size: .9rem;
}
.af-project-sort label {
  color: var(--af-gold);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.af-project-sort select {
  min-width: 215px;
  padding: .78rem 2.55rem .78rem 1rem;
  border: 1px solid rgba(213, 163, 58, .34);
  border-radius: 999px;
  background: var(--af-panel);
  color: var(--af-white);
}
.af-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 0 0 clamp(2rem, 4vw, 2.7rem);
}
.af-filter-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .62rem 1.1rem;
  border: 1px solid rgba(120, 113, 108, .43);
  border-radius: 999px;
  color: #d6d3d1;
  font-size: .9rem;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.af-filter-pill:hover,
.af-filter-pill:focus-visible,
.af-filter-pill.is-active {
  border-color: rgba(213, 163, 58, .62);
  background: rgba(213, 163, 58, .13);
  color: var(--af-gold-light);
}
.af-contact-cities {
  justify-content: flex-start;
  margin-top: 2rem;
}
.af-company-details {
  margin: 1.5rem 0 0;
  color: #a8a29e;
  font-style: normal;
  line-height: 1.8;
}
.af-company-details p { margin: .12rem 0; }
.af-company-details .af-company-legal {
  color: var(--af-white);
  font-weight: 600;
  margin-bottom: .55rem;
}
.af-company-details span { color: #d6d3d1; }
.af-company-details a {
  transition: color .2s ease;
}
.af-company-details a:hover,
.af-company-details a:focus-visible { color: var(--af-gold-light); }
.af-contact-form-card .af-form-heading {
  font-size: clamp(2rem, 3vw, 2.25rem);
}
.af-contact-editor-content {
  margin: 1.25rem 0 1.5rem;
}
.af-contact-form { margin-top: 1.6rem; }
.af-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem 1rem;
  margin-bottom: 1.2rem;
}
.af-control { margin: 0; }
.af-contact-form .af-control label {
  display: block;
  margin: 0 0 .45rem;
  color: #d6d3d1;
  font-size: .88rem;
}
.af-contact-form .af-control input,
.af-contact-form .af-control textarea {
  width: 100%;
  border: 1px solid rgba(120, 113, 108, .46);
  border-radius: .8rem;
  background: rgba(10, 10, 9, .42);
  color: var(--af-white);
  padding: .78rem .9rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.af-contact-form .af-control textarea { resize: vertical; min-height: 128px; }
.af-contact-form .af-control input:focus,
.af-contact-form .af-control textarea:focus {
  outline: 0;
  border-color: rgba(213, 163, 58, .75);
  box-shadow: 0 0 0 3px rgba(213, 163, 58, .12);
}
.af-form-full { grid-column: 1 / -1; }
.af-form-hidden {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.af-form-notice {
  margin: 1.35rem 0 0;
  padding: .85rem 1rem;
  border-radius: .8rem;
  font-size: .94rem;
}
.af-form-notice.is-success {
  border: 1px solid rgba(70, 168, 108, .45);
  background: rgba(70, 168, 108, .12);
}
.af-form-notice.is-error {
  border: 1px solid rgba(210, 79, 67, .48);
  background: rgba(210, 79, 67, .12);
}
.af-project-title,
.af-post-title,
.af-entry,
.af-copy { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .af-project-sort {
    align-items: stretch;
    flex-direction: column;
  }
  .af-project-sort select { width: 100%; }
  .af-category-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .25rem;
    -webkit-overflow-scrolling: touch;
  }
  .af-filter-pill { flex: 0 0 auto; }
  .af-form-grid { grid-template-columns: 1fr; }
  .af-contact-form .af-btn { width: 100%; }
}


/* =========================================================
   v2.0.5 — UREĐIVI ARHIVI, PODACI U FOOTERU I KONTAKT MAPA
   ========================================================= */
.af-archive-content {
  max-width: 840px;
  color: #d6d3d1;
  line-height: 1.85;
}
.af-archive-content-before { margin: 0 0 clamp(2rem, 4vw, 2.75rem); }
.af-archive-content-after { margin: clamp(2.75rem, 5vw, 4rem) 0 0; }
.af-archive-content h2,
.af-archive-content h3 { margin-top: 1.6rem; }
.af-archive-content a { color: var(--af-gold-light); text-decoration: underline; text-underline-offset: .2em; }
.af-footer-company-meta { margin-top: 1.05rem; line-height: 1.8; }
.af-footer-company-meta p { margin: 0; }
.af-footer-company-meta .af-footer-legal { color: #d6d3d1; font-weight: 600; }
.af-footer-company-meta a { color: #a8a29e; transition: color .2s ease; }
.af-footer-company-meta a:hover,
.af-footer-company-meta a:focus-visible { color: var(--af-gold-light); }
.af-contact-map { width: min(100%, 400px); margin-top: clamp(2rem, 4vw, 2.5rem); }
.af-contact-map iframe {
  display: block;
  width: 100%;
  max-width: 400px;
  height: 400px;
  border: 0;
  border-radius: 1rem;
  background: var(--af-panel);
}
.af-contact-map-link { margin: .85rem 0 0; }
@media (max-width: 480px) {
  .af-contact-map iframe { height: min(calc(100vw - 32px), 400px); }
}


/* Ponuda — forma s prilozima */
.af-offer-page-inner { max-width: 920px; }
.af-offer-editor-content:empty { display: none; }
.af-offer-form-card { margin: clamp(2rem, 5vw, 3rem) 0; }
.af-contact-form .af-control { display: block; }
.af-contact-form .af-control label { display: block; margin: 0 0 .55rem; color: #d6d3d1; font-size: .9rem; }
.af-contact-form .af-control input,
.af-contact-form .af-control textarea { display: block; width: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--af-white); }
.af-contact-form .af-control textarea { resize: vertical; min-height: 155px; }
.af-form-full { grid-column: 1 / -1; }
.af-offer-types { border: 1px solid rgba(120,113,108,.65); border-radius: 1rem; margin: 0; padding: 1.05rem; }
.af-offer-types legend { padding: 0 .4rem; color: #d6d3d1; font-size: .9rem; }
.af-checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.1rem; }
.af-checkbox-grid label, .af-privacy-check { display: flex; gap: .65rem; align-items: flex-start; color: #d6d3d1; font-size: .92rem; line-height: 1.55; }
.af-checkbox-grid input, .af-privacy-check input { accent-color: var(--af-gold); margin-top: .28rem; }
.af-textarea-control small, .af-file-control small { display: block; margin-top: .65rem; color: var(--af-muted); font-size: .8rem; }
.af-file-control input[type="file"] { color: var(--af-muted); }
.af-privacy-check { margin: .3rem 0 .15rem; }
.af-privacy-check a { color: var(--af-gold); text-decoration: underline; }
.af-form-hidden { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.af-form-notice { margin: 0 0 1.35rem; padding: 1rem 1.15rem; border-radius: .9rem; }
.af-form-notice.is-success { border: 1px solid rgba(34,197,94,.35); background: rgba(34,197,94,.09); }
.af-form-notice.is-error { border: 1px solid rgba(239,68,68,.4); background: rgba(239,68,68,.09); }

/* Projekti — filter lokacija u desnom sidebaru / ispod sadržaja na mobitelu */
.af-projects-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(1.6rem, 4vw, 2.5rem); align-items: start; }
.af-projects-main .af-projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.af-project-sidebar { position: sticky; top: 118px; padding: 1.35rem; border: 1px solid rgba(120,113,108,.42); border-radius: 1.2rem; background: var(--af-panel); }
.af-project-sidebar h2 { margin: 0 0 1rem; color: var(--af-gold); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; }
.af-location-links { display: grid; gap: .45rem; }
.af-location-links a { padding: .66rem .8rem; border-radius: .65rem; color: #d6d3d1; transition: background .2s ease, color .2s ease; }
.af-location-links a:hover, .af-location-links a.is-active { background: rgba(213,163,58,.13); color: var(--af-gold); }
.af-location-tree { list-style: none; padding: 0; margin: .2rem 0 0; display: grid; gap: .35rem; }
.af-location-tree .af-location-tree { margin: .15rem 0 .1rem .85rem; padding-left: .6rem; border-left: 1px solid rgba(213,163,58,.24); }
.af-location-tree li { display: grid; gap: .2rem; }
.af-location-tree a { display: block; }
@media (max-width: 940px) {
  .af-projects-layout { grid-template-columns: 1fr; }
  .af-project-sidebar { position: static; margin-top: 1.5rem; order: 2; }
}
@media (max-width: 700px) {
  .af-checkbox-grid, .af-projects-main .af-projects-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   v2.0.11 — LEAD KONVERZIJE I LIGHTHOUSE/LCP
   ========================================================= */
.af-testimonials { background: var(--af-bg); }
.af-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.af-testimonial {
  position: relative;
  margin: 0;
  padding: clamp(1.4rem, 3vw, 1.8rem);
  border: 1px solid rgba(213,163,58,.24);
  border-radius: 1.2rem;
  background: linear-gradient(145deg, rgba(28,26,21,.88), rgba(17,16,13,.96));
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease, border-color .25s ease;
}
.af-testimonial.in-view { opacity: 1; transform: none; }
.af-testimonial:hover { border-color: rgba(213,163,58,.5); }
.af-testimonial-quote {
  display: block;
  color: var(--af-gold);
  font-family: var(--af-serif);
  font-size: 3.4rem;
  line-height: .72;
  margin-bottom: .7rem;
}
.af-testimonial p { margin: 0 0 1.2rem; color: var(--af-white); font-size: 1.02rem; line-height: 1.72; }
.af-testimonial footer { color: var(--af-muted); font-size: .92rem; }
.af-testimonial footer strong { color: var(--af-gold-light); font-weight: 600; }

.af-project-lead-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.4rem, 4vw, 3rem);
  margin: clamp(2.4rem, 5vw, 4rem) 0 0;
  padding: clamp(1.45rem, 4vw, 2.25rem);
  border: 1px solid rgba(213,163,58,.34);
  border-radius: 1.35rem;
  background: linear-gradient(130deg, rgba(213,163,58,.1), rgba(17,16,13,.94) 46%);
}
.af-project-lead-cta h2 { margin: .7rem 0 .55rem; color: var(--af-white); font-family: var(--af-serif); font-weight: 500; font-size: clamp(1.65rem, 3vw, 2.18rem); line-height: 1.18; }
.af-project-lead-cta p:not(.af-section-label) { max-width: 590px; margin: 0; color: #c9c5c1; }
.af-project-lead-actions { display: flex; flex-shrink: 0; gap: .75rem; }
.af-project-lead-actions .af-btn { white-space: nowrap; }

.af-mobile-sticky-cta { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .af-testimonials-grid { grid-template-columns: 1fr; }
  .af-project-lead-cta { align-items: stretch; flex-direction: column; }
  .af-project-lead-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .af-project-lead-actions .af-btn { justify-content: center; padding-inline: .8rem; }
  .af-mobile-sticky-cta {
    position: fixed;
    inset: auto .75rem .75rem;
    z-index: 1500;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: .55rem;
    padding: .52rem;
    border: 1px solid rgba(213,163,58,.38);
    border-radius: 1rem;
    background: rgba(17,16,13,.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 36px rgba(0,0,0,.52);
  }
  .af-mobile-sticky-cta a {
    min-height: 49px;
    border-radius: .7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    font-size: .91rem;
    font-weight: 650;
  }
  .af-mobile-call { background: var(--af-gold); color: #16130d; }
  .af-mobile-call svg { width: 17px; height: 17px; }
  .af-mobile-offer { border: 1px solid rgba(213,163,58,.68); color: var(--af-white); }
}
@media (max-width: 430px) {
  .af-project-lead-actions { grid-template-columns: 1fr; }
}

/* =========================================================
   RANK MATH FAQ — ART FASADA BOX STIL S IKONOM UPITNIKA
   Ugrađeno u matičnu temu u reviziji v2.0.11
   ========================================================= */

#rank-math-faq,
.rank-math-block {
  margin: clamp(2.2rem, 5vw, 3.6rem) 0;
}

#rank-math-faq .rank-math-list-item,
.rank-math-block .rank-math-list-item {
  position: relative;
  margin: 0 0 1rem;
  padding: clamp(1.3rem, 3vw, 1.7rem);
  padding-right: clamp(3.5rem, 7vw, 4.3rem);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 1rem;
  background: rgba(23, 22, 17, 0.72);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

#rank-math-faq .rank-math-list-item:hover,
.rank-math-block .rank-math-list-item:hover {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(28, 26, 20, 0.92);
}

#rank-math-faq .rank-math-list-item::after,
.rank-math-block .rank-math-list-item::after {
  content: "?";
  position: absolute;
  top: clamp(1.1rem, 3vw, 1.35rem);
  right: clamp(1rem, 3vw, 1.3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid rgba(226, 171, 46, 0.62);
  border-radius: 50%;
  color: var(--af-gold, #e2ab2e);
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}

#rank-math-faq .rank-math-question,
.rank-math-block .rank-math-question {
  margin: 0 0 0.75rem;
  color: #f6f2ea;
  font-family: var(--af-serif, Georgia, serif);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

#rank-math-faq .rank-math-answer,
.rank-math-block .rank-math-answer {
  margin: 0;
  color: rgba(235, 230, 220, 0.78);
  font-size: 1rem;
  line-height: 1.75;
}

#rank-math-faq .rank-math-answer p,
.rank-math-block .rank-math-answer p {
  margin: 0;
}

#rank-math-faq .rank-math-answer p + p,
.rank-math-block .rank-math-answer p + p {
  margin-top: 0.8rem;
}

@media (max-width: 600px) {
  #rank-math-faq .rank-math-list-item,
  .rank-math-block .rank-math-list-item {
    padding: 1.1rem 3.2rem 1.1rem 1rem;
    border-radius: 0.85rem;
  }

  #rank-math-faq .rank-math-list-item::after,
  .rank-math-block .rank-math-list-item::after {
    top: 1rem;
    right: 0.9rem;
    width: 1.55rem;
    height: 1.55rem;
    font-size: 0.85rem;
  }
}

