/* CMS / blog content typography + UX fixes (TR glyphs, headings, overflow) */
.breadcumb-wrap h1 {
  font-size: 56px;
  font-weight: 700;
  margin: 0 0 22px;
  color: #fff;
  position: relative;
  line-height: 1.25;
  letter-spacing: -0.01em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, sans-serif;
}
@media (max-width: 991px) {
  .breadcumb-wrap h1 {
    font-size: 42px;
  }
}
@media (max-width: 767px) {
  .breadcumb-wrap h1 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 16px;
  }
}
.breadcumb-wrap ul {
  line-height: 1.5;
}
.breadcumb-wrap ul li {
  font-size: 15px;
}

/* Hero H1 must match H2 slide titles (do NOT inherit body 16px) */
.hero .slide-title h1,
.hero .slide-title h2,
.hero-style-1 .slide-caption h1,
.hero-style-2 .slide-caption h1,
.hero-style-1 .slide-caption h2,
.hero-style-2 .slide-caption h2 {
  margin: 0 0 0.45em;
  font-size: 45px;
  font-weight: 700;
  line-height: 1.28;
  color: #fff;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, sans-serif;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 767px) {
  .hero .slide-title h1,
  .hero .slide-title h2,
  .hero-style-1 .slide-caption h1,
  .hero-style-2 .slide-caption h1,
  .hero-style-1 .slide-caption h2,
  .hero-style-2 .slide-caption h2 {
    font-size: 32px;
    line-height: 1.3;
  }
}
.hero .slide-subtitle,
.hero .slide-subtitle p {
  color: #fff;
  line-height: 1.75 !important;
  font-size: 16px;
  max-width: 560px;
  font-weight: 400;
}
.hero .slider-pic {
  overflow: visible;
  bottom: auto !important;
}
.hero-style-1 .slider-pic,
.hero-style-2 .slider-pic,
.hero-style-2 .slider-pic-2 {
  top: 42% !important;
  bottom: auto !important;
  transform: translateY(-50%);
  z-index: 1 !important;
}
.hero .slider-pic img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.site-footer .widget-title .widget-heading {
  display: block;
  font-size: 24px;
  font-size: 1.5rem;
  margin: 0;
  padding-bottom: 0.4em;
  text-transform: capitalize;
  position: relative;
  color: #333;
  font-weight: 700;
  line-height: 1.35;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, sans-serif;
}
@media (max-width: 991px) {
  .site-footer .widget-title .widget-heading {
    font-size: 22px;
    font-size: 1.375rem;
  }
}

.service-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0 12px;
  color: #192224;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.35;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-height: 2.7em;
}
.service-content p {
  line-height: 1.7;
}

.blog-section .recent-blog-data h2,
.blog-section .recent-blog-data h3 {
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 16px;
  font-weight: 700;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, sans-serif;
}
.blog-section .recent-blog-data h2 a,
.blog-section .recent-blog-data h3 a {
  color: #282e3f;
  font-family: inherit;
}
.blog-section .recent-blog-data h2 a:hover,
.blog-section .recent-blog-data h3 a:hover {
  color: #659a72;
}
.blog-section .recent-blog-data p {
  line-height: 1.7;
  color: #6c6c6c;
}

.cd-headline {
  line-height: 1.45 !important;
}
.cd-headline.clip .cd-words-wrapper {
  overflow: hidden;
  vertical-align: middle;
  min-height: 1.2em;
}
.cd-headline.clip .cd-words-wrapper b {
  white-space: nowrap !important;
  max-width: none !important;
  line-height: inherit !important;
  left: 0;
  top: 0;
}
.cd-headline.clip .cd-words-wrapper b.is-hidden {
  opacity: 0 !important;
  position: absolute !important;
  pointer-events: none;
}
.cd-headline.clip .cd-words-wrapper b.is-visible {
  opacity: 1 !important;
  position: relative !important;
}

