/*
 * PKZ V2 — Front Page Improvements
 * Each rule targets the EXACT selector from style.css and uses !important
 * to guarantee the override regardless of load order or caching.
 */

/* =====================================================================
   1. SECTION PADDING — was padding:100px 40px
   ===================================================================== */
.pkz-v2 .section {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

.pkz-v2 .forphot {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

.pkz-v2 .final-cta {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

.pkz-v2 .final-cta-panel {
  padding: 48px 40px !important;
}

/* =====================================================================
   2. HOW IT WORKS — was margin-top:64px on grid, padding:44px 36px on card
   ===================================================================== */
.pkz-v2 .hiw-grid {
  margin-top: 36px !important;
}

.pkz-v2 .hiw-card {
  padding: 32px 28px !important;
}

/* Number was 64px italic — reduce so it doesn't dominate the card */
.pkz-v2 .hiw-num {
  font-size: 48px !important;
  margin-bottom: 14px !important;
}

.pkz-v2 .hcard-input {
	margin-bottom: 0px;
	
}


/* Icon box stays 48×48 but SVG inside was only 22px — make it 28px */
.pkz-v2 .hiw-icon {
  margin-bottom: 16px !important;
}
.pkz-v2 .hiw-icon svg {
  width: 28px !important;
  height: 28px !important;
}

/* Card heading was unsized (inherits h3 = too big relative to card) */
.pkz-v2 .hiw-card h3 {
  font-size: 20px !important;
  margin-bottom: 10px !important;
}

/* Card body text was 14px */
.pkz-v2 .hiw-card p {
  font-size: 15px !important;
  line-height: 1.65 !important;
}

/* =====================================================================
   3. TESTIMONIALS — margin-top:64px on grid, padding:36px on card
   ===================================================================== */
.pkz-v2 .testi-grid {
  margin-top: 36px !important;
  gap: 18px !important;
}

.pkz-v2 .testi-card {
  padding: 26px !important;
}

/* Quote mark before-element was font-size:54px — shrink it */
.pkz-v2 .testi-text::before {
  font-size: 38px !important;
  margin-bottom: 6px !important;
}

.pkz-v2 .testi-stars {
  margin-bottom: 12px !important;
}

/* Text was 16px italic — fine, reduce bottom margin */
.pkz-v2 .testi-text {
  font-size: 15px !important;
  line-height: 1.75 !important;
  margin-bottom: 20px !important;
}

/* =====================================================================
   4. BENEFIT ICONS — SVG inside was only 20px, boost to 26px
   ===================================================================== */
.pkz-v2 .benefit-icon svg {
  width: 26px !important;
  height: 26px !important;
}

/* Tighten row padding was 24px */
.pkz-v2 .benefit {
  padding: 18px 20px !important;
}

.pkz-v2 .benefit-title {
  font-size: 15px !important;
}

.pkz-v2 .benefit-desc {
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* =====================================================================
   5. JOURNAL — art-grid margin-top was 64px
   ===================================================================== */
.pkz-v2 .art-grid {
  margin-top: 36px !important;
}

.pkz-v2 .art-title {
  font-size: 17px !important;
  line-height: 1.35 !important;
}

.pkz-v2 .art-excerpt {
  font-size: 14px !important;
}

.pkz-v2 .art-body {
  padding: 20px !important;
}

/* =====================================================================
   6. PHOTOGRAPHER SECTION — phot-head margin-bottom was 48px
   ===================================================================== */
.pkz-v2 .phot-head {
  margin-bottom: 28px !important;
}

.pkz-v2 .phot-filters {
  margin-bottom: 20px !important;
}

/* =====================================================================
   7. TRUST BAR — trust-item padding was 18px 40px
   ===================================================================== */
.pkz-v2 .trust-item {
  padding: 16px 28px !important;
}

/* =====================================================================
   8. NAV & GLOBAL TEXT SIZES
   ===================================================================== */
/* Nav links were 13px */
.pkz-v2 .nav-mid a {
  font-size: 14px !important;
}

/* Section sub text */
.pkz-v2 .sec-sub {
  font-size: 16px !important;
}

/* Proof text under hero CTAs */
.pkz-v2 .proof-text {
  font-size: 14px !important;
}

/* =====================================================================
   9. FOOTER — top padding was 78px
   ===================================================================== */
.pkz-v2 footer {
  padding-top: 56px !important;
}

.pkz-v2 .foot-grid {
  gap: 48px !important;
  padding-bottom: 40px !important;
}

/* =====================================================================
   10. SEARCH CARD LOUPE ICON — SVG was width/height 16px, too small
       inside a 44×44 button. Scale up and center properly.
   ===================================================================== */
.pkz-v2 .hcard-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 0px;
}

.pkz-v2 .hcard-btn svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  flex-shrink: 0 !important;
}

/* =====================================================================
   11. THEME TOGGLE ALIGNMENT
       Root cause: setting display:inline-flex on .tico was overriding
       the display:none that hides the inactive icon, causing both moon
       and sun to render simultaneously and breaking the button layout.
       Fix: never touch .tico display. Only fix the label alignment.
   ===================================================================== */

/* The button is already inline-flex + align-items:center in style.css.
   Force all direct children to share the same baseline. */
.pkz-v2 .theme-btn {
  align-items: center !important;
  margin-bottom: 0px;
}

/* The toggle track needs to not add extra height */
.pkz-v2 .trk {
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

/* mode-label: remove any inherited line-height that pushes it down */
.pkz-v2 .mode-label {
  line-height: 1 !important;
  vertical-align: middle !important;
  font-size: 12px !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* =====================================================================
   12. PHOTOGRAPHER CARD — verified badge SVG was 14px in a 28px box.
       Increase SVG to 16px and box to 30px for better proportion.
   ===================================================================== */
.pkz-v2 .phot-verified {
  width: 30px !important;
  height: 30px !important;
}

.pkz-v2 .phot-verified svg {
  width: 16px !important;
  height: 16px !important;
}

/* =====================================================================
   13. SEARCH CARD TAGS — were wrapping to 2 lines.
       Tighten the gap and reduce tag padding slightly.
   ===================================================================== */
.pkz-v2 .hcard-tags {
  gap: 6px !important;
  margin-bottom: 16px !important;
}

.pkz-v2 .hcard-tag {
  font-size: 12px !important;
  padding: 5px 10px !important;
	margin-bottom: 0px
}

/* =====================================================================
   14. REMAINING LARGE GAPS — space between HIW grid bottom and
       next section heading, and between phot-filters and grid.
   ===================================================================== */

/* Remove excess bottom padding on section-alt (photographers block) */
.pkz-v2 .section-alt {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

/* Tighten h2 top margin so heading sits closer to eyebrow */
.pkz-v2 .section h2,
.pkz-v2 .section-alt h2 {
  margin-top: 4px !important;
  margin-bottom: 12px !important;
}

/* =======================================================================
   UX/UI IMPROVEMENTS
   ======================================================================= */

}


/* 1. Btn-ghost fill */
.pkz-v2 .btn-ghost .btn-accent {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.30) !important;
  color: var(--text) !important;
  
}

.pkz-v2 .btn-ghost:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,0.55) !important;
}

/* 2. Phot-btn hover fill */
.pkz-v2 .phot-btn {
  transition: background 0.2s, color 0.2s, border-color 0.2s !important;
}
.pkz-v2 .phot-btn:hover {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

/* 3. Card image consistent crop */
.pkz-v2 .phot-img {
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
}
.pkz-v2 .phot-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}

/* 4. Nedostup badge */
.pkz-v2 .phot-avail--off {
  background: rgba(255,255,255,0.12) !important;
  color: var(--text2) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
}

/* 5. HIW CTA */
.pkz-v2 .hiw-cta {
  text-align: center;
  margin-top: 40px !important;
}

/* 6. Footer columns */
.pkz-v2 footer .foot-grid {
  grid-template-columns: 1fr 1fr 1fr 1fr !important;
}

/* 7. Mobile filter scroll */
@media (max-width: 700px) {
  .pkz-v2 .phot-filters {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding-bottom: 8px !important;
    scrollbar-width: none;
  }
  .pkz-v2 .phot-filters::-webkit-scrollbar { display: none; }
  .pkz-v2 .filter-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
}
/* =====================================================================
   ARCHIVE PAGES (najti-fotografa / fotomagazin / fotouslugi)
   ===================================================================== */

/* Hero section padding — was 126px top */
.pkz-archive .archive-hero {
  padding-top: 96px !important;
  padding-bottom: 36px !important;
}

/* Hero h1 sits too far from eyebrow */
.pkz-archive .archive-hero__copy h1 {
  margin-top: 6px !important;
  margin-bottom: 14px !important;
}

/* Stats row — metric boxes were min-width:140px, tighten gap */
.pkz-archive .archive-hero__stats {
  gap: 12px !important;
  margin-top: 24px !important;
}

/* Topbar filter bar — was margin-top:-12px, gives floating effect */
.pkz-archive .archive-topbar {
  margin-top: 0 !important;
  padding: 16px 18px !important;
}

/* Archive listing section top padding was 52px after our fix — keep */
.pkz-archive .archive-listing {
  padding-top: 52px !important;
}

/* Toolbar — heading + results count row */
.pkz-archive .archive-toolbar {
  margin-bottom: 24px !important;
}

/* Archive card body font sizes */
.pkz-archive .archive-card__body h3 {
  font-size: 17px !important;
}

.pkz-archive .archive-card__meta {
  font-size: 13px !important;
  margin-top: 4px !important;
}

.pkz-archive .archive-card__blurb {
  font-size: 13px !important;
  line-height: 1.65 !important;
}

/* CTA section at bottom of archive pages */
.pkz-archive .archive-cta {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

.pkz-archive .archive-cta__inner {
  padding: 28px 32px !important;
}

/* =====================================================================
   JOURNAL PAGES (category-interesnoe / category-fotokursy)
   ===================================================================== */

.pkz-journal .archive-hero {
  padding-top: 96px !important;
  padding-bottom: 32px !important;
}

/* Chip filter pills — tighten gap */
.pkz-journal .journal-compact-chips {
  gap: 8px !important;
  margin-top: 16px !important;
}

/* Featured card padding was 34px */
.pkz-journal .journal-featured-card__body {
  padding: 26px 28px !important;
}

/* Featured card h2 */
.pkz-journal .journal-featured-card__body h2 {
  font-size: clamp(24px, 2.8vw, 36px) !important;
  margin-bottom: 10px !important;
}

/* Grid listing padding-top was 58px */
.pkz-journal .archive-listing {
  padding-top: 44px !important;
}

/* Journal card body text */
.pkz-journal .journal-card h3 {
  font-size: 20px !important;
}

.pkz-journal .journal-card p {
  font-size: 14px !important;
  line-height: 1.65 !important;
}

/* CTA */
.pkz-journal .archive-cta {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

/* =====================================================================
   SINGLE ALTOGETHER (photographer / shop profile page)
   ===================================================================== */

/* Hero min-height was 460px — keep but reduce top padding */
.pkz-single .single-hero__inner {
  padding-top: 80px !important;
  padding-bottom: 36px !important;
}

/* Summary bar font sizes */
.pkz-single .single-summary__price {
  font-size: 28px !important;
}

.pkz-single .single-summary__line {
  font-size: 13px !important;
}

.pkz-single .single-summary__fact span {
  font-size: 11px !important;
}

.pkz-single .single-summary__fact strong {
  font-size: 14px !important;
}

/* Section body text */
.pkz-single .single-about-text {
  font-size: 15px !important;
  line-height: 1.75 !important;
}

/* Info grid cells */
.pkz-single .single-info-val {
  font-size: 14px !important;
}

/* Review text */
.pkz-single .single-review-text {
  font-size: 14px !important;
  line-height: 1.72 !important;
}

/* Related cards heading */
.pkz-single .single-related-body h3 {
  font-size: 15px !important;
}

/* =====================================================================
   JOIN PAGES (prisoedinitsya / kak-fotograf / dobavit-*)
   ===================================================================== */

/* Hero was 126px top padding */
.pkz-join .join-hero {
  padding-top: 96px !important;
  padding-bottom: 40px !important;
}

/* Hero h1 */
.pkz-join .join-hero__copy h1 {
  margin-bottom: 12px !important;
}

/* Sections */
.pkz-join .section {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

/* Join cards */
.pkz-join .join-card h3 {
  font-size: 22px !important;
}

.pkz-join .join-card p {
  font-size: 14px !important;
  line-height: 1.7 !important;
}

/* Join steps */
.pkz-join .join-step h3 {
  font-size: 18px !important;
}

.pkz-join .join-step p {
  font-size: 14px !important;
  line-height: 1.7 !important;
}

/* Form section */
.pkz-join .join-form-section {
  padding-top: 16px !important;
  padding-bottom: 64px !important;
}


/* PKZ patch: keep custom controls vertically centered across header sizes */
.pkz-v2 .nav-end > *,
.pkz-single .pkz-end > *{
  align-self:center;
}

.pkz-v2 .theme-btn span,
.pkz-single .tbtn span{
  line-height:1;
}
