/*
Theme Name: Gökçe Medya — Gökbörü
Theme URI: https://gokcemedya.com/
Author: Gökçe Medya
Description: Gökçe Medya için koyu lacivert, haber-dergi teması. Son dakika şeridi, podcast ve reels alanları, Onuncu Köy kutusu yönetim panelinden kontrol edilir.
Version: 1.0.8
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gokce-gokboru
*/

:root{
  --gm-bg:#0E1621;--gm-surface:#16212F;--gm-line:#22303F;--gm-media:#1F3348;
  --gm-text:#EEF2F6;--gm-soft:#C5D0DC;--gm-muted:#9AA8B8;--gm-accent:#4FB3E8;
  --gm-wrap:1280px;--gm-radius:18px;
  --gm-head:'Oswald',sans-serif;--gm-body:'Inter',sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--gm-bg);color:var(--gm-text);font-family:var(--gm-body);font-size:16px;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:var(--gm-text);text-decoration:none}
a:hover,a:focus{color:var(--gm-accent)}
:focus-visible{outline:2px solid var(--gm-accent);outline-offset:2px}
h1,h2,h3,h4{font-family:var(--gm-head);font-weight:600;line-height:1.25;margin:0}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed;top:8px;left:8px;width:auto;height:auto;clip:auto;z-index:1000;background:var(--gm-accent);color:var(--gm-bg);padding:10px 16px;border-radius:8px}
.gm-wrap{max-width:var(--gm-wrap);margin:0 auto;padding-left:24px;padding-right:24px}
.gm-eyebrow{font-size:12px;font-weight:600;letter-spacing:.1em;color:var(--gm-accent);text-transform:uppercase}
.gm-meta{font-size:13px;color:var(--gm-muted)}
.gm-section-title{font-size:34px;text-transform:uppercase;margin:0 0 16px}

/* Üst bar */
.gm-topbar{border-bottom:1px solid var(--gm-line);font-size:12px;color:var(--gm-muted)}
.gm-topbar .gm-wrap{display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between;padding-top:10px;padding-bottom:10px}
.gm-topbar a{color:var(--gm-muted)}
.gm-topbar ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 20px}

/* Başlık */
.gm-header{display:grid;grid-template-columns:minmax(44px,1fr) minmax(0,auto) minmax(44px,1fr);gap:16px;align-items:center;padding-top:32px;padding-bottom:26px}
.gm-brand{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;min-width:0}
.gm-logo{height:52px;width:auto;max-width:100%}
.gm-brand .custom-logo{height:52px;width:auto;max-width:100%}
.gm-tagline{font-size:12px;letter-spacing:.22em;line-height:1.6;color:var(--gm-muted);text-transform:uppercase}
.gm-icon-btn{width:44px;height:44px;border-radius:22px;border:1px solid var(--gm-line);background:var(--gm-surface);color:var(--gm-text);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.gm-header-right{display:flex;justify-content:flex-end}
.gm-ok{display:flex;align-items:center;gap:8px;height:44px;padding:0 20px;border-radius:22px;background:var(--gm-accent);color:var(--gm-bg);font-weight:600;font-size:14px;white-space:nowrap}
.gm-ok:hover,.gm-ok:focus{color:var(--gm-bg);opacity:.9}
.gm-search{display:none;padding-bottom:20px}
.gm-search.is-open{display:block}
.gm-search form,.gm-searchform{display:flex;gap:10px;max-width:560px;margin:0 auto}
.gm-search input[type=search],.gm-searchform input[type=search]{flex:1;height:48px;border-radius:24px;border:1px solid var(--gm-line);background:var(--gm-surface);color:var(--gm-text);padding:0 20px;font:inherit}
.gm-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:22px;border:0;background:var(--gm-accent);color:var(--gm-bg);padding:0 22px;font:inherit;font-weight:600;font-size:14px;cursor:pointer}
.gm-btn:hover,.gm-btn:focus{color:var(--gm-bg);opacity:.9}
.gm-btn-ghost{background:none;border:1px solid var(--gm-accent);color:var(--gm-accent)}
.gm-btn-ghost:hover,.gm-btn-ghost:focus{color:var(--gm-accent)}

