/*
Theme Name:     Neve Child
Theme URI:      https://themeisle.com/themes/neve/
Template: neve
Author:         ThemeIsle
Author URI:     https://themeisle.com
Description:    Neve is a super fast, easily customizable, multi-purpose theme. It’s perfect for blogs, small business, startups, agencies, firms, e-commerce shops (WooCommerce storefront) as well as personal portfolio sites and most types of projects. A fully AMP optimized and responsive theme, Neve will load in mere seconds and adapt perfectly on any viewing device. While it is lightweight and has a minimalist design, the theme is highly extendable, it has a highly SEO optimized code, resulting in top rankings in Google search results. Neve works perfectly with Gutenberg and the most popular page builders (Elementor, Brizy, Beaver Builder, Visual Composer, SiteOrigin, Divi). Neve is also WooCommerce ready, responsive, RTL & translation ready. Look no further. Neve is the perfect theme for you!
Version:        1.0.0
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    neve
Tags: blog, custom-logo, e-commerce, rtl-language-support, post-formats, grid-layout, one-column, two-columns, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, accessibility-ready, wide-blocks, block-styles
*/
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

th, td {
    border: 1px solid #ccc;
    padding: 6px 8px;
    text-align: left;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

th {
    color: #fff;
}

@media (max-width:600px) {
    table, th, td {
        font-size: 0.78rem !important;
    }

    th {
        font-size: 0.82rem !important;
    }
}

body.single-post .entry-content p {
    text-align: justify;
}

h1, h2, h3, h4, h5, h6 {
    text-align: center !important;
}

.single-post-container,
.nv-single-post-wrap,
.entry-header,
.nv-title-meta-wrap,
.nv-content-wrap,
.nv-thumb-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 16px !important;
}

.nv--yoast-breadcrumb {
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

.nv-title-meta-wrap h1.title.entry-title {
    margin-top: 4px !important;
    margin-bottom: 10px !important;
    line-height: 1.2em !important;
}

.nv-meta-list {
    margin: 0 !important;
    padding: 0 !important;
    gap: 6px;
}

.nv-thumb-wrap {
    margin-top: 8px !important;
    margin-bottom: 12px !important;
}

.nv-content-wrap.entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.nv-content-wrap.entry-content p {
    margin-bottom: 12px !important;
}

.nv-content-wrap.entry-content h2,
.nv-content-wrap.entry-content h3 {
    margin-top: 18px !important;
    margin-bottom: 10px !important;
}

.nv-single-post-wrap > div,
.entry-header > div,
.nv-title-meta-wrap > * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

footer, .nv-content-wrap {
    margin-top: 20px !important;
}

h1, h2, h3, h4, h5, h6 {
    position: relative;
    display: block;
    background: #ffffff;
    color: #b8860b;
    padding: 14px 20px;
    border: 3px solid #d4af37;
    border-radius: 8px;
    font-weight: 700;
    margin: 28px 0;
    text-align: left;
    overflow: hidden;
    box-shadow:
        0 4px 18px rgba(0,0,0,0.15),
        inset 0 0 10px rgba(255,215,0,0.25);
    text-shadow:
        0 0 5px rgba(212,175,55,0.4),
        0 0 15px rgba(212,175,55,0.25);
}

h1::before, h2::before, h3::before, h4::before, h5::before, h6::before {
    content: "";
    position: absolute;
    top: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.9) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: translateX(-120%);
    will-change: transform;
    animation: shine 2.5s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% { transform: translateX(-120%); }
    50% { transform: translateX(120%); }
    100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
    h1::before, h2::before, h3::before, h4::before, h5::before, h6::before {
        animation: none !important;
    }
}
.entry-content span[style*="color"]{
  filter: saturate(1) brightness(0.75);
}
/* ===== FIX: Gutenberg (wp-block-table) okunurluk ve mobil davranış ===== */

/* Kaydırma TABLE'da değil WRAPPER'da olmalı */
.wp-block-table{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Gutenberg tablosunu tekrar gerçek tablo layout'una döndür */
.wp-block-table table{
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;

  /* senin global table kuralını kırıyoruz */
  display: table !important;
  overflow: visible !important;
  white-space: normal !important;
}

/* Hücreler: okunur padding + düzgün kırılma */
.wp-block-table th,
.wp-block-table td{
  border: 1px solid #ccc;
  padding: 10px 12px;
  text-align: left;
  font-size: 1rem;

  /* senin th/td ayarların iyiydi ama daha sağlamı: */
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Başlıklar: beyaz yazı kuralın yüzünden kayboluyordu -> zemin ver */
.wp-block-table thead th{
  background: #0B3D91;
  color: #fff !important;
  font-weight: 800;
}

/* Sol satır başlıkları: beyaz yazı olmasın */
.wp-block-table tbody th[scope="row"]{
  background: #f6f7f8;
  color: #111 !important;
  font-weight: 800;
}

/* Zebra şerit (okunurluk) */
.wp-block-table tbody tr:nth-child(even){
  background: #fafafa;
}

/* Mobil: font çok düşmesin (0.78 aşırı küçültüyor) */
@media (max-width:600px){
  .wp-block-table th,
  .wp-block-table td{
    font-size: 0.88rem !important;
  }
  .wp-block-table thead th{
    font-size: 0.92rem !important;
  }
}