/* ===== KIZNE LEGAL — Layout & Typography ===== */

/* ===== 1. TYPOGRAPHY ===== */

/* Headings — Cormorant Serif, uppercase */
html body h1,
html body .sc_layouts_title_caption,
html body .page_content_wrap h1,
html body .entry-content h1,
html body .wpb_text_column h1,
html body .vc_row h1,
html body .sc_layouts_title_meta + .sc_layouts_title_title > .sc_layouts_title_caption {
  font-family: Cormorant, serif !important;
  font-size: 40px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #202125 !important;
}

html body h2,
html body .page_content_wrap h2,
html body .entry-content h2,
html body .wpb_text_column h2,
html body .vc_row h2,
html body .vc_custom_heading h2,
html body .vc_col-sm-4 h2 {
  font-family: Cormorant, serif !important;
  font-size: 32px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #202125 !important;
  margin-top: 1.2em !important;
  margin-bottom: 0.6em !important;
}

html body h3,
html body .vc_custom_heading h3,
html body .wpb_text_column h3,
html body .sc_title h3 {
  font-family: Cormorant, serif !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #202125 !important;
}

html body h4,
html body .vc_custom_heading h4,
html body .wpb_text_column h4 {
  font-family: Cormorant, serif !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  color: #202125 !important;
}

html body h5 {
  font-family: Cormorant, serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  color: #202125 !important;
}

html body h6 {
  font-family: Cormorant, serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  color: #202125 !important;
}

.post_title {
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
}

/* Body text — Montserrat */
body,
.post_content,
.sc_layouts_column,
p {
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: #555559;
}

/* Blockquotes */
.post_content blockquote,
blockquote {
  font-family: Cormorant, serif !important;
  font-style: italic;
}

/* Small text */
.sc_layouts_title_breadcrumbs,
figcaption,
.post_meta,
small {
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #888;
}

/* Blog post title fix — override theme 3em rule */
html body .sc_layouts_title_meta + .sc_layouts_title_title > .sc_layouts_title_caption {
  font-size: 40px !important;
}

/* Page-specific override */
.page-id-76 .kontaktai-r1__cta h2 {
  font-size: 32px !important;
}