/* Menü */
.gm-nav{border-top:1px solid var(--gm-line);border-bottom:1px solid var(--gm-line)}
.gm-nav ul{list-style:none;margin:0 auto;padding:0 24px;max-width:var(--gm-wrap);display:flex;flex-wrap:wrap;justify-content:center;gap:0 32px;font-family:var(--gm-head);font-weight:500;font-size:15px;letter-spacing:.1em;text-transform:uppercase}
.gm-nav li{position:relative}
.gm-nav a{display:block;padding:14px 0;color:var(--gm-soft)}
.gm-nav a:hover,.gm-nav .current-menu-item>a,.gm-nav .current-category-ancestor>a{color:var(--gm-accent)}
.gm-nav .sub-menu{display:none;position:absolute;top:100%;left:-16px;z-index:50;min-width:220px;padding:8px 16px;gap:0;flex-direction:column;background:var(--gm-surface);border:1px solid var(--gm-line);border-radius:12px;letter-spacing:.04em;text-transform:none}
.gm-nav li:hover>.sub-menu,.gm-nav li:focus-within>.sub-menu{display:flex}
.gm-nav .sub-menu a{padding:10px 0}

/* Son dakika */
.gm-ticker{background:var(--gm-surface);border-bottom:1px solid var(--gm-line)}
.gm-ticker .gm-wrap{display:flex;flex-wrap:wrap;gap:8px 28px;padding-top:12px;padding-bottom:12px;font-size:13px;line-height:1.5}
.gm-ticker-label{font-family:var(--gm-head);letter-spacing:.1em;color:var(--gm-accent)}
.gm-ticker a{color:var(--gm-soft)}

/* Ana içerik */
.gm-main{padding-top:40px;padding-bottom:72px}
.gm-block{margin-top:64px}

/* Manşet */
.gm-hero{display:flex;flex-wrap:wrap;gap:24px}
.gm-hero-main{flex:2 1 600px;min-width:0;border-radius:var(--gm-radius);background:var(--gm-surface);border:1px solid var(--gm-line);overflow:hidden;display:flex;flex-direction:column}
.gm-hero-main .gm-thumb{display:block;aspect-ratio:16/9;background:var(--gm-media)}
.gm-hero-main .gm-thumb img{width:100%;height:100%;object-fit:cover}
.gm-hero-body{padding:28px 32px 32px}
.gm-hero-body h1,.gm-hero-body h2.gm-hero-title{font-size:44px;font-weight:700;line-height:1.15;text-transform:uppercase;margin:12px 0}
.gm-hero-body p{margin:0 0 16px;font-size:18px;line-height:1.6;color:var(--gm-soft);max-width:680px}
.gm-pill{display:inline-block;background:var(--gm-accent);color:var(--gm-bg);font-weight:600;font-size:12px;padding:6px 12px;border-radius:20px;letter-spacing:.04em}
.gm-pill:hover,.gm-pill:focus{color:var(--gm-bg)}
.gm-hero-side{flex:1 1 320px;display:flex;flex-direction:column;gap:24px}
.gm-side-card{flex:1;border-radius:var(--gm-radius);background:var(--gm-surface);padding:28px;display:flex;flex-direction:column;justify-content:flex-end;border:1px solid var(--gm-line)}
.gm-side-card h2{font-size:26px;line-height:1.3;margin:10px 0}

/* Dinle & İzle */
.gm-studio{background:var(--gm-surface);border:1px solid var(--gm-line);border-radius:24px;padding:36px}
.gm-studio-head{margin-bottom:28px}
.gm-studio-head h2{font-size:44px;line-height:1.2;text-transform:uppercase;margin:6px 0 0}
.gm-studio-grid{display:flex;flex-wrap:wrap;gap:32px}
.gm-pods{flex:999 1 460px;min-width:0;display:flex;flex-direction:column;gap:16px}
.gm-pod{display:flex;flex-wrap:wrap;gap:20px;align-items:center;background:var(--gm-bg);border:1px solid var(--gm-line);border-radius:var(--gm-radius);padding:18px}
.gm-pod-cover{width:120px;height:120px;flex-shrink:0;border-radius:12px;background:var(--gm-media);overflow:hidden}
.gm-pod-cover img{width:100%;height:100%;object-fit:cover}
.gm-pod-body{flex:1 1 200px;min-width:0}
.gm-pod h3{font-size:26px;text-transform:uppercase;margin:0 0 6px}
.gm-pod p{margin:0 0 14px;font-size:14px;line-height:1.5;color:var(--gm-muted)}
.gm-play{display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:14px}
.gm-play-dot{width:44px;height:44px;border-radius:22px;background:var(--gm-accent);color:var(--gm-bg);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.gm-reels{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:14px}
.gm-reels-head{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600}
.gm-reels-head a{color:var(--gm-accent)}
.gm-reels-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.gm-reel{aspect-ratio:9/16;border-radius:16px;background:var(--gm-media);border:1px solid var(--gm-line);position:relative;display:flex;flex-direction:column;justify-content:flex-end;padding:16px;overflow:hidden}
.gm-reel img.gm-reel-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.gm-reel::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(14,22,33,.85),rgba(14,22,33,0) 55%)}
.gm-reel .gm-play-dot{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:56px;height:56px;border-radius:28px;z-index:2}
.gm-reel-caption{position:relative;z-index:2;font-size:14px;font-weight:600;line-height:1.45}
.gm-reel-embed{min-width:0;overflow:hidden;border-radius:16px}
.gm-reel-embed .instagram-media{min-width:0!important;width:100%!important;margin:0!important}

