/* Strana drzave (template-parts/state-page.php), po <drzava>-hub-design.html (files4.zip), 2026-10-20.
   Ucitava se posle branch-page.css; sve je pod .sp-page, pa strane poslovnica i gradova ostaju iste. */

.sp-center{text-align:center;align-items:center;}

/* hero: lista prednosti i forma sa crnom trakom "Fully Licensed" iznad kartice */
.sp-checks{list-style:none;display:flex;flex-wrap:wrap;gap:8px 24px;font-weight:700;font-size:15px;color:#fff;}
.sp-page .sp-checks li::before{content:"✓";display:inline;color:var(--bp-yellow);font-weight:900;margin-right:8px;}
.sp-formwrap{flex:1 1 360px;min-width:0;max-width:420px;}
.sp-badge-lic{background:#000;color:#fff;border-radius:14px 14px 0 0;text-align:center;padding:8px 14px;width:82%;margin:0 auto;font-weight:700;line-height:1.25;font-size:14px;}
.sp-badge-lic small{display:block;font-weight:400;font-size:11px;}
.sp-formwrap .bp-quote{max-width:none;}

/* kartice kancelarija */
.sp-locgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,360px));justify-content:center;gap:26px;}
.sp-loccard{background:#fff;border-radius:24px;box-shadow:0 10px 30px rgba(0,0,0,.10);overflow:hidden;display:flex;flex-direction:column;}
.sp-loccard-photo{display:block;}
.sp-loccard-photo img{width:100%;height:190px;object-fit:cover;}
.sp-loccard-info{padding:22px 24px 24px;display:flex;flex-direction:column;gap:12px;}
.sp-page .sp-loccard-name{font-size:21px;font-weight:800;color:var(--bp-ink);text-decoration:none;display:flex;align-items:center;gap:8px;}
.sp-loccard-name::after{content:"→";color:var(--bp-yellow);transition:transform .15s;}
.sp-loccard-name:hover::after{transform:translateX(3px);}
.sp-page .sp-line{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.45;color:var(--bp-text);text-decoration:none;}
.sp-line svg{flex:none;margin-top:2px;}
.sp-page a.sp-line:hover{color:var(--bp-ink);}
.sp-page .sp-tel{font-weight:800;font-size:17px;color:var(--bp-ink);}
.sp-hours{color:var(--bp-muted);font-size:14px;}
.sp-acts{display:flex;gap:10px;margin-top:6px;flex-wrap:wrap;}
.sp-page .sp-acts a{flex:1 1 120px;display:inline-flex;align-items:center;justify-content:center;text-align:center;padding:0 14px;border-radius:999px;font-weight:800;font-size:16px;text-decoration:none;min-height:48px;} /* 29.10: glavna velicina dugmeta */
.sp-page .sp-act-g{border:2px solid var(--bp-ink);color:var(--bp-ink);}
.sp-page .sp-act-g:hover{background:var(--bp-ink);color:#fff;}
.sp-page .sp-act-d{background:var(--bp-yellow);color:var(--bp-ink);border:2px solid var(--bp-yellow);}

/* uvod */
.sp-page section.sp-intro{padding-bottom:30px;}
.sp-intro-stack{max-width:820px;}
.sp-page .bp-intro a{text-decoration:underline;text-decoration-color:var(--bp-yellow);text-decoration-thickness:2px;text-underline-offset:3px;font-weight:700;}

/* recenzije: vertikalni naslov "Our Clients Say" + tri kartice */
.sp-reviews .bp-row{align-items:center;gap:30px;flex-wrap:nowrap;}
.sp-vtitle{writing-mode:vertical-rl;transform:rotate(180deg);font-size:34px;font-weight:800;color:var(--bp-text);line-height:1;flex:none;}
.sp-reviews-main{flex:1 1 auto;min-width:0;}
.sp-page .sp-reviews h2{font-size:28px;}
.sp-review-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;}
.sp-page .sp-review-grid .bp-review{border-radius:22px;box-shadow:0 10px 24px rgba(0,0,0,.08);padding:26px;}
.sp-page .bp-by a{color:var(--bp-muted);text-decoration:underline;text-underline-offset:3px;}

/* "What to know" (iz post_content) */
.sp-page section.sp-know{padding:70px 0;}
.sp-kgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-top:26px;}
.sp-kbox{background:var(--bp-cream);border-radius:16px;padding:22px;}
.sp-kbox h3{margin-bottom:8px;}
.sp-kbox p{font-size:15px;}
.sp-know-note{font-size:14px;margin-top:16px;}
.sp-page .sp-know-note a{text-decoration:underline;text-decoration-color:var(--bp-yellow);text-decoration-thickness:2px;text-underline-offset:3px;}