/* Responsive typography */
@media (max-width: 600px) {
  html body h1,
  html body .sc_layouts_title_caption,
  html body .page_content_wrap h1,
  html body .sc_layouts_title_meta + .sc_layouts_title_title > .sc_layouts_title_caption {
    font-size: 28px !important;
  }
  html body h2,
  html body .page_content_wrap h2 {
    font-size: 26px !important;
  }
  html body h3 { font-size: 20px !important; }
  html body h4 { font-size: 18px !important; }
  html body h5 { font-size: 16px !important; }
  body, .post_content, p { font-size: 15px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  html body h1,
  html body .sc_layouts_title_caption {
    font-size: 36px !important;
    line-height: 1.3 !important;
  }
}


/* ===== 2. DARK SECTION TEXT CONTRAST ===== */

.scheme_dark .page_content_wrap h2,
.scheme_dark .page_content_wrap .sc_item_title,
.scheme_dark .page_content_wrap h3,
.scheme_dark .page_content_wrap h4,
.scheme_dark .page_content_wrap p,
.scheme_dark .page_content_wrap .sc_item_descr {
  color: #ffffff !important;
}
.scheme_dark .page_content_wrap .sc_item_subtitle,
.scheme_dark .page_content_wrap .overline {
  color: #a9c5d0 !important;
  font-size: 14px !important;
  letter-spacing: 3px !important;
}
.scheme_dark .page_content_wrap .desc,
.scheme_dark .page_content_wrap .cta-desc,
.vc_row[class*="scheme_dark"] .page_content_wrap p {
  color: rgba(255, 255, 255, 0.85) !important;
}
.scheme_dark .page_content_wrap .vc_custom_heading h2,
.scheme_dark .page_content_wrap .wpb_text_column h2,
.scheme_dark .page_content_wrap h2.sc_item_title {
  color: #ffffff !important;
}
.vc_row-no-padding[class*="scheme_dark"] h2,
.vc_row-no-padding[class*="scheme_dark"] .sc_item_title {
  color: #ffffff !important;
}
.vc_row-no-padding[class*="scheme_dark"] p {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Small font fixes */
.overline { font-size: 14px !important; }
.copyright_mobile,
.copyright_mobile a { font-size: 13px !important; }
.scheme_dark .page_content_wrap .sc_button .sc_button_text,
.scheme_dark .page_content_wrap a.sc_button { font-size: 15px !important; }


/* ===== 3. MENU CTA BUTTON ===== */

.sc_layouts_menu_nav > li.menu-cta > a {
  background: #0f2331 !important;
  color: #ffffff !important;
  padding: 10px 24px !important;
  border-radius: 0 !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  transition: background 0.3s ease !important;
  white-space: nowrap !important;
  margin-left: 8px !important;
}
.sc_layouts_menu_nav > li.menu-cta > a:hover {
  background: #1a3a4f !important;
  color: #ffffff !important;
}


/* ===== 4. BLOG/NEWS CARD TITLES ===== */

body .sc_blogger_item .sc_blogger_item_title.entry-title,
body h5.sc_blogger_item_title.entry-title {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}


/* ===== 5. CONTACT FORM BUTTON ===== */

.wpcf7 .submit-container.submit-container-wide {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
}
.wpcf7 .submit-container.submit-container-wide .wpcf7-submit {
  width: auto !important;
  min-width: 280px !important;
  max-width: 400px !important;
}


/* ===== 6. STICKY HEADER ===== */

.top_panel {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  transition: box-shadow 0.3s ease !important;
}
.top_panel.is-sticky {
  box-shadow: 0 2px 20px rgba(15, 35, 49, 0.08) !important;
}


/* ===== 7. CUSTOM HTML HERO (replaces SR7 slider) ===== */

sr7-module {
  display: none !important;
}

body .vc_row.custom-hero-row,
.page_wrap .custom-hero-row,
div.custom-hero-row {
  max-width: 100vw !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  padding: 0 !important;
  overflow: hidden !important;
}
body .custom-hero-row .vc_column-inner,
body .custom-hero-row .wpb_column,
body .custom-hero-row .wpb_wrapper,
body .custom-hero-row .wpb_raw_code,
body .custom-hero-row .wpb_raw_html,
body .custom-hero-row .wpb_content_element {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.custom-hero {
  display: flex !important;
  min-height: 85vh;
  background: #ffffff;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.custom-hero-image {
  width: 50%;
  min-height: 85vh;
  background-size: cover;
  background-position: 30% top;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.custom-hero-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}
.custom-hero-label {
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #7da3b2;
  font-weight: 500;
  margin-bottom: 24px;
}
.custom-hero-content h1 {
  font-family: Cormorant, serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #202125;
  margin-bottom: 24px;
}
.custom-hero-desc {
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #5a5d63;
  margin-bottom: 36px;
  font-weight: 300;
}
.custom-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.custom-hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 1px solid #0f2331;
  text-decoration: none;
  transition: all 0.3s ease;
}
.custom-hero-actions a.hero-btn-filled,
body .custom-hero-actions a.hero-btn-filled {
  background: #0f2331 !important;
  color: #ffffff !important;
}
.custom-hero-actions a.hero-btn-filled:hover {
  background: #163044;
}
.custom-hero-actions a.hero-btn-outline {
  background: transparent;
  color: #0f2331;
}
.custom-hero-actions a.hero-btn-outline:hover,
body .custom-hero-actions a.hero-btn-outline:hover {
  background: #0f2331 !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .custom-hero { flex-direction: column; min-height: auto; }
  .custom-hero-image { width: 100%; min-height: 50vh; }
  .custom-hero-content { width: 100%; padding: 40px 24px; }
}


/* ===== 8. CTA BUTTONS ROW (after services) ===== */

body.home .cta-buttons-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 40px 20px !important;
  background: #f8f8f8 !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
}
body.home .cta-buttons-row .wpb_wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}
body.home .cta-buttons-row .wpb_raw_html,
body.home .cta-buttons-row .wpb_raw_html .wpb_wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}
body.home .cta-buttons-row .wpb_raw_html .wpb_wrapper > div {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}
body.home .cta-buttons-row a {
  display: inline-flex !important;
  align-items: center !important;
  padding: 14px 32px !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  transition: all 0.3s ease !important;
}
body.home .cta-buttons-row a[href^="tel"] {
  background: #0f2331 !important;
  color: #ffffff !important;
}
body.home .cta-buttons-row a[href^="tel"]:hover {
  background: #1a3a4f !important;
}


