/* Small repairs; original AYOS typography, colors and layout remain in the source theme. */
.ayos-email-contact { margin: 25px 0 65px; }
.ayos-email-contact p { margin-bottom: 20px; }
.ayos-email-contact p a { color: #00aeef; text-decoration: underline; }
.ayos-email-contact .flat-button { display: inline-block; }
.btn-menu:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid #00aeef; outline-offset: 4px; }
/* Long legal URLs must wrap instead of widening the mobile viewport. */
[data-page="Gizlilik-KVKK-i31"] #main-content { overflow-wrap: anywhere; }
.ayos-list-bullet::before { content: '•'; }
.ayos-empty-thumbnail { display: inline-block; height: 27px; width: 1px; vertical-align: middle; }

/* Approved visual refinements: maintain the original palette and section order. */
.flat-button, button.flat-button, .flat-button-slider {
  min-height: 44px;
  text-align: center;
  transition: background-color .2s ease, box-shadow .2s ease;
}
a.flat-button-slider, .tp-caption.flat-button-slider {
  background: #00aeef !important;
  color: #fff !important;
  border-color: #00aeef !important;
}
.flat-button:hover, button.flat-button:hover, .tp-caption.flat-button-slider:hover {
  background: #008dc2 !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgb(0 0 0 / 12%);
}
#mainnav .submenu a:focus-visible, #mainnav-mobi a:focus-visible { outline-offset: -4px; }
#mainnav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
#mainnav-mobi a, #mainnav-mobi .btn-submenu { min-height: 44px; }
.read-more { display: inline-flex; align-items: center; min-height: 44px; }
.widget_search .search-field:focus { border-color: #00aeef; }
[data-page="Iletisim"] .boxed > .container > h1 { font-size: 36px; line-height: 1.2; margin-top: 38px !important; }
.ayos-email-contact { max-width: 780px; padding-bottom: 15px; }
.ayos-email-contact p { line-height: 1.8; }
.ayos-email-contact .flat-button { padding: 16px 28px; line-height: 16px; margin-top: 4px; background: #007eae; border: 2px solid #007eae; color: #fff; border-radius: 4px; }
.ayos-email-contact .flat-button:hover, .ayos-email-contact .flat-button:focus-visible { background: #006b94 !important; border-color: #006b94; }
@media(max-width:767px) {
  .tp-caption.flat-button-slider { white-space: normal !important; font-size: 14px !important; line-height: 20px !important; padding: 12px 18px !important; border-radius: 24px !important; }
  .tp-caption.sub-title { text-shadow: 0 1px 4px rgb(0 0 0 / 65%); }
  .section-video .wrap-video { padding-inline: 24px; }
  .section-video .title-section h1 { font-size: 40px; line-height: 1.2; }
  [data-page="Referanslar-i12"] #main-content img[style*="float:right"] { float: none !important; display: block; margin: 0 auto 28px; }
  [data-page="Iletisim"] .boxed > .container > h1 { font-size: 32px; }
  .ayos-email-contact { margin-bottom: 40px; }
  .footer .widget-footer ul a { display: inline-block; padding-block: 3px; }
}
@media(max-width:767px) { .tp-caption.flat-button-slider { text-align: center !important; } }

/* Give footer columns enough room at tablet and small-laptop widths. */
@media (min-width:768px) and (max-width:1199px) {
 .footer .wrap-widget-footer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
 .footer .wrap-widget-footer .widget.widget-footer { width: auto; float: none; margin: 0; padding: 0; }
}
@media (min-width:768px) and (max-width:991px) {
 .footer .wrap-widget-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
