/*
Theme Name: Opseques Blog
Version: 4.0
*/

/* ============================================================
   1. CSS DEĞİŞKENLERİ & TEMEL RESET
   ============================================================ */
:root {
  --renk-ana:        #065c8e;
  --renk-vurgu:      #16cc62;
  --renk-koyu:       #1a1e27;
  --renk-yazi:       #393e46;
  --renk-acik-yazi:  #6b7280;
  --renk-kenarlık:   #e9ecef;
  --renk-arka:       #f8fafc;
  --renk-beyaz:      #ffffff;
  --renk-kirmizi:    #640000;
  --font-ana:        -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --golge-kucuk:     0 2px 8px rgba(0,0,0,0.06);
  --golge-orta:      0 4px 20px rgba(0,0,0,0.1);
  --golge-buyuk:     rgba(23,43,99,0.25) 0 7px 28px;
  --radius-kucuk:    4px;
  --radius-orta:     8px;
  --radius-buyuk:    12px;
  --gecis:           0.25s ease;
  --icerik-genislik: 900px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-ana);
  color: var(--renk-yazi);
  background-color: var(--renk-beyaz);
  max-width: 1280px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: #333;
  transition: color var(--gecis);
}

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

iframe {
  max-width: 100%;
}

/* ============================================================
   2. TİPOGRAFİ
   ============================================================ */
p {
  font-family: var(--font-ana);
  font-weight: 400;
  font-size: 18px;
  color: var(--renk-yazi);
  line-height: 1.85;
  display: block;
  margin: 0 0 1.2em;
}

h1 { font-size: 28px; margin: 20px 0; }

/* H2–H6 + özel başlıklar: zarif sol çizgi stili */
h2, h3, h4, h5, h6,
.popularhaber,
h3#reply-title,
h3.relatedpost {
  display: flex;
  align-items: center;
  padding: 12px 18px 12px 20px;
  border-left: 5px solid var(--renk-ana);
  background: linear-gradient(to right, var(--renk-arka), var(--renk-beyaz));
  max-width: var(--icerik-genislik);
  box-shadow: var(--golge-buyuk);
  font-weight: 700;
  color: var(--renk-koyu) !important;
  border-radius: 0 var(--radius-orta) var(--radius-orta) 0;
  margin: 2rem 0;
  line-height: 1.4;
  transition: border-color var(--gecis);
}

h2 { font-size: 22px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

h2:hover, h3:hover { border-left-color: var(--renk-vurgu); }

/* ============================================================
   3. LİSTELER — madde işareti düzeltmesi
   ============================================================ */
ul {
  list-style: none;
  padding: 0 0 0 8px;
  margin: 0 0 1.2em;
}

/* Dış li: block (alt alta sıralı) */
ul > li {
  display: block;
  margin: 10px 0;
  color: var(--renk-yazi);
  line-height: 1.75;
}

/* Dış li nokta — ilk p'nin önüne */
ul > li > p:first-child::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  min-width: 9px;
  background-color: var(--renk-vurgu);
  border-radius: 50%;
  margin-right: 10px;
  margin-bottom: 2px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Eski ::before'u kapat */
ul > li::before { display: none !important; }

/* İç iç içe liste (Senaryo kısmı) */
ul ul {
  padding-left: 20px;
  margin-top: 8px;
}

ul ul > li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

ul ul > li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  min-width: 7px;
  background-color: #a3e4b8;
  border-radius: 50%;
  margin-top: 8px;
}

/* Menü, widget listelerinde nokta gösterme */
.menu-item::before,
li.xx::before,
.custom-selected-posts li::before { display: none !important; }

/* Alt menü */
ul.sub-menu { max-width: 100%; }

/* ============================================================
   4. HEADER
   ============================================================ */
header#masthead {
  margin: -10px 0 12px;
  display: flow-root;
  border-bottom: 1px solid var(--renk-kenarlık);
  height: 95px;
}

h1.site-title {
  width: fit-content;
  float: left;
  margin: 32px 0 20px 5px;
}

a.singlesitetitle {
  float: left;
  margin: 32px 0 20px 5px;
  font-size: 28px;
  font-weight: 700;
}

img.custom-logo {
  float: left;
  max-width: 300px;
  max-height: 100px;
  margin: 20px 0 10px 5px;
}

.menuimg { margin: 32px 5px; }

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-header .main-navigation { margin-left: auto; }

.menu-icon { display: none; }

