/*
Theme Name: Askeri Gazete Mobile First
Theme URI: https://askerigazete.com
Author: Askeri Gazete
Description: Askerî Gazete için mobil öncelikli siyah-altın think tank WordPress teması.
Version: 2.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: askeri-gazete-mobile
Tags: news, blog, dark, custom-logo, featured-images, responsive
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;800&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root{
  --bg:#050505;
  --card:#101010;
  --card2:#171717;
  --gold:#D4A017;
  --gold2:#F2C75C;
  --text:#F5F5F5;
  --muted:#B8B8B8;
  --line:rgba(212,160,23,.22);
}

*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',Arial,sans-serif;
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.ag-wrap{width:min(100% - 28px,1180px);margin:auto}

/* MOBILE FIRST HEADER */
.ag-top{
  background:#010101;
  border-bottom:1px solid var(--line);
  color:var(--gold2);
  font-size:11px;
  font-weight:800;
  letter-spacing:.4px;
  text-align:center;
  padding:8px 12px;
}
.ag-header{
  background:
    radial-gradient(circle at 50% 0%,rgba(212,160,23,.18),transparent 35%),
    linear-gradient(180deg,#090909,#030303);
  border-bottom:1px solid var(--line);
  padding:16px 0 14px;
}
.ag-brand{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.ag-logo img,.custom-logo{
  width:70px;
  height:70px;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 0 0 2px var(--gold),0 0 22px rgba(212,160,23,.35);
}
.ag-title{
  margin:0;
  font-family:'Cinzel',serif;
  font-size:25px;
  line-height:1;
  color:#fff;
  letter-spacing:.6px;
}
.ag-sub{
  margin:5px 0 0;
  color:var(--gold2);
  font-size:10px;
  font-weight:800;
  letter-spacing:.6px;
}

/* HORIZONTAL MOBILE MENU */
.ag-nav{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(5,5,5,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(12px);
}
.ag-menu,.ag-menu ul{
  list-style:none;
  display:flex;
  overflow-x:auto;
  gap:8px;
  margin:0;
  padding:10px 14px;
  scrollbar-width:none;
}
.ag-menu::-webkit-scrollbar{display:none}
.ag-menu a{
  display:block;
  white-space:nowrap;
  background:#111;
  border:1px solid rgba(212,160,23,.18);
  color:#eee;
  padding:9px 13px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
}
.ag-menu a:hover,.current-menu-item>a{
  background:var(--gold);
  color:#070707;
}

/* HERO */
.ag-hero{
  position:relative;
  overflow:hidden;
  min-height:470px;
  background:
    linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.92)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1100&q=85");
  background-size:cover;
  background-position:center;
  border-bottom:1px solid var(--line);
}
.ag-hero:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 70% 25%,rgba(212,160,23,.22),transparent 23%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.025) 0,rgba(255,255,255,.025) 1px,transparent 1px,transparent 54px);
}
.ag-hero-content{
  position:relative;
  z-index:2;
  min-height:470px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:34px 0;
}
.ag-pill{
  width:max-content;
  background:var(--gold);
  color:#050505;
  padding:7px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  margin-bottom:12px;
}
.ag-hero h2{
  font-family:'Cinzel',serif;
  margin:0 0 12px;
  font-size:30px;
  line-height:1.13;
}
.ag-hero p{
  margin:0 0 18px;
  color:#e0e0e0;
  font-size:14px;
}
.ag-btn{
  display:inline-flex;
  width:max-content;
  border:1px solid var(--gold);
  color:#fff;
  padding:11px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  background:rgba(0,0,0,.35);
}

/* CONTENT */
.ag-main{padding:18px 0 72px}
.ag-section{margin-bottom:20px}
.ag-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}
.ag-section h3{
  margin:0;
  font-family:'Cinzel',serif;
  font-size:20px;
}
.ag-section h3:before{
  content:"";
  display:inline-block;
  width:4px;
  height:19px;
  background:var(--gold);
  margin-right:9px;
  vertical-align:-3px;
}
.ag-all{
  color:var(--gold2);
  font-size:11px;
  font-weight:900;
}

