/* Total / WPBakery layout compatibility for migrated HTML */
.wpex-clr::after, .vc_row::after, .wpex-row::after, .entry::after {
  content: ""; display: table; clear: both;
}
.container, .wpex-container {
  width: var(--site-container-width); max-width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
}
.wpex-row, .vc_row, .vcex-portfolio-grid, .vcex-blog-grid, .portfolio-entries, .wpex-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}
.wpex-row > [class*="span_"],
.wpex-row > .col,
.vc_row > .wpb_column,
.vcex-portfolio-grid > .portfolio-entry,
.vcex-blog-grid > .vcex-blog-entry,
.vcex-staff-grid > .staff-entry,
.vcex-grid-item,
.col {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 24px;
  box-sizing: border-box;
}
.vcex-blog-grid,
.vcex-staff-grid,
.vcex-isotope-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}
.span_1_of_1, .col.span_1_of_1, .vc_col-sm-12 { width: 100%; }
.span_1_of_2, .col.span_1_of_2, .vc_col-sm-6 { width: 50%; }
.span_1_of_3, .col.span_1_of_3, .vc_col-sm-4 { width: 33.3333%; }
.span_1_of_4, .col.span_1_of_4, .vc_col-sm-3 { width: 25%; }
.span_2_of_3, .vc_col-sm-8 { width: 66.6667%; }
.span_3_of_4, .vc_col-sm-9 { width: 75%; }

.portfolio-entry, .vcex-blog-entry, .staff-entry, .vcex-grid-item {
  display: flex;
  flex-direction: column;
}
.portfolio-entry-inner, .vcex-blog-entry-inner, .staff-entry-inner, .entry-inner {
  background: #fff;
  height: 100%;
}
.portfolio-entry-media img,
.vcex-blog-entry-img,
.portfolio-entry-img,
.staff-entry-img,
.staff-entry-media img,
.entry-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 4;
  object-fit: cover;
  display: block;
}
.portfolio-entry-details,
.vcex-blog-entry-details,
.staff-entry-details,
.entry-details {
  padding: 14px 4px 8px;
}
.portfolio-entry-title,
.vcex-blog-entry-title,
.staff-entry-title,
.entry-title {
  margin: 0 0 8px;
  font-family: Raleway, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: #2C3E50;
}
.portfolio-entry-title a,
.vcex-blog-entry-title a,
.staff-entry-title a,
.entry-title a {
  color: inherit;
  text-decoration: none;
}
.portfolio-entry-excerpt,
.vcex-blog-entry-excerpt,
.staff-entry-excerpt,
.entry-excerpt {
  color: #666;
  font-size: .92rem;
  margin: 0;
}
.vcex-isotope-grid, .vcex-staff-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}
.theme-button, .vcex-readmore, .readmore {
  display: inline-block;
  margin-top: 10px;
  background: #2C3E50;
  color: #fff !important;
  padding: 8px 14px;
  font-size: .85rem;
  text-decoration: none;
  border-radius: 2px;
}

/* Filter / isotope style menus */
.vcex-filter-links,
.navbar-style-filter,
.portfolio-filter,
.vcex-staff-filter {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  margin: 0 auto 28px !important;
  padding: 0 !important;
  width: var(--site-container-width); max-width: calc(100% - 40px);
}
.vcex-filter-links li,
.vcex-staff-filter li { margin: 0; list-style: none; }
.vcex-filter-links a,
.vcex-staff-filter a,
.portfolio-filter a,
.vcex-filter-links a.theme-button,
.vcex-staff-filter a.theme-button {
  display: inline-block !important;
  border: 1px solid #cfd5db !important;
  padding: 10px 16px !important;
  color: #2C3E50 !important;
  text-decoration: none !important;
  font-size: .9rem !important;
  background: #fff !important;
  border-radius: 2px;
  line-height: 1.3;
  white-space: normal !important;
  text-align: center;
  min-height: auto !important;
  width: auto !important;
  max-width: 260px;
  height: auto !important;
  overflow: visible !important;
  text-overflow: unset !important;
}
.vcex-filter-links .active a,
.vcex-staff-filter .active a,
.vcex-filter-links a:hover,
.vcex-staff-filter a:hover,
.vcex-filter-links a.theme-button:hover {
  border-color: #2C3E50 !important;
  color: #fff !important;
  background: #2C3E50 !important;
}
.staff-entry.is-filtered-out,
.portfolio-entry.is-filtered-out,
.vcex-isotope-entry.is-filtered-out { display: none !important; }

