/*
Theme Name: Dubai
Theme URI: https://mayatur.com.tr/
Author: Maya Tur
Description: Dubai Konsolosluğu referansındaki boxed görünümü temel alan, koyu geometrik arka planlı klasik WordPress teması.
Version: 1.1.18
Text Domain: dubai
*/

/* v1.1.15 - self-hosted fonts: removes render-blocking Google Fonts chain */
@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/OpenSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/OpenSans-Semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/OpenSans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("assets/fonts/SourceSansPro-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("assets/fonts/SourceSansPro-Semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("assets/fonts/SourceSansPro-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}



:root {
  --dubai-shell: 1170px;
  --dubai-sidebar: 328px;
  --dubai-white: #fff;
  --dubai-dark: #111;
  --dubai-nav: #222222;
  --dubai-text: #4c4c4c;
  --dubai-muted: #7b7b7b;
  --dubai-border: #ededed;
  --dubai-gold: #b7a27b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--dubai-text);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.68;
  background-color: #3b3b3b;
  /* CSS ile üretilmiş düşük kontrastlı geometrik desen */
  background-image:
    linear-gradient(30deg, rgba(255,255,255,.026) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.026) 87.5%, rgba(255,255,255,.026)),
    linear-gradient(150deg, rgba(255,255,255,.018) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.018) 87.5%, rgba(255,255,255,.018)),
    linear-gradient(30deg, rgba(0,0,0,.050) 12%, transparent 12.5%, transparent 87%, rgba(0,0,0,.050) 87.5%, rgba(0,0,0,.050)),
    linear-gradient(150deg, rgba(0,0,0,.050) 12%, transparent 12.5%, transparent 87%, rgba(0,0,0,.050) 87.5%, rgba(0,0,0,.050)),
    linear-gradient(60deg, rgba(255,255,255,.016) 25%, transparent 25.5%, transparent 75%, rgba(255,255,255,.016) 75.5%, rgba(255,255,255,.016)),
    linear-gradient(60deg, rgba(0,0,0,.040) 25%, transparent 25.5%, transparent 75%, rgba(0,0,0,.040) 75.5%, rgba(0,0,0,.040));
  background-size: 104px 182px;
  background-position: 0 0, 0 0, 52px 91px, 52px 91px, 0 0, 52px 91px;
  background-attachment: fixed;
}

