/*!
Theme Name: Blocksy
Theme URI: https://creativethemes.com/blocksy/
Author: CreativeThemes
Author URI: https://creativethemes.com
Description: Blocksy is a fast, modern WordPress theme with advanced WooCommerce support and full compatibility with the block editor.
Version: 2.1.14
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Copyright: (c) 2019 CreativeThemes.
Requires at least: 6.5
Requires PHP: 7.0
Tested up to: 6.8
Text Domain: blocksy
Blocksy Minimum Companion Version: 2.0.74-beta1
Tags: accessibility-ready, blog, block-patterns, e-commerce, wide-blocks, block-styles, grid-layout, one-column, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, translation-ready, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments
*/



  /* ——— Sekmeler (WP güvenli) ———
     :has() kullandık; input'lar <p> içine konsa bile çalışır. */

  /* Aktif sekme buton stili */
  #${uid}-root:has(#${uid}-today:checked)    .ts-tabbar label[for="${uid}-today"],
  #${uid}-root:has(#${uid}-tomorrow:checked) .ts-tabbar label[for="${uid}-tomorrow"]{
    background:#111827;color:#fff;border-color:#111827
  }

  /* İçerik görünürlüğü */
  #${uid}-root:has(#${uid}-today:checked) [data-pane="today"]{display:block!important}
  #${uid}-root:has(#${uid}-today:checked) [data-pane="tomorrow"]{display:none!important}

  #${uid}-root:has(#${uid}-tomorrow:checked) [data-pane="today"]{display:none!important}
  #${uid}-root:has(#${uid}-tomorrow:checked) [data-pane="tomorrow"]{display:block!important}

  /* Tema/WordPress editor'unun araya attığı <br>’leri gizle */
  .ts-tabbar br{display:none!important}

  /* Görsel */
  .ts-tabbar{display:flex;gap:.5rem;margin:.25rem 0 1rem;flex-wrap:nowrap}
  .ts-tabbar .ts-tab{
    appearance:none;border:1px solid #d1d5db;background:#fff;border-radius:.6rem;
    padding:.45rem .8rem;cursor:pointer;font-size:.95rem
  }
  .ts-panes .ts-pane{display:block}

  /* Eski tarayıcılar için ek (fallback): input ile kardeş seçici.
     WP <p> sarmalamazsa bu da çalışır. */
  #${uid}-today:checked ~ .ts-tabbar label[for="${uid}-today"],
  #${uid}-tomorrow:checked ~ .ts-tabbar label[for="${uid}-tomorrow"]{
    background:#111827;color:#fff;border-color:#111827
  }
  #${uid}-tomorrow:checked ~ .ts-panes [data-pane="today"]{display:none!important}
  #${uid}-tomorrow:checked ~ .ts-panes [data-pane="tomorrow"]{display:block!important}
  #${uid}-today:checked ~ .ts-panes [data-pane="today"]{display:block!important}
  #${uid}-today:checked ~ .ts-panes [data-pane="tomorrow"]{display:none!important}