.details > h2,
.details > h3,
.details > h4 {
  margin: 1.6em 0 0.7em;
  line-height: 1.35;
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: #192224;
  font-weight: 700;
}
.details > h2 { font-size: 28px; }
.details > h3 { font-size: 22px; }
.details > h4 { font-size: 18px; }
.details > h2:first-child,
.details > h3:first-child,
.details > h4:first-child {
  margin-top: 0;
}
.details p {
  margin-bottom: 1.1em;
  line-height: 1.75;
  color: #444;
}
.details table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}
.details table th,
.details table td {
  border: 1px solid #e5e5e5;
  padding: 10px 12px;
  vertical-align: top;
  line-height: 1.5;
}
.details table th {
  background: #f6f8f6;
  font-weight: 700;
}
.details ul,
.details ol {
  list-style-position: outside !important;
  padding-left: 1.6em !important;
  margin: 0 0 1.25em !important;
  display: block !important;
}
.details ul {
  list-style-type: disc !important;
}
.details ol {
  list-style-type: decimal !important;
}
.details ul ul {
  list-style-type: circle !important;
  margin-top: 0.4em !important;
  margin-bottom: 0.4em !important;
}
.details li {
  display: list-item !important;
  list-style: inherit !important;
  margin: 0 0 0.55em;
  padding-left: 0.15em;
  line-height: 1.7;
}
.details li::marker {
  color: #659a72;
}
.details strong,
.details b {
  color: #192224;
  font-weight: 700;
}
.details a {
  color: #659a72;
  text-decoration: underline;
}
.details a:hover {
  color: #4f7d5a;
}
.details a.theme-btn,
.details a.theme-btn:hover,
.details a.theme-btn:focus,
.about-section-s2 a.theme-btn,
.about-section-s2 a.theme-btn:hover {
  color: #fff !important;
  text-decoration: none;
}
.details blockquote {
  margin: 1.25em 0;
  padding: 0.9em 1.2em;
  border-left: 4px solid #659a72;
  background: #f5f8f6;
  color: #444;
  line-height: 1.7;
}
.details img {
  height: auto;
  margin: 0.75em 0 1.25em;
  border-radius: 4px;
  max-width: 100%;
}
.details table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0 1.6em;
  font-size: 0.95em;
  line-height: 1.55;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.details thead th {
  background: #eef5f0;
  color: #192224;
  font-weight: 700;
  border-bottom: 2px solid #659a72;
}
.details th,
.details td {
  border: 1px solid #dbe3dd;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.details tbody tr:nth-child(even) {
  background: #f9fbf9;
}
.details tbody tr:hover {
  background: #f2f7f3;
}
@media (max-width: 767px) {
  .details {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .details table {
    min-width: 560px;
  }
  .details th,
  .details td {
    padding: 10px 12px;
  }
}

/* Contact / form readability */
.contact-section input,
.contact-section textarea,
.contact-area input,
.contact-area textarea {
  line-height: 1.5;
  font-family: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
}
.contact-section h2,
.contact-area h2 {
  line-height: 1.35;
  word-wrap: break-word;
}

/* Prevent sticky preloader flash covering titles */
.preloader.is-hidden {
  display: none !important;
}

/* Nav active pill: vertical center for Turkish caps (İ) */
.header-style-1 #navbar > ul > li > a,
.header-style-2 #navbar > ul > li > a {
  line-height: 1.35;
  display: inline-block;
}
.header-style-1 #navbar > ul > li.active > a,
.header-style-2 #navbar > ul > li.active > a,
.header-style-1 #navbar > ul > li > a.active {
  line-height: 1.35;
}

/* Contact form spacing under curved breadcrumb */
.contact-pg-section,
.contact-section,
section.contact-pg-section {
  padding-top: 40px;
}
@media (max-width: 767px) {
  .contact-pg-section,
  .contact-section {
    padding-top: 24px;
  }
}