/* Yazı listeleri */
.gm-two-col{display:flex;flex-wrap:wrap;gap:40px}
.gm-col-main{flex:999 1 560px;min-width:0}
.gm-col-side{flex:1 1 300px;display:flex;flex-direction:column;gap:24px}
.gm-row{display:flex;flex-wrap:wrap;gap:16px 24px;padding:24px 0;border-bottom:1px solid var(--gm-line)}
.gm-row-thumb{display:block;width:220px;flex-shrink:0;aspect-ratio:16/9;border-radius:12px;background:var(--gm-media);overflow:hidden}
.gm-row-thumb img{width:100%;height:100%;object-fit:cover}
.gm-row-body{flex:1 1 240px;min-width:0}
.gm-row h3,.gm-row h2{font-size:26px;line-height:1.3;margin:6px 0 8px}
.gm-row p{margin:0 0 8px;color:var(--gm-soft);font-size:15px}
.gm-more{margin-top:24px}
.gm-card{background:var(--gm-surface);border:1px solid var(--gm-line);border-radius:var(--gm-radius);padding:28px}
.gm-card h2{font-size:22px;text-transform:uppercase;margin:0 0 8px}
.gm-card-item{display:block;padding:14px 0;border-bottom:1px solid var(--gm-line);line-height:1.5}
.gm-card-item:last-child{border-bottom:0;padding-bottom:0}
.gm-card-item b{display:block;font-size:16px}
.gm-card-item span{font-size:13px;color:var(--gm-muted)}
.gm-promo{background:var(--gm-accent);color:var(--gm-bg);border-radius:var(--gm-radius);padding:28px}
.gm-promo h2{font-size:34px;line-height:1.2;text-transform:uppercase;margin:8px 0 10px}
.gm-promo p{margin:0 0 18px;font-size:15px;line-height:1.5}
.gm-promo img{border-radius:10px;margin-bottom:16px;max-height:260px;width:auto}
.gm-promo .gm-btn{background:var(--gm-bg);color:var(--gm-text)}
.gm-promo .gm-btn:hover{color:var(--gm-text)}

/* Arşiv başlığı */
.gm-archive-head{padding-bottom:12px;border-bottom:1px solid var(--gm-line);margin-bottom:8px}
.gm-archive-head h1{font-size:44px;text-transform:uppercase}
.gm-archive-head .gm-desc{color:var(--gm-soft);margin-top:8px}
.pagination,.nav-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:32px}
.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 14px;border-radius:22px;border:1px solid var(--gm-line);color:var(--gm-soft)}
.page-numbers.current{background:var(--gm-accent);border-color:var(--gm-accent);color:var(--gm-bg)}

