/* Final autonomous repairs for FidoRento's archived WordPress theme. */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  overflow: visible !important;
  height: auto !important;
  min-height: 100%;
}

#page,
.site,
.site-content-contain,
#content {
  height: auto !important;
  min-height: 0 !important;
  overflow-y: visible !important;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

.container,
.container-fluid,
.row,
main,
#content,
.content_wrapper {
  box-sizing: border-box;
  max-width: 100%;
}

/* Bootstrap's structural carousel rules were absent from this capture. Keep
   one archived slide visible per property card instead of stacking every
   gallery image and creating several thousand pixels of blank height. */
.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  display: none;
  position: relative;
  width: 100%;
}

.carousel-item.active {
  display: block;
}

.place_unit .carousel-item img,
.place_unit .img_unit > a > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.place_unit,
.place_unit_cell {
  height: auto !important;
  min-height: 0 !important;
}

/* Recreate the intended three-column property result grid without the
   archived layout script. Variable card copy must not leave masonry holes. */
.get_ajax_results {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px 16px;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.get_ajax_results > .container-fluid,
.get_ajax_results > .pagination {
  grid-column: 1 / -1;
  width: 100%;
}

.get_ajax_results > .ajax_input {
  display: none !important;
}

.get_ajax_results > .place_unit_cell {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.restore-primary-nav {
  position: relative;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  box-shadow: 0 4px 14px rgba(28, 41, 56, 0.08);
}

.restore-primary-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 46px);
  width: min(1180px, calc(100% - 36px));
  min-height: 58px;
  margin: 0 auto;
}

.restore-primary-nav a {
  color: #222;
  font-weight: 600;
  text-decoration: none;
}

.restore-primary-nav a:hover {
  color: #f29830;
}

.restore-primary-nav a:focus-visible {
  outline: 3px solid #1269a7;
  outline-offset: 3px;
}

/* The archive referenced FontAwesome 5 from an external CDN, while the local
   theme contains FontAwesome 4. Bind the newer class names to that local font
   and supply aliases for names that changed between versions. */
.fas,
.far,
.fab {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-book-reader::before { content: "\f02d"; }
.fa-clock::before { content: "\f017"; }
.fa-facebook-f::before { content: "\f09a"; }
.fa-linkedin-in::before { content: "\f0e1"; }
.fa-map-marker-alt::before { content: "\f041"; }
.fa-mobile-alt::before { content: "\f10b"; }
.fa-star-half-alt::before { content: "\f123"; }

/* Recovered home hero: this is one of the site's own archived slideshow
   images, presented as a stable single background without the missing slider. */
#home_header {
  display: flex;
  align-items: stretch;
  min-height: 420px;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(15, 31, 51, 0.8) 0%, rgba(15, 31, 51, 0.52) 52%, rgba(15, 31, 51, 0.18) 100%),
    var(--restore-home-hero);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

#home_header > .row {
  position: relative;
  z-index: 1;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 420px;
  margin: 0 auto;
  padding-top: 0 !important;
}

#home_header #baslik {
  max-width: 720px;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(36px, 4.1vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

#home_header #baslik .display-4 {
  display: block;
  margin-top: 8px;
  color: #ffd52a;
  font-size: 0.9em;
  line-height: 1.08;
}

#home_header #sari_nokta {
  right: 4%;
  bottom: 40px;
  width: 116px;
  opacity: 0.9;
}

.restore-illustration-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #f9bd1c, #f0922f);
  box-shadow: 0 10px 24px rgba(30, 55, 82, 0.14);
  font-size: 36px;
}

#home_header + .border-bottom .max_1600 > .row {
  align-items: stretch;
  margin-right: -12px;
  margin-left: -12px;
}

#home_header + .border-bottom .max_1600 > .row > .information {
  align-items: center;
  padding: 20px 22px 28px;
}

#home_header + .border-bottom .information > .information:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 104px;
  max-width: 104px;
}

#home_header + .border-bottom .information h3 {
  margin-bottom: 9px;
  color: #273f5f;
  font-size: 23px;
}

/* The archived float layout produced false blank cards whenever descriptions
   had different heights. A deterministic grid keeps every recovered item in
   source order and leaves no masonry holes. */
.restore-home-card-grid.row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px 18px;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.restore-home-card-grid.row::before,
.restore-home-card-grid.row::after,
.restore-home-blog-grid.row::before,
.restore-home-blog-grid.row::after,
.restore-contact-page > .container-fluid.mb-5 .max_1600 > .row::before,
.restore-contact-page > .container-fluid.mb-5 .max_1600 > .row::after,
.container-fluid.mb-3.border-top.pt-4 > .max_1600.row::before,
.container-fluid.mb-3.border-top.pt-4 > .max_1600.row::after {
  display: none !important;
  content: none !important;
}