body.admin-bar .sidebar-banner-wrap { top: 50px; }
a { color: #3f3f3f; text-decoration: none; }
a:hover { color: #111; }
img { max-width: 100%; height: auto; display: block; }

.site-shell,
.site-footer {
  width: min(calc(100% - 40px), var(--dubai-shell));
  margin-left: auto;
  margin-right: auto;
}
.site-shell {
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,.35);
}

/* HEADER */
.site-header { background:#fff; }
.header-main {
  min-height: 123px;
  display: grid;
  grid-template-columns: 255px minmax(0,1fr);
  align-items: center;
  gap: 28px;
  padding: 14px 18px 12px;
}
.brand-area {
  min-height: 92px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.custom-logo-link { display:inline-flex; align-items:center; }
.custom-logo { width:auto; max-width:225px; max-height:96px; }
.uae-mark {
  width: 170px;
  height: 84px;
  display:grid;
  grid-template-columns:40px 1fr;
  box-shadow:0 0 0 1px #efefef inset;
}
.uae-red { grid-row:1 / span 3; background:#ff0000; }
.uae-green { background:#00732f; }
.uae-white { background:#fff; }
.uae-black { background:#000; }
.header-copy { text-align:right; min-width:0; }
.header-kicker {
  color:#080808;
  font-family:"Source Sans Pro", Arial, sans-serif;
  font-size:14px;
  line-height:1.3;
  font-weight:700;
  text-transform:uppercase;
  padding:0 0 16px;
  border-bottom:1px solid #efefef;
}
.header-official {
  margin-top:16px;
  color:#6a6a6a;
  font-size:14px;
  line-height:1.45;
}
.header-official strong { color:#555; font-weight:700; }

/* NAVIGATION */
.main-nav {
  position:relative;
  background:var(--dubai-nav);
  border-top:3px solid #bba77f;
}
.menu-wrap { min-height:49px; display:flex; align-items:stretch; }
.main-nav ul { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; }
.main-nav li { position:relative; }
.main-nav a {
  min-height:49px;
  padding:0 17px;
  display:flex;
  align-items:center;
  color:#d7d7d7;
  font-family:"Source Sans Pro", Arial, sans-serif;
  font-size:14px;
  line-height:1;
  font-weight:700;
  text-transform:uppercase;
  white-space:nowrap;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { background:#292929; color:#fff; }
.main-nav .menu-item-has-children > a:after { content:"▾"; margin-left:7px; color:#777; font-size:9px; }
.main-nav ul ul {
  position:absolute;
  z-index:100;
  left:0;
  top:100%;
  min-width:220px;
  display:none;
  background:#202020;
  box-shadow:0 5px 14px rgba(0,0,0,.28);
}
.main-nav ul ul li { width:100%; }
.main-nav ul ul a { min-height:39px; font-size:14px; text-transform:none; font-weight:600; border-bottom:1px solid #303030; }
.main-nav li:hover > ul { display:block; }
.menu-toggle { display:none; margin:8px 14px; border:1px solid #444; background:#222; color:#fff; padding:9px 12px; font-weight:700; }

/* MAIN LAYOUT */
.content-grid {
  display:grid;
  grid-template-columns:minmax(0, 1fr) var(--dubai-sidebar);
  align-items:start;
  background:#fff;
}
.primary { min-width:0; padding:0 18px 38px; }
.sidebar {
  min-width:0;
  align-self:stretch;
  border-left:1px solid #ededed;
  padding:34px 18px 38px;
  background:#fff;
}
.hero-image { margin:0 -18px 13px; overflow:hidden; }
.hero-image img { width:100%; max-height:390px; object-fit:cover; }
.entry-header h1,
.page-title {
  margin:7px 0 9px;
  color:#090909;
  font-family:"Source Sans Pro", Arial, sans-serif;
  font-size:30px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:-.45px;
}
.entry-content { overflow-wrap:anywhere; }
.entry-content h2,
.entry-content h3,
.entry-content h4,
.post-list h2 {
  color:#151515;
  font-family:"Source Sans Pro", Arial, sans-serif;
  font-weight:700;
}
.entry-content h2 { font-size:23px; line-height:1.28; margin:24px 0 9px; }
.entry-content h3 { font-size:19px; line-height:1.32; margin:22px 0 8px; }
.entry-content h4 { font-size:16px; margin:20px 0 7px; }
.entry-content p { margin:0 0 13px; }
.entry-content ul,
.entry-content ol { margin:0 0 15px 20px; padding:0; }
.entry-content li { margin:0 0 4px; }
.entry-content img { margin:15px auto; }
.entry-content .alignwide { width:100%; }
.entry-meta { color:#999; font-size:11px; margin-bottom:12px; }

/* SIDEBAR */
.sidebar-banner-wrap {
  position:sticky;
  top:18px;
  z-index:5;
  margin:0 0 34px;
  background:#fff;
}
.sidebar-banner { border:0; padding:0; background:transparent; }
.sidebar-banner a { display:block; line-height:0; }
.sidebar-banner img { display:block; width:100%; height:auto; max-width:none; object-fit:contain; border:0; margin:0; }
.sidebar-banner .wp-post-image { height:auto; }
.banner-placeholder {
  width:100%;
  aspect-ratio:1/1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:24px;
  color:#6a6a6a;
  background:#f7f7f7;
  border:1px solid #e1e1e1;
  font-weight:700;
}
.banner-placeholder small { font-weight:400; margin-top:5px; }
.widget { margin:0 0 31px; }
.widget-title {
  margin:0 0 16px;
  color:#111;
  font-family:"Source Sans Pro", Arial, sans-serif;
  font-size:17px;
  line-height:1.25;
  font-weight:700;
}
.widget ul { margin:0; padding:0; list-style:none; }
.widget li { padding:5px 0; line-height:1.45; }
.widget li a { color:#555; }
.widget li a:hover { color:#111; }
.search-form { position:relative; }
.search-form label { display:block; }
.search-field {
  width:100%;
  height:41px;
  border:1px solid #e3e3e3;
  padding:0 12px;
  color:#666;
  background:#fff;
  outline:none;
  font:inherit;
}
.search-field:focus { border-color:#bbb; }
.search-submit { display:none; }

/* FOOTER */
.site-footer {
  background:#101010;
  color:#777;
  box-shadow:0 4px 8px rgba(0,0,0,.32);
}
.footer-inner { padding:42px 20px 0; }
.footer-columns {
  display:grid;
  grid-template-columns:1.02fr 1.02fr 1.1fr 1.1fr;
  gap:46px;
}
.footer-heading {
  margin:0 0 20px;
  padding:0 0 13px;
  border-bottom:1px solid #252525;
  color:#e9e9e9;
  font-family:"Source Sans Pro", Arial, sans-serif;
  font-size:16px;
  line-height:1.25;
  font-weight:400;
}
.footer-text { color:#7e7e7e; font-size:12px; line-height:2; }
.footer-list { list-style:none; padding:0; margin:0; }
.footer-list li { border-bottom:1px dotted #2a2a2a; padding:8px 0; }
.footer-list a { color:#858585; }
.footer-list a:before { content:"›"; margin-right:11px; color:#8f8f8f; }
.contact-row { display:grid; grid-template-columns:22px 1fr; gap:12px; margin:0 0 13px; color:#7e7e7e; font-size:12px; line-height:1.8; }
.contact-icon { width:17px; height:17px; display:flex; align-items:center; justify-content:center; color:#838383; }
.contact-icon svg { width:14px; height:14px; fill:currentColor; }
.footer-bottom { margin-top:34px; border-top:1px solid #262626; padding:37px 0 35px; color:#7b7b7b; font-size:12px; }

/* POSTS */
.post-list article { padding:0 0 25px; margin:0 0 25px; border-bottom:1px solid #eee; }
.post-list h2 { margin:0 0 6px; font-size:23px; }
.pagination { margin:25px 0 0; }
.pagination .page-numbers { display:inline-block; padding:6px 9px; border:1px solid #ddd; margin-right:4px; }

/* WORDPRESS */
.wp-caption { max-width:100%; }
.wp-caption-text { color:#888; font-size:11px; }
.alignleft { float:left; margin:0 18px 15px 0; }
.alignright { float:right; margin:0 0 15px 18px; }
.aligncenter { display:block; margin-left:auto; margin-right:auto; }

@media (max-width: 1000px) {
  :root { --dubai-sidebar: 285px; }
  .site-shell,.site-footer { width:min(calc(100% - 20px), var(--dubai-shell)); }
  .header-main { grid-template-columns:210px 1fr; }
  .main-nav a { padding:0 11px; font-size:14px; }
  .footer-columns { grid-template-columns:1fr 1fr; }
}

@media (max-width: 760px) {
  body { background-size:78px 136px; background-attachment:scroll; }
  .site-shell,.site-footer { width:100%; box-shadow:none; }
  .header-main { grid-template-columns:1fr; gap:8px; padding:16px; text-align:center; }
  .brand-area { min-height:auto; justify-content:center; }
  .header-copy { text-align:center; }
  .header-kicker { padding-bottom:10px; }
  .header-official { margin-top:10px; }
  .menu-toggle { display:inline-block; }
  .menu-wrap { display:block; min-height:auto; }
  .main-nav ul { display:none; width:100%; }
  .main-nav ul.is-open { display:block; }
  .main-nav li { width:100%; }
  .main-nav a { min-height:42px; border-top:1px solid #2b2b2b; }
  .main-nav ul ul { position:static; display:none; box-shadow:none; }
  .main-nav li.submenu-open > ul { display:block; }
  .content-grid { grid-template-columns:1fr; }
  .primary { padding:0 15px 28px; }
  .sidebar { border-left:0; border-top:1px solid #eee; padding:25px 15px; }
  .sidebar-banner-wrap { position:static; }
  .hero-image { margin:0 -15px 13px; }
  .entry-header h1,.page-title { font-size:27px; }
  .footer-inner { padding:32px 18px 0; }
  .footer-columns { grid-template-columns:1fr; gap:26px; }
}


/* v1.1.5 - header and clean sidebar search */
.header-copy,
.header-kicker,
.header-official { font-size:14px; }

.widget_search .widget-title,
.widget_search .wp-block-heading,
.widget_search .wp-block-search__label,
.wp-block-search .wp-block-search__label { display:none !important; }

.widget_search .search-submit,
.wp-block-search__button { display:none !important; }

.widget_search .search-form,
.wp-block-search__inside-wrapper { margin:0; }

.widget_search .search-field,
.wp-block-search__input {
  width:100%;
  height:47px;
  margin:0;
  padding:0 16px;
  border:1px solid #e5e5e5;
  border-radius:0;
  background:#fff;
  box-shadow:none;
  color:#666;
  font-family:"Open Sans", Arial, sans-serif;
  font-size:14px;
  outline:none;
}


/* v1.1.7 - ensure sidebar search placeholder */
.widget_search .search-field::placeholder,
.wp-block-search__input::placeholder {
  color:#aaa;
  opacity:1;
}


/* v1.1.12 - header kicker and brand size */
.header-kicker { font-size:16px; }
.custom-logo { max-width:225px; max-height:96px; }
.uae-mark { width:170px; height:84px; grid-template-columns:43px 1fr; }


/* v1.1.13 - performance / CLS stabilization */
.header-main { contain: layout paint; }
.brand-area { min-width:0; }
.custom-logo-link { line-height:0; }
.custom-logo { display:block; height:auto; }
.hero-image { background:#fff; }
.hero-image img { display:block; width:100%; height:auto; }
.sidebar-banner { width:100%; }
.sidebar-banner img[width][height] { aspect-ratio: attr(width) / attr(height); }

@media (max-width:760px) {
  .header-main { contain:none; }
}

/* v1.1.14 - prevent desktop navigation reflow from causing CLS */
@media (min-width: 761px) {
  .main-nav .menu-wrap {
    height:49px;
    min-height:49px;
  }
  .main-nav .menu-wrap > ul {
    width:100%;
    height:49px;
    min-height:49px;
    flex-wrap:nowrap;
    align-items:stretch;
  }
  .main-nav .menu-wrap > ul > li,
  .main-nav .menu-wrap > ul > li > a {
    height:49px;
    min-height:49px;
  }
}


/* v1.1.15 - mobile hamburger icon, no external icon/font request */
@media (max-width: 760px) {
  .menu-toggle {
    position: relative;
    width: 46px;
    height: 42px;
    margin: 5px 10px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0;
    line-height: 0;
    color: transparent;
    overflow: hidden;
    cursor: pointer;
  }
  .menu-toggle::before,
  .menu-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2px;
    background: #d7d7d7;
    transform: translateX(-50%);
  }
  .menu-toggle::before {
    top: 12px;
    box-shadow: 0 8px 0 #d7d7d7, 0 16px 0 #d7d7d7;
  }
  .menu-toggle::after { display:none; }
}

/* v1.1.18 - accessibility: stronger footer contrast */
.site-footer,
.site-footer p,
.site-footer li,
.site-footer .widget,
.site-footer .footer-bottom {
  color: #d7d7d7;
}

.site-footer a {
  color: #f2f2f2;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #ffffff;
}