/* Tekil yazı */
.gm-article{max-width:800px;margin:0 auto}
.gm-article-head h1{font-size:48px;font-weight:700;line-height:1.15;margin:14px 0 16px}
.gm-article-head .gm-meta{font-size:14px}
.gm-article-thumb{margin:32px 0;border-radius:var(--gm-radius);overflow:hidden;background:var(--gm-media)}
.gm-article-thumb img{width:100%}
.gm-content{font-size:18px;line-height:1.8;color:#DDE4EB}
.gm-content>*{margin:0 0 1.2em}
.gm-content h2{font-size:30px;margin:1.6em 0 .6em}
.gm-content h3{font-size:24px;margin:1.4em 0 .5em}
.gm-content a{color:var(--gm-accent);text-decoration:underline;text-underline-offset:3px}
.gm-content blockquote{margin:1.6em 0;padding:4px 0 4px 24px;border-left:3px solid var(--gm-accent);font-size:21px;color:var(--gm-text)}
.gm-content img,.gm-content figure{border-radius:12px}
.gm-content figcaption{font-size:14px;color:var(--gm-muted);margin-top:8px}
.gm-content ul,.gm-content ol{padding-left:1.4em}
.gm-content iframe{max-width:100%}
.gm-content table{width:100%;border-collapse:collapse}
.gm-content td,.gm-content th{border:1px solid var(--gm-line);padding:8px}
.gm-content .alignwide,.gm-content .alignfull{max-width:100%}
.gm-content .aligncenter{margin-left:auto;margin-right:auto}
.gm-content .alignleft{float:left;margin:0 1.2em 1em 0}
.gm-content .alignright{float:right;margin:0 0 1em 1.2em}
.wp-caption-text{font-size:14px;color:var(--gm-muted)}
.gm-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:32px}
.gm-tags a{border:1px solid var(--gm-line);border-radius:20px;padding:6px 14px;font-size:13px;color:var(--gm-soft)}
.gm-author-box{display:flex;gap:20px;align-items:center;margin-top:40px}
.gm-author-box img{border-radius:50%}
.gm-related{margin-top:64px}
.gm-related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.gm-related-grid .gm-row-thumb{width:100%}
.gm-related-grid h3{font-size:20px;margin:12px 0 6px}

/* Yorumlar */
.gm-comments{max-width:800px;margin:64px auto 0}
.gm-comments ol{list-style:none;padding:0}
.gm-comments .comment-body{padding:20px 0;border-bottom:1px solid var(--gm-line)}
.gm-comments input[type=text],.gm-comments input[type=email],.gm-comments input[type=url],.gm-comments textarea{width:100%;border-radius:12px;border:1px solid var(--gm-line);background:var(--gm-surface);color:var(--gm-text);padding:12px 16px;font:inherit}
.gm-comments .submit{min-height:44px;border-radius:22px;border:0;background:var(--gm-accent);color:var(--gm-bg);padding:0 22px;font:inherit;font-weight:600;cursor:pointer}

/* Alt bilgi */
.gm-footer{border-top:1px solid var(--gm-line)}
.gm-footer .gm-wrap{padding-top:48px;padding-bottom:48px;display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center;font-size:13px;color:var(--gm-muted)}
.gm-footer img.gm-logo{height:32px}
.gm-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px}
.gm-footer a{color:var(--gm-muted)}

@media (max-width:700px){
  .gm-logo,.gm-brand .custom-logo{height:auto;width:100%}
  .gm-ok{width:44px;padding:0;justify-content:center}
  .gm-ok-label,.gm-tagline{display:none}
  .gm-nav ul{gap:0 20px;font-size:14px}
  .gm-hero-body{padding:22px}
  .gm-hero-body h1,.gm-hero-body h2.gm-hero-title{font-size:32px}
  .gm-studio{padding:22px}
  .gm-studio-head h2{font-size:34px}
  .gm-pod-cover{width:88px;height:88px}
  .gm-row-thumb{width:100%}
  .gm-article-head h1{font-size:34px}
  .gm-content{font-size:17px}
}

/* WooCommerce (koyu tema uyumu) */
.woocommerce .gm-content,.woocommerce-page .gm-content{color:var(--gm-text)}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--gm-accent)!important}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--gm-accent)!important;color:var(--gm-bg)!important;border-radius:22px!important;padding:12px 22px!important;font-weight:600!important}
.woocommerce .quantity .qty,.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce-page .select2-container .select2-selection{background:var(--gm-surface)!important;color:var(--gm-text)!important;border:1px solid var(--gm-line)!important;border-radius:10px}
.woocommerce div.product .woocommerce-tabs ul.tabs li,.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--gm-surface)!important;border-color:var(--gm-line)!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--gm-text)!important}
.woocommerce table.shop_table,.woocommerce-cart table.cart td,.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-color:var(--gm-line)!important;color:var(--gm-text)}
.woocommerce-message,.woocommerce-info,.woocommerce-error{background:var(--gm-surface)!important;color:var(--gm-text)!important;border-top-color:var(--gm-accent)!important}
.woocommerce-checkout #payment,.woocommerce-checkout #payment div.payment_box{background:var(--gm-surface)!important;color:var(--gm-text)!important}
.woocommerce span.onsale{background:var(--gm-accent)!important;color:var(--gm-bg)!important}