/* ============================================================
   5. NAVİGASYON & ARAMA
   ============================================================ */
.menu-item {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase !important;
}

form.searchbox {
  margin: auto;
  float: right;
}

input#search {
  height: 30px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: var(--radius-kucuk);
  padding: 0 8px;
  font-size: 14px;
  transition: border-color var(--gecis), box-shadow var(--gecis);
}

input#search:focus {
  outline: none;
  border-color: var(--renk-ana);
  box-shadow: 0 0 0 3px rgba(6,92,142,.12);
}

img.searchicon {
  margin: 4px 0 -8px -33px;
  position: absolute;
  width: 20px;
  height: 20px;
  border: none;
}

button.searchbutton { display: contents; }

aside#search-2 { display: grid; }

/* ============================================================
   6. BREADCRUMB
   ============================================================ */
.breadcrumb {
  font-size: 13px;
  line-height: 20px;
  padding: 10px 2px 10px 0;
  color: var(--renk-acik-yazi);
}

a.breadcrumb,
a.breada { color: #000; }

/* ============================================================
   7. YAZI LİSTESİ (POST-WRAP)
   ============================================================ */
.post-wrap {
  border: 1px solid var(--renk-kenarlık);
  clear: both;
  margin: 12px 0;
  height: 197px;
  display: block;
  max-height: 197px;
  border-radius: var(--radius-orta);
  width: inherit;
  box-shadow: var(--golge-kucuk);
  transition: box-shadow var(--gecis);
}

.post-wrap:hover {
  box-shadow: var(--golge-orta);
}

.post-wrap { display: inline-table; }

.postdesc,
.postdesc p {
  color: #666;
  padding: 0;
  line-height: 20px;
  font-size: 13px;
}

.postdesc p {
  font-family: var(--font-ana);
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  margin: 8px 0 17px;
}

.post-wrap { text-align: left; }
.fipost { float: left; margin: 0 10px 0 0; max-width: 100%; }

img.attachment-post-thumb.size-post-thumb.wp-post-image {
  float: right;
  margin: 0 0 10px 10px;
  max-width: 100%;
  height: auto;
}

img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
  max-width: 100%;
}

/* ============================================================
   8. İÇERİK ALANI
   ============================================================ */
div#primary { display: flex; }

.icerik {
  float: left;
  max-width: var(--icerik-genislik);
}

.icerikler {
  max-width: var(--icerik-genislik);
  width: 100%;
  float: left;
}

div#content {
  border: 1px solid #f4f4f4;
  padding: 10px 20px;
  margin: 10px 0 25px;
  max-width: var(--icerik-genislik);
}

span.entry-date {
  font-size: 13px;
  color: var(--renk-acik-yazi);
  display: inherit;
  margin: 10px 0;
}

/* ============================================================
   9. TEKIL YAZI BAŞLIĞI (h1) — zarif kart stili
   ============================================================ */
.entry-title,
article h1,
h1.entry-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--renk-koyu);
  padding: 20px 24px 20px 20px;
  background: linear-gradient(135deg, var(--renk-arka) 0%, var(--renk-beyaz) 100%);
  border-left: 5px solid var(--renk-vurgu);
  border-radius: 0 var(--radius-buyuk) var(--radius-buyuk) 0;
  margin: 0 0 28px;
  box-shadow: var(--golge-buyuk);
  max-width: var(--icerik-genislik);
}

/* ============================================================
   10. DEVAMINI OKU BUTONU
   ============================================================ */