/* MOBILE FEATURED CARD */
.ag-feature-card{
  border:1px solid var(--line);
  background:linear-gradient(180deg,var(--card2),#080808);
  border-radius:18px;
  overflow:hidden;
  margin-bottom:12px;
}
.ag-feature-img{height:210px;background:#222}
.ag-feature-img img{width:100%;height:100%;object-fit:cover}
.ag-feature-body{padding:15px}
.ag-cat{
  display:inline-block;
  background:rgba(212,160,23,.16);
  color:var(--gold2);
  padding:4px 8px;
  border-radius:999px;
  font-size:10px;
  font-weight:900;
  margin-bottom:9px;
}
.ag-feature-body h4{margin:0 0 8px;font-size:20px;line-height:1.25}
.ag-feature-body p{margin:0;color:var(--muted);font-size:13px}
.ag-meta{font-size:11px;color:#9d9d9d;margin-top:12px;display:flex;justify-content:space-between}

.ag-card-list{
  display:flex;
  flex-direction:column;
  gap:11px;
}
.ag-mini-card{
  display:grid;
  grid-template-columns:96px 1fr;
  gap:12px;
  border:1px solid rgba(212,160,23,.16);
  background:#0b0b0b;
  border-radius:14px;
  overflow:hidden;
}
.ag-mini-img{height:96px;background:#222}
.ag-mini-img img{width:100%;height:100%;object-fit:cover}
.ag-mini-body{padding:10px 10px 10px 0}
.ag-mini-body h4{margin:0;font-size:14px;line-height:1.25}
.ag-mini-body span{display:block;color:var(--gold2);font-size:10px;font-weight:900;margin-bottom:5px}

/* QUICK TOPICS */
.ag-topics{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.ag-topic{
  border:1px solid var(--line);
  background:linear-gradient(180deg,#121212,#080808);
  border-radius:16px;
  padding:14px 10px;
  text-align:center;
}
.ag-topic-icon{
  width:46px;height:46px;
  border-radius:50%;
  border:1px solid var(--gold);
  display:grid;
  place-items:center;
  margin:0 auto 8px;
  color:var(--gold2);
  font-weight:900;
}
.ag-topic strong{display:block;font-size:13px}
.ag-topic small{color:var(--muted);font-size:11px}

/* REGION CARDS */
.ag-region-scroll{
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding-bottom:3px;
  scrollbar-width:none;
}
.ag-region-scroll::-webkit-scrollbar{display:none}
.ag-region{
  min-width:190px;
  height:130px;
  border-radius:18px;
  border:1px solid var(--line);
  background:
    linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.82)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=700&q=80");
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:flex-end;
  padding:13px;
  font-weight:900;
}

/* NEWSLETTER */
.ag-newsletter{
  border:1px solid var(--line);
  background:linear-gradient(180deg,#131313,#070707);
  border-radius:20px;
  padding:18px;
}
.ag-newsletter h3{font-family:'Cinzel',serif;margin:0 0 8px}
.ag-newsletter p{color:var(--muted);font-size:13px;margin:0 0 13px}
.ag-newsletter input{
  width:100%;
  padding:13px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#070707;
  color:#fff;
  margin-bottom:10px;
}
.ag-newsletter button{
  width:100%;
  padding:13px;
  border-radius:999px;
  border:0;
  background:var(--gold);
  color:#060606;
  font-weight:900;
}

/* POSTS */
.ag-posts{padding:20px 0 70px}
.ag-post{
  border:1px solid var(--line);
  background:#0b0b0b;
  border-radius:18px;
  padding:18px;
  margin-bottom:16px;
}
.ag-post h1,.ag-post h2{font-family:'Cinzel',serif;margin-top:0}
.ag-post-content{color:#e7e7e7}

/* FOOTER */
.ag-footer{
  background:#020202;
  border-top:1px solid var(--line);
  padding:26px 0;
  color:var(--muted);
}
.ag-footer h3,.ag-footer h4{font-family:'Cinzel',serif;color:#fff;margin-top:0}
.ag-footer-grid{display:grid;gap:18px}
.ag-footer a{display:block;color:var(--muted);margin:5px 0}
.ag-copy{border-top:1px solid var(--line);margin-top:16px;padding-top:12px;font-size:11px}

/* DESKTOP ENHANCEMENT */
@media(min-width:760px){
  .ag-top{font-size:13px}
  .ag-header{padding:22px 0}
  .ag-brand{gap:20px}
  .ag-logo img,.custom-logo{width:105px;height:105px}
  .ag-title{font-size:48px}
  .ag-sub{font-size:13px}
  .ag-menu,.ag-menu ul{justify-content:center}
  .ag-menu a{border-radius:0;background:transparent;border:0;padding:17px 16px}
  .ag-menu a:hover,.current-menu-item>a{background:transparent;color:var(--gold2);border-bottom:2px solid var(--gold)}
  .ag-hero,.ag-hero-content{min-height:520px}
  .ag-hero h2{font-size:48px;max-width:760px}
  .ag-hero p{font-size:16px;max-width:650px}
  .ag-layout{
    display:grid;
    grid-template-columns:1.5fr .9fr;
    gap:22px;
    align-items:start;
  }
  .ag-desktop-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
  }
  .ag-topics{grid-template-columns:repeat(3,1fr)}
  .ag-footer-grid{grid-template-columns:1.4fr 1fr 1fr 1fr}
}

@media(min-width:1100px){
  .ag-layout{grid-template-columns:1.7fr .75fr}
  .ag-topics{grid-template-columns:repeat(6,1fr)}
}