/* Kapak ızgarası (Onuncu Köy, Dergi/Kitap) */
.gm-cover-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:36px 24px;margin-top:28px}
.gm-cover{display:block;border-radius:10px;overflow:hidden;background:var(--gm-media);border:1px solid var(--gm-line)}
.gm-cover img{width:100%;height:auto;display:block}
.gm-cover-card h2{font-size:19px;line-height:1.35;margin:14px 0 6px}
@media (max-width:700px){.gm-cover-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}.gm-cover-card h2{font-size:16px}}

/* Mobil: Dinle & İzle kare düzen */
@media (max-width:700px){
  .gm-wrap{padding-left:16px;padding-right:16px}
  .gm-studio{padding:18px 14px;border-radius:18px;margin-left:-4px;margin-right:-4px}
  .gm-studio-head{margin-bottom:18px}
  .gm-studio-grid{gap:24px}
  .gm-pods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;flex-basis:100%}
  .gm-pod{flex-direction:column;align-items:stretch;gap:8px;padding:0;background:none;border:0;border-radius:0}
  .gm-pod-cover{width:100%;height:auto;aspect-ratio:1/1;border-radius:12px}
  .gm-pod-body{flex:none}
  .gm-pod h3{font-size:14px;line-height:1.25;margin:0 0 6px}
  .gm-pod p{display:none}
  .gm-play{gap:6px;font-size:12px}
  .gm-play-dot{width:30px;height:30px}
  .gm-play-dot svg{width:12px;height:12px}
  .gm-reels{flex-basis:100%}
  .gm-reels-grid{gap:10px}
}

/* Masaüstü: dar podcast sütunu + 3 reels */
@media (min-width:1101px){
  .gm-pods{flex:0 0 320px;justify-content:space-between}
  .gm-pod{padding:14px;gap:16px;flex-wrap:nowrap}
  .gm-pod-body{flex:1 1 0}
  .gm-pod-cover{width:96px;height:96px}
  .gm-pod p{margin-bottom:10px;font-size:13px}
  .gm-pod h3{font-size:22px}
  .gm-reels{flex:1 1 420px}
  .gm-reels-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1100px){.gm-reels-grid>:nth-child(n+3){display:none}}

/* Küçük kapak kutucukları */
.gm-side-card{flex-direction:row;align-items:center;gap:18px}
.gm-side-body{flex:1 1 0;min-width:0}
.gm-mini{flex:0 0 112px;width:112px;aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:var(--gm-media);display:block}
.gm-mini img{width:100%;height:100%;object-fit:cover}
.gm-mini-sm{flex-basis:56px;width:56px;border-radius:8px}
.gm-card-item-thumb{display:flex;gap:12px;align-items:center}
.gm-card-text{flex:1 1 0;min-width:0}
.gm-card-item .gm-card-text{color:var(--gm-text);font-size:16px}
.gm-card-item .gm-card-text span{display:block;color:var(--gm-muted);font-size:13px}
img.gm-thumb-fallback{object-fit:contain!important;padding:18%;opacity:.5}
@media (max-width:700px){.gm-mini{flex-basis:84px;width:84px}.gm-side-card h2{font-size:20px}}

/* Manşet yanı kartlar: arka planda kapak + okunurluk için gradyan */
.gm-side-card{position:relative;overflow:hidden;flex-direction:column;justify-content:flex-end;align-items:stretch;gap:0;min-height:220px}
.gm-side-bg{position:absolute;inset:0;z-index:0}
.gm-side-bg img{width:100%;height:100%;object-fit:cover}
.gm-side-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(14,22,33,.97) 0%,rgba(14,22,33,.88) 38%,rgba(14,22,33,.45) 72%,rgba(14,22,33,.2) 100%)}
.gm-side-body{position:relative;z-index:1;flex:0 0 auto}
.gm-side-card img.gm-thumb-fallback{padding:25%}