a.more-link {
  background: linear-gradient(to right, #45464f, #45464f, #8ba594);
  background-size: 200% auto;
  color: var(--renk-beyaz);
  padding: 8px 18px;
  display: inline-block;
  border-radius: var(--radius-kucuk);
  font-size: 13px;
  font-weight: 600;
  margin: -5px 0 0;
  transition: background-position var(--gecis), box-shadow var(--gecis);
}

a.more-link:hover {
  background-position: right center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ============================================================
   11. RELATED POSTS
   ============================================================ */
.relatedpost {
  padding: 15px;
  border-radius: var(--radius-kucuk);
  border-left: 5px solid var(--renk-ana);
  background-color: var(--renk-arka) !important;
}

h3.relatedpost { margin: 40px 0 20px 5px !important; }

.related-post {
  width: 274px;
  height: unset;
  margin: 7px 5px;
  padding: 7px 7px 13px;
  display: inline-grid;
}

.rposts { max-width: var(--icerik-genislik); float: left; }

.rand-title {
  margin: 8px 0 0;
  font-size: 17px;
  display: block;
  font-weight: 600;
}

.inline-related-post {
  display: flex;
  align-items: center;
  background-color: #f4f4f4;
  border-left: 4px solid #0073aa;
  padding: 10px 15px;
  margin: 20px 0;
  font-size: 16px;
  font-family: var(--font-ana);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 0 var(--radius-kucuk) var(--radius-kucuk) 0;
}

.inline-related-post .related-toggle {
  font-weight: 700;
  color: #333;
  margin-right: 10px;
}

.inline-related-post .related-link {
  color: #0073aa;
  text-decoration: none;
  font-weight: 700;
  transition: color var(--gecis);
}

.inline-related-post .related-link:hover {
  color: #005a8c;
  text-decoration: underline;
}

/* ============================================================
   12. YORUMLAR
   ============================================================ */
div#comments {
  max-width: var(--icerik-genislik);
  float: left;
}

.comment {
  margin: 20px 0;
  border: 1px solid var(--renk-kenarlık);
  padding: 10px;
  border-radius: var(--radius-orta);
}

ol.comment-list { padding: 0; }

.comment-meta.commentmetadata { display: none; }

.comment-author.vcard { margin: 5px 0 0; }

img.avatar {
  max-width: 30px;
  max-height: 30px;
  margin: -8px 0;
}

span.says { display: none; }

a.url {
  color: #254d27 !important;
  font-size: 20px;
  font-weight: 200;
}

a.comment-reply-link {
  background-color: #818181;
  color: var(--renk-beyaz);
  padding: 5px 10px;
  border-radius: var(--radius-kucuk);
  margin: 0 0 10px;
  display: inline-block;
  transition: background-color var(--gecis);
}

a.comment-reply-link:hover {
  background-color: var(--renk-ana);
}

h3#reply-title {
  padding: 10px 0 10px 20px;
  border-radius: var(--radius-kucuk);
  border-left: 15px solid var(--renk-ana);
  background-color: var(--renk-arka) !important;
}

p.comment-notes {
  font-size: 13px;
  line-height: 30px;
}

p.comment-form-cookies-consent {
  font-size: 13px;
  display: flex;
  line-height: 30px;
}

p.comment-form-author,
p.comment-form-email,
p.comment-form-url,
p.form-submit {
  margin: 15px 0;
}

textarea#comment {
  width: 80%;
  border: 1px solid #d0d0d0;
}

input {
  height: 26px;
  border: 1px solid #d0d0d0;
}

label { display: block; }

input#submit {
  background-color: var(--renk-ana);
  color: var(--renk-beyaz);
  padding: 15px;
  border-radius: var(--radius-kucuk);
  display: inline-block;
  border: none;
  font-size: initial;
  height: 45px !important;
  cursor: pointer;
  transition: background-color var(--gecis);
}

input#submit:hover {
  background-color: #054e7a;
}

div#respond {
  border: 1px solid #e2e2e2;
  margin: 20px 0;
  padding: 10px 25px;
}

#respond > p > a,
p.must-log-in { color: #333; }

/* ============================================================
   13. SAYFALAMA
   ============================================================ */
.page-nav-container {
  clear: both;
  text-align: center;
  margin: 15px 0 30px;
}

span.page-numbers.current {
  background-color: #45464f;
  color: var(--renk-beyaz);
  padding: 5px 10px;
  border-radius: var(--radius-kucuk);
  margin: 15px 3px;
  display: inline-block;
}

a.page-numbers {
  color: #003f00;
  padding: 5px 10px;
  border-radius: var(--radius-kucuk);
  margin: 15px 3px;
  display: inline-block;
  border: 1px solid #333;
  transition: background-color var(--gecis), color var(--gecis);
}

a.page-numbers:hover {
  background-color: var(--renk-ana);
  color: var(--renk-beyaz);
  border-color: var(--renk-ana);
}

/* ============================================================
   14. SIDEBAR
   ============================================================ */
.sidebar {
  float: right;
  width: 320px;
  margin: -20px 0 0;
  display: block !important;
}

.right-sidebar { margin: 8px 0 0; }

h2.widget-title {
  box-shadow: rgba(23,43,99,0.3) 0 1px 12px;
  font-size: 20px;
  margin: 2rem 0 1rem;
}

span.h2tit.side {
  font-size: 24px;
  margin: 22px 0 0;
}

/* ============================================================
   15. TABLO
   ============================================================ */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  margin-bottom: 1.5em;
  font-family: var(--font-ana);
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  border-radius: var(--radius-orta);
  overflow: hidden;
}