.restore-home-card-grid > .place_unit_cell {
  display: flex;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.restore-home-card-grid .place_unit {
  display: flex;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  border-color: #dfe5eb !important;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 49, 73, 0.08);
}

.restore-home-card-grid .place_unit > .pl-2 {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 14px 16px !important;
}

.restore-home-card-grid .place_unit .content_p {
  margin-top: auto;
  padding-top: 8px;
}

.restore-home-card-grid .title_link {
  color: #273f5f;
  line-height: 1.25;
}

/* Give the home-page handoff strips a real visual icon instead of an empty
   archived image slot. */
.border-top.border-bottom .container-fluid.d-flex .restore-illustration-icon {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
  margin: 14px 8px 14px 0;
  font-size: 27px;
}

.border-top.border-bottom .container-fluid.d-flex {
  display: flex !important;
  min-height: 98px;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px;
}

.border-top.border-bottom .container-fluid.d-flex > .pl-2 {
  padding: 0 !important;
}

.border-top.border-bottom .container-fluid.d-flex > .lead {
  margin: 0;
}

/* The archive retained only 50x33 thumbnails for these five blog entries.
   The media slots are removed in PHP and the intact text becomes a clean,
   balanced editorial grid. */
.restore-home-blog-grid.row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.restore-home-blog-grid > .d-flex.w-100 {
  display: block !important;
  grid-column: 1 / -1;
  margin: 0 !important;
  padding: 24px !important;
  border: 1px solid #dce5ec !important;
  border-radius: 8px;
  background: #f4f8fa;
}

.restore-home-blog-grid > .d-flex.w-100 > .col-md-7 {
  display: block !important;
  width: 100%;
  max-width: none;
  padding: 0;
}

.restore-home-blog-grid > .d-flex.w-100 .date {
  float: left;
  min-width: 74px;
  margin: 0 18px 10px 0 !important;
}

.restore-home-blog-grid > .col-sm-6 {
  width: auto;
  max-width: none;
  margin: 0 !important;
  padding: 0;
}

.restore-home-blog-grid > .col-sm-6 > .border {
  height: 100%;
  padding: 20px !important;
  border-color: #dce5ec !important;
  background: #fff;
  box-shadow: 0 8px 22px rgba(28, 49, 73, 0.07);
}

.restore-home-blog-grid .title_link {
  color: #273f5f;
}

/* Contact: remove the unsupported map shell, retain the useful details and
   display the archived form as a clearly non-submitting reference form. */
.restore-contact-page > .container-fluid:first-child .row {
  margin-top: 42px !important;
  margin-bottom: 28px !important;
  padding-bottom: 26px !important;
}

.restore-contact-page > .container-fluid:first-child .page-header {
  width: 100%;
}

.restore-contact-page > .container-fluid.mb-5 .max_1600 > .row {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.65fr);
  gap: 32px;
  align-items: start;
}

.restore-contact-page > .container-fluid.mb-5 .max_1600 > .row > div {
  width: auto;
  max-width: none;
  padding: 28px;
  border: 1px solid #dfe5eb !important;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(28, 49, 73, 0.08);
}

.restore-contact-page > .container-fluid.mb-5 .max_1600 > .row > div:first-child p {
  position: relative;
  display: block;
  padding-left: 30px;
  margin-bottom: 20px;
  line-height: 1.65;
}

.restore-contact-page > .container-fluid.mb-5 .max_1600 > .row > div:first-child i {
  position: absolute;
  top: 4px;
  left: 0;
  margin: 0 !important;
  font-size: 19px;
}

#contact_form .form-group {
  margin-bottom: 16px;
}

#contact_form .form-control {
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cbd4de;
  border-radius: 5px;
  background: #fff;
  box-shadow: none;
}

#contact_form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

#contact_form .form-control:focus {
  border-color: #27769b;
  outline: 3px solid rgba(39, 118, 155, 0.16);
}

#contact_form #send_message[disabled] {
  min-height: 50px;
  color: #fff !important;
  background: #27769b !important;
  opacity: 0.78;
  cursor: default;
}

/* After the empty social/contact column is removed, keep the useful footer
   navigation balanced across the available width. */
.container-fluid.mb-3.border-top.pt-4 > .max_1600.row {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 1.35fr;
  gap: 34px;
  margin-right: auto;
  margin-left: auto;
}

.container-fluid.mb-3.border-top.pt-4 > .max_1600.row > div {
  width: auto;
  max-width: none;
}

@media (max-width: 991px) {
  .get_ajax_results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .restore-primary-nav__links {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    gap: 0 20px;
    min-height: 0;
    padding: 8px 0;
  }

  .restore-primary-nav a {
    padding: 8px 4px;
  }

  .table,
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  .restore-home-card-grid.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .restore-home-blog-grid.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .restore-contact-page > .container-fluid.mb-5 .max_1600 > .row {
    grid-template-columns: 1fr;
  }

  .container-fluid.mb-3.border-top.pt-4 > .max_1600.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#home_header .row > .col-md-6 {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Light archived metadata remains secondary, but must stay readable. */
.breadcrumb span,
.review-date.small,
.ratings-star {
  color: #596273 !important;
}

@media (max-width: 640px) {
  .get_ajax_results {
    grid-template-columns: 1fr;
  }

  #home_header,
  #home_header > .row {
    min-height: 360px;
  }

  #home_header #baslik {
    font-size: 35px;
  }

  #home_header + .border-bottom .max_1600 > .row > .information {
    display: block !important;
  }

  #home_header + .border-bottom .information > .information:first-child {
    max-width: none;
    margin: 0 auto 10px;
  }

  .restore-home-card-grid.row,
  .restore-home-blog-grid.row,
  .container-fluid.mb-3.border-top.pt-4 > .max_1600.row {
    grid-template-columns: 1fr;
  }
}