/* servisi */
.sp-page section.bp-services{padding:40px 0 70px;}

/* gradovi po kancelariji */
.sp-page section.sp-area{background:var(--bp-cream);}
.sp-area-text{max-width:700px;}
.sp-legend{display:flex;flex-wrap:wrap;gap:12px;}
.sp-page .sp-legend a{display:inline-flex;align-items:center;gap:10px;background:#fff;border-radius:999px;padding:8px 16px 8px 10px;text-decoration:none;font-weight:800;box-shadow:0 4px 12px rgba(0,0,0,.06);min-height:44px;color:var(--bp-ink);}
.sp-legend small{font-weight:400;color:var(--bp-muted);font-size:14px;}
.sp-dot{width:12px;height:12px;border-radius:50%;flex:none;display:inline-block;}
.sp-d0{background:var(--bp-yellow);}
.sp-d1{background:#0A578B;}
.sp-cloud{list-style:none;display:flex;flex-wrap:wrap;gap:10px;}
.sp-page .sp-cloud a,.sp-page .sp-chip{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--bp-line);border-radius:999px;padding:9px 16px;text-decoration:none;font-weight:700;font-size:15px;min-height:44px;color:var(--bp-ink);}
.sp-page .sp-cloud a:hover{border-color:var(--bp-text);}

/* tekst + crna bocna CTA kartica (iz post_content) */
.sp-page section.sp-content{padding:70px 0;}
.sp-content > .bp-wrap{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start;}
.sp-cmain{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:34px;}
.sp-page .sp-cmain p a{color:#8A6A00;text-decoration:underline;text-decoration-color:var(--bp-yellow);text-decoration-thickness:2px;text-underline-offset:3px;font-weight:700;}
.sp-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;}
.sp-fact{background:var(--bp-cream);border-radius:14px;padding:16px;}
.sp-fact .k{font-size:13px;color:var(--bp-muted);}
.sp-fact .v{font-size:22px;font-weight:900;color:var(--bp-ink);}
.sp-page .bp-side{max-width:330px;top:20px;}

/* mapa (postojeca komponenta #gmap sa pinovima kancelarija) */
.sp-page section.sp-map{padding:0 0 70px;}
.sp-page .sp-map .gmaps{height:340px;border-radius:40px;border:0;box-shadow:0 10px 30px rgba(0,0,0,.12);background:#E9E5DA;background-image:linear-gradient(90deg,rgba(0,0,0,.04) 1px,transparent 1px),linear-gradient(rgba(0,0,0,.04) 1px,transparent 1px);background-size:40px 40px;overflow:hidden;}

/* FAQ, zavrsni CTA, blog */
.sp-page section.bp-faq{background:#fff;}
.sp-page section.bp-faq details{border:1px solid var(--bp-line);}
.sp-final-main{max-width:860px;}
.sp-page .bp-blog .bp-post img{border-radius:16px;height:190px;}

/* inner.css na mobilnom forsira "section h2/h3"; ovde vazi velicina iz dizajna */
@media (max-width:768px){
	.sp-page section h2{font-size:28px!important;line-height:1.15!important;}
	.sp-page section h3{font-size:18px!important;line-height:1.25!important;}
	.sp-page section summary h3{font-size:17px!important;line-height:1.3!important;}
	.sp-page section .bp-post h3{font-size:20px!important;line-height:1.3!important;}
}
@media (max-width:900px){
	.sp-reviews .bp-row{flex-wrap:wrap;}
	.sp-vtitle{writing-mode:horizontal-tb;transform:none;font-size:28px;}
}
@media (max-width:767px){
	.sp-page section.sp-know,.sp-page section.sp-content{padding:48px 0;}
	.sp-page section.sp-intro{padding-bottom:16px;}
	.sp-page section.bp-services{padding:24px 0 48px;}
	.sp-page section.sp-map{padding:0 0 48px;}
	.sp-page .sp-map .gmaps{height:260px;border-radius:24px;}
	.sp-formwrap{max-width:none;}
	.sp-locgrid{grid-template-columns:1fr;}
	.sp-page .bp-side{position:static;max-width:none;}
	.sp-legend a{flex:1 1 auto;}
}

/* 2026-10-20 (vizuelne ispravke): hero bez praznine, servisi centrirani, mobilni hero sa formom blize vrhu */
/* desktop: leva kolona je kraca od forme, pa se centrira po visini umesto da ostavi prazninu ispod teksta */
.sp-page .bp-hero .bp-row{align-items:center;}
.sp-page .sp-checks a{color:#fff;text-decoration:underline;text-decoration-color:var(--bp-yellow);text-decoration-thickness:2px;text-underline-offset:3px;}
/* 7 servisa: poslednji red (3 kartice) centriran umesto praznog mesta desno */
.sp-page .bp-svc-grid{display:flex;flex-wrap:wrap;justify-content:center;}
.sp-page .bp-svc-grid .bp-svc{flex:0 1 calc(25% - 15px);min-width:240px;}
/* vertikalni naslov "Our Clients Say" samo na sirokom ekranu (na uzem bi se dva naslova redjala jedan ispod drugog) */
@media (max-width:900px){ .sp-vtitle{display:none;} }
@media (max-width:767px){
	.sp-page .bp-hero .bp-row{align-items:stretch;}
	/* fotografija kao kraca traka, naslov i forma odmah ispod */
	.sp-page section.bp-hero--photo{padding-top:120px;padding-bottom:28px;}
	.sp-page .bp-hero--photo .bp-hero-bg{height:250px!important;}
	.sp-page .bp-hero--photo::before{background:linear-gradient(180deg,rgba(20,20,20,0) 0px,rgba(20,20,20,.25) 90px,rgba(29,29,29,.92) 180px,#1D1D1D 250px);}
	.sp-page .bp-hero-main{gap:12px;}
	.sp-page .bp-hero h1{font-size:36px;}
	.sp-page .bp-sub{font-size:16px;line-height:1.45;}
	.sp-checks{font-size:14px;gap:4px 16px;}
	/* crna traka "Fully Licensed" ponavlja USDOT/HHG iz liste iznad; na telefonu samo forma */
	.sp-badge-lic{display:none;}
	.sp-page .bp-svc-grid .bp-svc{flex:1 1 100%;}
}

/* kartice kancelarija v2 (2026-10-20): horizontalne (slika levo, podaci desno), popunjavaju sirinu i za 1 i za 2 kancelarije */
.sp-page section.sp-loc{background:var(--bp-cream);}
.sp-page .sp-locgrid{grid-template-columns:repeat(auto-fit,minmax(520px,1fr));gap:24px;width:100%;max-width:1200px;margin:0 auto;}
.sp-page .sp-locgrid:has(> .sp-loccard:only-child){max-width:900px;}
.sp-page .sp-loccard{flex-direction:row;border-radius:20px;box-shadow:0 8px 24px rgba(0,0,0,.07);border:1px solid rgba(0,0,0,.04);transition:transform .15s,box-shadow .15s;}
.sp-page .sp-loccard:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(0,0,0,.10);}
.sp-page .sp-loccard-photo{flex:0 0 42%;position:relative;}
.sp-page .sp-loccard-photo img{height:100%;min-height:260px;}
.sp-page .sp-loccard-info{flex:1 1 auto;min-width:0;padding:26px 28px;justify-content:center;}
.sp-page .sp-loccard-name{font-size:22px;padding-bottom:12px;border-bottom:2px solid var(--bp-yellow);align-self:flex-start;}
.sp-page .sp-acts{margin-top:8px;}
@media (max-width:1100px){ .sp-page .sp-locgrid{grid-template-columns:1fr;max-width:900px;} }
@media (max-width:640px){
	.sp-page .sp-loccard{flex-direction:column;}
	.sp-page .sp-loccard-photo{flex:none;}
	.sp-page .sp-loccard-photo img{height:190px;min-height:0;}
	.sp-page .sp-loccard-info{padding:22px;}
}
.sp-page .sp-locgrid:not(:has(> .sp-loccard:only-child)) .sp-loccard-photo{flex-basis:36%;}
.sp-page .sp-acts a{white-space:nowrap;padding:0 12px;}

/* uvod sa fotografijom firme desno (state_intro_photo) */
.sp-intro-grid.has-photo{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:48px;align-items:center;}
.sp-page .sp-intro-photo{margin:0;}
.sp-page .sp-intro-photo img{width:100%;height:340px;object-fit:cover;border-radius:20px;box-shadow:0 12px 30px rgba(0,0,0,.12);}
@media (max-width:900px){ .sp-intro-grid.has-photo{grid-template-columns:1fr;gap:24px;} .sp-page .sp-intro-photo img{height:220px;} }

/* hero kao na stranama poslovnica: kartice kancelarija (adresa + telefon) */
.sp-page .sp-hero-offices{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));}
.sp-page .bp-nap > .sp-hero-office{flex-direction:column;gap:10px;padding:16px;}
.sp-page .sp-hero-office a{display:flex;gap:10px;align-items:flex-start;color:#fff;text-decoration:none;font-size:14px;line-height:1.4;}
.sp-page .sp-hero-office a.sp-ho-name:hover strong{text-decoration:underline;text-decoration-color:var(--bp-yellow);}
.sp-page .sp-hero-office a.sp-ho-tel{align-self:flex-start;align-items:center;background:var(--bp-yellow);color:var(--bp-ink);font-weight:900;font-size:15px;padding:8px 14px;border-radius:999px;min-height:40px;}
.sp-page .sp-hero-office a.sp-ho-tel svg{stroke:var(--bp-ink);}
.sp-page .bp-trust a{color:#D9D9D9;text-decoration:underline;text-decoration-color:rgba(253,199,2,.6);text-underline-offset:3px;}
.sp-page .bp-hero .bp-quote{max-width:420px;}

/* 26. 10.: kartice kancelarija u heroju – naziv sa žutom strelicom (bez podvlake),
   telefon kao puno dugme preko širine kartice sa žutom ikonicom; hover = žuto dugme */
.sp-page .sp-hero-offices .sp-hero-office { justify-content: space-between; gap: 14px; }
.sp-page .sp-hero-offices .sp-hero-office a.sp-ho-name strong::after { content: " →"; color: var(--bp-yellow); font-weight: 900; transition: margin .15s; }
.sp-page .sp-hero-offices .sp-hero-office a.sp-ho-name:hover strong { text-decoration: none; color: var(--bp-yellow); }
.sp-page .sp-hero-offices .sp-hero-office a.sp-ho-name:hover strong::after { margin-left: 4px; }
.sp-page .sp-hero-offices .sp-hero-office a.sp-ho-tel {
	align-self: stretch; display: flex; align-items: center; gap: 12px;
	background: rgba(255,255,255,.1); border: 0; border-radius: 10px;
	padding: 8px 14px 8px 8px; min-height: 48px;
	color: #fff; font-size: 17px; font-weight: 900; letter-spacing: .01em;
	transition: background .15s, color .15s;
}
.sp-page .sp-hero-offices .sp-hero-office a.sp-ho-tel svg {
	width: 32px; height: 32px; padding: 7px; box-sizing: border-box; flex: none;
	border-radius: 50%; background: var(--bp-yellow); stroke: var(--bp-ink);
}
.sp-page .sp-hero-offices .sp-hero-office a.sp-ho-tel:hover { background: var(--bp-yellow); color: var(--bp-ink); }
.sp-page .sp-hero-offices .sp-hero-office a.sp-ho-tel:hover svg { background: var(--bp-ink); stroke: var(--bp-yellow); }
/* Tennessee (1 kancelarija): pločica sa radnim vremenom poravnata na vrh, "Mon–Sun" u ravni sa "Memphis office" (29.10, bilo centrirano) */
.sp-page .sp-hero-offices > div:not(.sp-hero-office) { align-items: flex-start; padding-top: 16px; }
.sp-d2{background:#1D1D1D;} /* treca kancelarija u legendi (Memphis na Mississippi hubu), 2026-10-26 */