caption {
  padding-top: 16px;
  caption-side: top;
  text-align: center;
  font-weight: 700;
}

thead {
  background-color: #4CAF50;
  color: var(--renk-beyaz);
  text-align: center;
}

th {
  font-weight: 700;
  padding: 12px 16px;
  border: 1px solid #ddd;
}

tbody { background-color: var(--renk-beyaz); }

tr {
  border: 1px solid #ddd;
  transition: background-color var(--gecis);
}

tr:nth-child(even) { background-color: rgba(0,0,0,0.03); }

tr:hover { background-color: #e0e0e0 !important; }

table td, table th {
  padding: .4em;
  text-align: left;
  border-right: 1px dotted rgba(0,0,0,0.1);
}

table tbody td,
.entry table tbody th {
  border: 1px solid rgba(0,0,0,0.1);
}

.wp-block-table table { margin: 20px auto; }
.wp-caption { max-width: 100%; }
.wp-caption p.wp-caption-text {
  font-size: 12px;
  font-style: italic;
  line-height: 20px;
  padding: 0 5px;
  margin: 5px 0;
}

/* ============================================================
   16. FOOTER
   ============================================================ */
.footerc {
  background-color: #191919;
  color: var(--renk-beyaz);
  width: 100%;
  position: absolute;
  right: 0;
  padding: 12px 0 5px;
}

.footerc a {
  color: var(--renk-beyaz);
  font-weight: 400;
  font-size: 14px;
}

ul#menu-footer { margin: -10px 5px 5px; }

a.footertext {
  color: var(--renk-beyaz);
  padding: 0 1px 0 0;
  margin: 0 0 0 5px;
}

.footersp {
  margin: 5px 0 0;
  display: inline-block;
}

/* ============================================================
   17. YUKARI GİT BUTONU
   ============================================================ */
.top {
  --offset: 50px;
  position: sticky;
  bottom: 70px;
  margin-left: 100%;
  place-self: end;
  margin-top: calc(100vh + var(--offset));
  text-decoration: none;
  padding: 7px;
  font-family: sans-serif;
  color: var(--renk-beyaz);
  background: var(--renk-vurgu);
  border-radius: var(--radius-kucuk);
  white-space: nowrap;
  font-size: 20px;
  transition: transform var(--gecis), box-shadow var(--gecis);
}

.top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(22,204,98,0.35);
}

/* ============================================================
   18. PAYLAŞIM
   ============================================================ */
.pysdiv { height: 36px; max-width: var(--icerik-genislik); }
.paylasbuton { padding: 3px; display: flex; width: 32px; float: left; margin: -4px 10px 0 0; }
.xtwt { margin: 3px 0 3px 2px; }
.paylas { margin: 0 10px; padding: 3px 5px; display: table-caption; }
.whatsp { padding: 0; display: flex; width: 38px; float: left; margin: -4px 10px 0 0; }
.spandivshare {
  border: 1px solid #e0e0e0;
  padding: 6px;
  display: flex;
  width: 96px;
  float: left;
  margin: -4px 10px 0 0;
}

/* ============================================================
   19. REKLAM ALANLARI
   ============================================================ */