/* Page header — Total theme style (centered title) */
.page-header {
  background: #f7f7f7;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 22px 0;
  margin-bottom: 30px;
}
.page-header-inner {
  width: var(--site-container-width); max-width: calc(100% - 40px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.page-header.page-header-centered .page-header-inner {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.page-header h1,
.page-header .page-header-title {
  margin: 0;
  font-family: Raleway, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: #2C3E50;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-align: center;
  width: 100%;
}
.page-header .breadcrumbs,
.site-breadcrumbs, .breadcrumbs {
  font-size: .88rem;
  color: #777;
  margin-top: 4px;
}
.site-breadcrumbs a, .breadcrumbs a { color: #777; text-decoration: none; }
.page-header.breadcrumbs-only { padding: 12px 0; margin-bottom: 16px; }
.single-content > .vcex-heading:first-child,
.single-content .wpb_text_column:first-child .vcex-heading:first-child {
  text-align: center;
}

/* Staff / proje grids */
.vcex-staff-grid > .staff-entry,
.staff-entry.span_1_of_3 { width: 33.3333%; }
.staff-entry.span_1_of_4 { width: 25%; }
.staff-entry-media img { width: 100%; aspect-ratio: 7/4; object-fit: cover; }

/* WPEX / Total slider fallback */
.portfolio-post-slider,
.wpex-slider,
.wpex-post-slider {
  position: relative;
  overflow: hidden;
  margin: 0 0 24px;
  background: #111;
}
.wpex-slider-preloaderimg { display: none !important; }
.wpex-slider .sp-slides,
.wpex-slider-slides,
.simple-slider-track {
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}
.wpex-slider .sp-slide,
.wpex-slider-slide,
.simple-slider-track > * {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
.portfolio-post-slider img,
.wpex-slider img,
.simple-slider-track img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.simple-slider-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 8px;
}
.simple-slider-nav button {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(44,62,80,.78);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.simple-slider-dots {
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.simple-slider-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.45); padding: 0; cursor: pointer;
}
.simple-slider-dots button.is-active { background: #fff; }

/* Related 4-col loop */
.related-portfolio-posts .wpex-row,
.wpex-row.gap-30 {
  margin-left: -15px;
  margin-right: -15px;
}
.related-portfolio-posts .col,
.wpex-row.gap-30 > .col { padding-left: 15px; padding-right: 15px; }

/* Carousel basics */
.wpex-carousel, .owl-carousel {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.wpex-carousel > *, .owl-carousel .owl-item, .wpex-carousel-slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.wpex-carousel[data-wpex-carousel] > *:nth-child(n) {
  width: calc(25% - 12px);
  min-width: 220px;
}

/* Headings / dividers in migrated shortcodes */
.vcex-heading { margin: 0 0 8px; color: #2C3E50; font-family: Raleway, sans-serif; }
.vcex-divider { margin: 16px auto 24px !important; }
.vcex-module-heading, .theme-heading {
  font-family: Raleway, sans-serif;
  font-size: 1.35rem;
  color: #2C3E50;
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eee;
}
.single-content img, .entry img { max-width: 100%; height: auto; }
.single-content .wpb_text_column p { margin: 0 0 1em; }
.content-wrap { width: 100%; }
.single-content .vc_row,
.single-content .wpex-row.vcex-portfolio-grid,
.single-content .vcex-staff-grid {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.single-content .vc_row .vc_row,
.single-content .wpex-row .wpex-row { width: 100%; }
/* Center first intro text under page header */
.single-content > .vc_row:first-child .vcex-heading,
.single-content > .vc_row:first-child .wpb_text_column { text-align: center; }

/* Hide duplicate empty VC rows / rating */
.aiosrs-rating-wrap { display: none !important; }
.hidden, .wpex-hidden { display: none !important; }

/* Icon boxes — constrain SVG / icon fonts (prevent giant icons) */
.wpex-icon,
.meta-icon,
.vcex-icon-box-icon,
.wpex-social-share__icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
  max-width: 72px;
  max-height: 72px;
}
.wpex-icon svg,
.meta-icon svg,
.vcex-icon-box-icon svg,
.wpex-social-share__icon svg,
.single-content svg {
  width: 1em !important;
  height: 1em !important;
  max-width: 64px !important;
  max-height: 64px !important;
  display: block;
  fill: currentColor;
}
.vcex-icon-box {
  padding: 28px 18px !important;
  box-sizing: border-box;
}
.vcex-icon-box-icon { font-size: 42px !important; }
.vcex-icon-box-heading { font-size: 1.15rem !important; margin: 0 0 8px; }
.vcex-icon-box-content { font-size: 0.95rem !important; }
.dashicons {
  width: 20px !important;
  height: 20px !important;
  font-size: 20px !important;
  display: inline-block;
  overflow: hidden;
}

/* Blog single media full-bleed within content */
.blog-single-media,
.single-blog-media,
.thumbnail,
.post-thumbnail,
.single-content .blog-single-media-img,
.single-content img.blog-single-media-img,
.single-content .wp-post-image {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 0 24px !important;
  float: none !important;
}
/* Blog featured / post images full width unless explicitly floated */
.single-content .entry-media,
.single-content .blog-entry-media,
.single-content .blog-single-media { width: 100%; margin-bottom: 24px; }
.single-content.type-post .alignleft,
.single-content.type-post .alignright,
.single-content.type-post .wp-caption {
  float: none !important;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 20px !important;
}
.single-content.type-post .wp-caption img,
.single-content.type-post .alignleft img,
.single-content.type-post .alignright img {
  width: 100% !important;
  height: auto !important;
}
/* Page layouts (Hakkımızda): text wraps beside floated image */
.single-content.type-page .alignleft,
.single-content.type-page .wp-caption.alignleft {
  float: left;
  margin: 0 24px 16px 0;
  max-width: min(420px, 46%);
  width: auto;
}
.single-content.type-page .alignright,
.single-content.type-page .wp-caption.alignright {
  float: right;
  margin: 0 0 16px 24px;
  max-width: min(420px, 46%);
  width: auto;
}
.single-content.type-page .alignleft img,
.single-content.type-page .alignright img,
.single-content.type-page .wp-caption img {
  width: 100%;
  height: auto;
  display: block;
}

/* WPForms / contact / HR forms */
.wpforms-container,
.wpcf7,
.contact-form {
  width: min(720px, 100%);
  margin: 20px auto 40px;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 24px;
  box-sizing: border-box;
}
.wpforms-field { margin: 0 0 16px; }
.wpforms-field-label,
.wpforms-field label {
  display: block;
  margin: 0 0 6px;
  font-weight: 600;
  color: #2C3E50;
  font-size: .92rem;
}
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="file"],
.wpforms-field input[type="number"],
.wpforms-field select,
.wpforms-field textarea,
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  border: 1px solid #cfd5db;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  border-radius: 2px;
}
.wpforms-field textarea { min-height: 120px; }
.wpforms-layout-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.wpforms-layout-column { flex: 1 1 220px; min-width: 0; }
.wpforms-submit-container { margin-top: 12px; }
.wpforms-submit,
.wpcf7-submit,
button[type="submit"].wpforms-submit {
  background: #2C3E50 !important;
  color: #fff !important;
  border: 0 !important;
  padding: 12px 22px !important;
  cursor: pointer;
  font-size: .95rem;
  border-radius: 2px;
}
.wpforms-required-label { color: #c0392b; }

/* Uygulama görselleri — 3-col cards, no overflow */
.single-content .vc_col-sm-4 {
  width: 33.3333%;
  float: none;
  display: flex;
  flex-direction: column;
  padding: 0 10px 24px;
  box-sizing: border-box;
  overflow: hidden;
}
.single-content .vc_row {
  display: flex;
  flex-wrap: wrap;
}
.single-content .vcex-heading {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  line-height: 1.3;
}
.single-content .vcex-heading.wpex-text-2xl { font-size: clamp(1rem, 1.6vw, 1.35rem) !important; }
.single-content .vc_column-inner {
  max-width: 100%;
  overflow: hidden;
}
.single-content .vc_col-sm-4 img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* Simetrik içerik kartları (sütun sayıları grid-vars.css'ten gelir) */
.single-content :is(.vc_col-sm-3, .vc_col-sm-4, .vc_col-sm-6) > .vc_column-inner,
.single-content :is(.vc_col-sm-3, .vc_col-sm-4, .vc_col-sm-6) > .vc_column-inner > .wpb_wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.single-content .wpb_single_image { margin: 0 0 4px; }
.single-content .wpb_single_image figure { margin: 0; }
.single-content .vc_single_image-wrapper { display: block; overflow: hidden; border-radius: 4px; }
.single-content .vc_single_image-wrapper img { transition: transform .3s ease; }
.single-content .vc_single_image-wrapper:hover img { transform: scale(1.03); }
.single-content .wpex-text-center { text-align: center; }
.single-content .vcex-divider.wpex-border-b {
  height: 0;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  margin-left: auto !important;
  margin-right: auto !important;
}
.single-content .vc_col-sm-4 .vcex-heading,
.single-content .vc_col-sm-3 .vcex-heading { min-height: 2.6em; display: flex; align-items: center; justify-content: center; }
.single-content .vc_col-sm-4 .vcex-heading a,
.single-content .vc_col-sm-3 .vcex-heading a { color: #2C3E50; text-decoration: none; }

@media (max-width: 800px) {
  .single-content.type-page .alignleft,
  .single-content.type-page .alignright,
  .single-content.type-page .wp-caption.alignleft,
  .single-content.type-page .wp-caption.alignright {
    float: none;
    max-width: 100%;
    margin: 0 0 20px;
  }
  .single-content .vc_col-sm-4 { width: 50%; }
}

@media (max-width: 959px) {
  .span_1_of_3, .col.span_1_of_3, .vc_col-sm-4,
  .span_1_of_4, .col.span_1_of_4, .vc_col-sm-3 { width: 50%; }
  .wpex-carousel[data-wpex-carousel] > * { width: calc(50% - 10px); min-width: 180px; }
}
@media (max-width: 600px) {
  .span_1_of_2, .span_1_of_3, .span_1_of_4,
  .col.span_1_of_2, .col.span_1_of_3, .col.span_1_of_4,
  .vc_col-sm-3, .vc_col-sm-4, .vc_col-sm-6,
  .single-content .vc_col-sm-4 { width: 100%; }
  .wpex-carousel[data-wpex-carousel] > * { width: 85%; min-width: 220px; }
}