/* ===== 9. GOOGLE REVIEWS BADGE ===== */

.sc_testimonials::after {
  content: "\2605\2605\2605\2605\2605  5.0  \2014  Google atsiliepimai";
  display: block !important;
  text-align: center !important;
  margin-top: 30px !important;
  padding: 16px 0 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  color: #0f2331 !important;
  opacity: 0.7 !important;
}


/* ===== 10. CTA SECTION (after hero) ===== */

.sc_background_wrap + .vc_empty_space + .sc_title {
  background: #ffffff !important;
  padding: 80px 40px 60px !important;
  margin-left: calc(-50vw + 50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  text-align: center;
  position: relative;
  z-index: 1;
}
.sc_background_wrap + .vc_empty_space { display: none !important; }
.sc_background_wrap .sc_background { color: #f0ece6 !important; }
.sc_background_wrap + .vc_empty_space + .sc_title h2.sc_item_title {
  font-family: Cormorant, serif !important;
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 3px !important;
  color: #202125 !important;
  margin-bottom: 28px !important;
  line-height: 1.3 !important;
}
.sc_background_wrap + .vc_empty_space + .sc_title h6.sc_item_subtitle a {
  color: #202125 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
}


/* ===== 11. BIO SECTION ===== */

.sc_promo .sc_promo_text .dropcap,
.sc_promo .sc_promo_text p:first-letter,
.sc_promo .dropcap_style_1,
.sc_promo .dropcap_style_2 {
  font-size: inherit !important;
  float: none !important;
  line-height: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  font-weight: inherit !important;
}
.sc_promo .sc_button {
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}


/* ===== 12. TESTIMONIALS SECTION ===== */

.sc_testimonials.sc_testimonials_default {
  margin-top: 0 !important;
  padding-bottom: 20px !important;
}
.wpb_wrapper > .vc_empty_space[style*="13.4em"] {
  height: 60px !important;
}
.vc_separator:has(+ .sc_promo) {
  margin-top: 30px !important;
  margin-bottom: 30px !important;
}


/* ===== 13. HIDE SECTIONS NOT IN DESIGN ===== */

.vc_row:has(.vc_custom_1497958013264) { display: none !important; }
.top_panel_navi .menu-item:has(a[href*="duk"]) { display: none !important; }
.top_panel_navi .search_wrap,
.top_panel_navi .search_button,
.search_wrap.search_style_fullscreen { display: none !important; }


/* ===== 14. CTA PHONE INLINE IN SERVICES SECTION ===== */

.vc_custom_1736927728649 {
  padding-bottom: 100px !important;
  position: relative;
  overflow: visible;
}
.vc_row.wpb_row.vc_row-fluid.cta-buttons-row {
  margin-top: -170px !important;
  position: relative;
  z-index: 2;
  background: transparent !important;
  background-color: transparent !important;
  width: 50% !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  padding: 24px 60px 24px 40px !important;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.vc_row.cta-buttons-row,
.vc_row.cta-buttons-row .vc_column-inner,
.vc_row.cta-buttons-row .wpb_column,
.vc_row.cta-buttons-row .wpb_wrapper,
.vc_row.cta-buttons-row .wpb_raw_code {
  background: transparent !important;
  background-color: transparent !important;
}
.vc_row.cta-buttons-row .vc_column-inner {
  padding: 0 !important;
  margin: 0 !important;
}
.vc_row.cta-buttons-row .wpb_raw_code div[style] {
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  font-size: 14px !important;
  gap: 20px !important;
}
.vc_row.cta-buttons-row .wpb_raw_code div[style] span {
  display: inline !important;
  white-space: nowrap !important;
}


/* ===== 15. TEAM CARDS — VERTICAL LAYOUT ===== */

.sc_team.sc_team_default .sc_team_columns_wrap {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 40px !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
}
.sc_team.sc_team_default .trx_addons_column-1_2 {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}
.sc_team.sc_team_default .sc_team_item {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
  text-align: left !important;
}
.sc_team.sc_team_default .sc_team_item_thumb {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  margin-bottom: 16px !important;
  float: none !important;
}
.sc_team.sc_team_default .sc_team_item_thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.sc_team.sc_team_default .sc_team_item_info {
  width: 100% !important;
  padding: 0 !important;
  float: none !important;
}
.sc_team.sc_team_default .sc_team_item_title {
  font-family: 'Cormorant', serif !important;
  font-size: 1.1rem !important;
  margin-bottom: 4px !important;
}
.sc_team.sc_team_default .sc_team_item_subtitle {
  font-size: 0.85rem !important;
  color: #666 !important;
  margin-bottom: 12px !important;
}
.sc_team.sc_team_default .sc_team_item_content {
  font-size: 0.85rem !important;
  line-height: 1.6 !important;
}
.sc_team.sc_team_default .sc_team_item_button { display: none !important; }
.sc_team.sc_team_default .sc_team_item_socials { display: none !important; }


/* ===== 16. DECORATIVE SERVICE NUMBERS ===== */

.sc_services_item_number {
  font-weight: 300 !important;
  font-size: 2.8rem !important;
  line-height: 1.2 !important;
}
.sc_background_wrap .sc_background {
  font-size: 8rem !important;
  color: #dcdcdc !important;
  font-weight: 300 !important;
  text-align: center !important;
  opacity: 0.7 !important;
}


/* ===== 17. CONTACT SECTION — COMPACT ===== */

.sc_googlemap_wrap,
.sc_googlemap_wrap .sc_googlemap,
.sc_googlemap_wrap .sc_googlemap iframe { height: 100% !important; }
.vc_row-o-equal-height .vc_empty_space[style*="50em"] { display: none !important; }
.vc_row:has(.sc_googlemap_wrap) .sc_content.sc_padding_medium {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}


/* ===== 18. TABLET RESPONSIVE (768px–1200px) ===== */

/* --- Kontaktai: stretch contact column to full width when photo/map hidden --- */
@media (max-width: 1199px) {
  .vc_row:has(.sc_googlemap_wrap) .wpb_column.vc_col-sm-4:not(.vc_hidden-md) {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .vc_row:has(.sc_googlemap_wrap) {
    flex-wrap: wrap !important;
  }
}

/* --- Global: constrain content wrapper to viewport on tablets --- */
@media (max-width: 1199px) {
  .content_wrap,
  .post_content.entry-content,
  .wpb-content-wrapper,
  .vc_row.wpb_row.vc_row-fluid {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

/* --- Bio section (sc_promo): constrain to viewport, adjust proportions --- */
@media (max-width: 1199px) {
  .sc_promo {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .sc_promo .sc_promo_image {
    width: 50% !important;
    min-width: 0 !important;
  }
  .sc_promo .sc_promo_text {
    width: 50% !important;
    max-width: 50% !important;
    padding: 30px 24px !important;
  }
}

/* --- Hero: reduce padding on tablets --- */
@media (min-width: 768px) and (max-width: 1024px) {
  .custom-hero-content {
    padding: 40px 30px !important;
  }
}

/* --- CTA buttons row: full width on tablet --- */
@media (max-width: 1199px) {
  .vc_row.wpb_row.vc_row-fluid.cta-buttons-row {
    width: 100% !important;
    margin-top: -80px !important;
    padding: 20px 30px !important;
    justify-content: center !important;
  }
}


/* ===== 19. HOVER TRANSLATIONS ===== */

.hover_wrap .hover span { font-size: 0 !important; }
.hover_wrap .hover span::after {
  content: 'Žiūrėti daugiau' !important;
  font-size: 14px !important;
}