.ad-middle-content,
.ad-before-content,
.ad-in-content,
.after-content-ad,
.header-ad {
  max-height: 280px;
  height: 280px;
  overflow: hidden;
  margin: 10px 0;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

.opseques-reklam-header { margin: 10px 0; }

/* ============================================================
   20. DİĞER COMPONENTLER
   ============================================================ */
.saat { width: 16px; height: 16px; margin: 0 5px -2px 0; }
.homeic { width: 14px; height: 14px; margin: 0 5px -1px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.alignleft { float: left; margin: 0 20px 10px 0; }
.aligncenter { display: block; margin: 0 auto 1px; clear: both; }

span.fffff {
  font-size: 20px;
  font-weight: 600;
  margin: 15px 0 0;
  display: block;
}

.fpost-wrap {
  float: left;
  width: 350px;
  margin: 33px;
  display: block;
}

img.fffpf { border-radius: var(--radius-kucuk); }

.js-rmp-rating-item:before { content: unset; }

/* Seçili yazılar widget */
.custom-selected-posts-widget {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: var(--radius-orta);
  padding: 15px;
  margin-bottom: 20px;
}

.custom-selected-posts-widget .widget-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.custom-selected-posts {
  list-style: none;
  margin: 21px 0 0;
  padding: 0;
}

.custom-selected-posts li {
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
  padding-bottom: 15px;
  display: block;
  transition: background-color var(--gecis);
}

/* Widget listesi: noktasız */
.custom-selected-posts li::before { display: none !important; }

.custom-selected-posts li:hover { background-color: #f1f1f1; }

.custom-selected-posts .selected-post-thumbnail {
  margin-right: 15px;
  flex-shrink: 0;
  float: left;
}

.custom-selected-posts .selected-post-thumbnail img {
  width: 110px;
  height: 75px;
  border-radius: var(--radius-kucuk);
  object-fit: cover;
}

.custom-selected-posts .selected-post-content {
  flex: 1;
  display: block;
}

.custom-selected-posts .selected-post-title {
  font-family: system-ui;
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}

.custom-selected-posts .selected-post-title:hover { text-decoration: underline; }

.custom-selected-posts .selected-post-date {
  font-size: 12px;
  color: #666;
  text-align: left;
}

.custom-selected-posts-widget .widefat {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border-radius: var(--radius-kucuk);
  border: 1px solid #ddd;
  margin-bottom: 10px;
}

.custom-selected-posts-widget .checkbox { margin-right: 5px; }
.custom-selected-posts-widget small { display: block; margin-top: 5px; color: #777; }

/* ============================================================
   21. RESPONSIVE — MOBİL / TABLET
   ============================================================ */

/* Yazdırma */
@media only print and (min-width: 1px) {
  header#masthead, .breadcrumb { display: none; }
}

/* ≤ 971px */
@media only screen and (max-width: 971px) {
  span.h2tit { font-size: 20px; font-weight: 600; display: inline-block; margin: 16px 0 0; }
  .top { margin-left: 90%; }
  ul#menu-footer { margin: 5px; }
  .footerc { text-align: center; padding: 10px 0; }
  .footerc li a {
    color: var(--renk-beyaz);
    font-weight: 600;
    font-size: 17px;
    border: 1px solid #333;
    padding: 5px 10px;
    display: table-cell;
    margin: -10px !important;
    background-color: #191919;
  }
  .footerc li { border: none; display: inline-block; padding: 5px; margin: 0 5px; }
  div#footer-menu { margin: 20px 0 10px; }
  h1.site-title { margin: 32px 0 20px 10px; }
  article.box { padding: 0 5px; }
  .postdesc { padding: 0; }
  form.searchbox { margin: 25px 0 35px 10px; height: 20px; float: initial; text-align: center; }
}

/* ≤ 768px */
@media only screen and (max-width: 768px) {
  .footerc { position: unset; right: 0; }
  .featured-image[style*="float: right;"] { float: unset !important; }
  .post-wrap { display: inline-block !important; height: unset !important; max-height: fit-content !important; }
  .icerikler { text-align: center; }
  .main-navigation { display: none; }
  .menu-icon { display: block; }
  .inline-related-post { flex-direction: column; align-items: flex-start; }
  .inline-related-post .related-toggle { margin-bottom: 5px; }
  .custom-selected-posts li { flex-direction: column; align-items: flex-start; }
  .custom-selected-posts .selected-post-thumbnail { margin-bottom: 10px; width: 100%; max-width: 110px; }
  table td, table th { padding: 10px; overflow-wrap: anywhere; }
}

/* ≤ 760px */
@media only screen and (max-width: 760px) {
  .featured-image[style*="float: right;"] { margin: 0 auto; width: -webkit-fill-available; }
  .featured-image[style*="float: left;"] { margin: 0 auto; width: -webkit-fill-available; }
  .post-wrap { border: unset !important; }
  img.custom-logo { max-width: 240px !important; max-height: 100px; }
  .menuimg { margin: 14px 5px; }
  span.paylas { display: none; }
  span.spandivshare { width: 28px; }
  img.attachment-post-thumb.size-post-thumb.wp-post-image { float: unset; max-width: 100%; height: auto; margin: 0 auto; }
  img.custom-logo { float: left; }
  h2.h2tit { margin: 15px 0; width: 100%; }
  div#comments { padding: 5px 10px; }
  .breadcrumb { padding: 5px 3px 0 5px; }
  .relatedpost { padding: 15px 10px; max-width: 90%; margin: 30px 10px 20px 13px; }
  .related-post { width: 274px; margin: 15px 0; padding: 0; border: none; }
  .rposts { max-width: 274px; margin: 0 auto; float: initial; }
}

/* ≤ 600px – tablo */
@media screen and (max-width: 600px) {
  table { width: 100%; overflow-x: auto; }
  th, td { padding: 8px 12px; }
}

/* ≤ 460px */
@media only screen and (max-width: 460px) {
  .menu-items li:hover > ul { width: min-content; }
  .featured-image[style*="float: right;"] { margin-left: 0 !important; }
  body { width: -webkit-fill-available; }
  .icerik { margin: 0; width: 100%; }
  .post-wrap { padding: 5px 10px 25px; display: inline-table; }
  .fipost { float: left; margin: 0; max-width: 100%; }
}

/* ≤ 320px */
@media only screen and (max-width: 320px) {
  body { width: 120% !important; }
  img.custom-logo { width: 75% !important; }
  .right-sidebar { display: inline-block !important; max-width: 90% !important; }
  .sidebar { max-width: 90% !important; }
  .post-wrap { max-width: 90% !important; }
}

/* ≥ 768px */
@media only screen and (min-width: 768px) {
  .featured-image[style*="float: left;"] { margin: 0 15px 0 0; }
  .featured-image[style*="float: right;"] { margin: 0 0 0 15px; }
}

/* ≥ 769px */
@media only screen and (min-width: 769px) {
  li.menu-item.menu-item-type-taxonomy.menu-item-object-category.searchhhh { margin: auto; }
  .menu-items li:hover > ul { width: max-content; }
  ul#menu-footer { display: flex; margin: auto; }
  .footerc li { margin: 5px 15px; }
  form.searchbox { margin: 0 auto; }
}

/* ≥ 972px */
@media only screen and (min-width: 972px) {
  a.footertext { padding: 0 1px 0 106px; }
  .post-wrap { margin: 5px 0; }
  div#respond { border: 1px solid #e2e2e2; margin: 20px 0; padding: 10px 25px; }
  .h2tit {
    margin: 10px 0 0;
    font-size: 20px;
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
    max-width: 539px;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  div#content { border: 1px solid #f4f4f4; padding: 10px 20px; margin: 10px 0 25px; max-width: var(--icerik-genislik); }
  .rposts { max-width: var(--icerik-genislik); float: left; }
  div#comments { max-width: var(--icerik-genislik); float: left; }
  .fipost { margin: 0 20px 0 -10px; }
  .post-wrap { padding: 0 10px; }
  body { max-width: 1275px; }
}

/* ≤ 1220px */
@media only screen and (max-width: 1220px) {
  h3#reply-title { display: inline-block !important; width: 277px; }
  .icerikler { margin: 0 auto; }
}

/* ≤ 1236px */
@media only screen and (max-width: 1236px) {
  .icerikler { float: unset !important; margin: 0 auto !important; }
}

/* ≥ 1236px */
@media only screen and (min-width: 1236px) {
  body { margin: 0 auto !important; padding: 0 10px; }
}

/* ≤ 1250px */
@media only screen and (max-width: 1250px) {
  .sidebar { float: inherit !important; margin: 0 auto !important; }
}

/* ≤ 1272px */
@media only screen and (max-width: 1272px) {
  header#masthead { flex-direction: row; justify-content: space-between; align-items: center; display: block; }
}

/* ≤ 1300px */
@media only screen and (max-width: 1300px) {
  .dddddss { float: left; }
  .h2tit { white-space: unset !important; }
  .post-wrap {
    border: none !important;
    padding: 5px 10px 25px !important;
    margin: 1rem auto !important;
    max-width: 350px !important;
    display: inline-table !important;
  }
}

/* ≥ 1280px */
@media only screen and (min-width: 1280px) {
  body { max-width: 1280px !important; }
}

/* ≥ 1300px – grid */
@media (min-width: 1300px) {
  .ozel-icerik-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 10px 0 50px;
  }
}
/* ── ÇEREZ UYARISI ── */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #f1f5f9;
    padding: 14px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    max-width: 520px;
    width: calc(100% - 40px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#cookie-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
#cookie-banner-text {
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
}
#cookie-banner-link {
    color: #16cc62;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    white-space: nowrap;
}
#cookie-banner-close {
    background: #16cc62;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
#cookie-banner-close:hover { background: #12a852; }

@media (max-width: 480px) {
    #cookie-banner { bottom: 0; border-radius: 10px 10px 0 0; width: 100%; }
}