/*
Theme Name: Haber Bülteni Gazete Teması
Theme URI: https://github.com/
Author: we
Author URI: 
Description: En Hızlı ve En Doğru Güncel Haberlerin Tek Adresi - Google News uyumlu, ultra hızlı, Neubrutalist gazete tasarımlı, mobil öncelikli ve SEO optimize edilmiş WordPress haber teması.
Version: 1.0.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU GPLv2 or later
Text Domain: haberpress
*/

/* --- NEUBRUTALIST EDITORIAL NEWSPAPER STYLING --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a;
  background-color: #fafaf6;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #b91c1c;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
}

/* --- HEADINGS & TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  color: #000000;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

/* Base Editorial Accents */
.newspaper-headline {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  text-align: center;
  color: #000;
  line-height: 1;
  margin: 12px 0;
}

.newspaper-tagline {
  font-family: monospace;
  font-[900];
  font-weight: 950;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #b91c1c;
  margin-top: 6px;
  text-align: center;
}

/* --- GRID VE YERLEŞİM MODELLERİ --- */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* NEUBRUTALIST BUTTONS OR BADGES */
.news-badge {
  display: inline-block;
  background-color: #b91c1c;
  color: #ffffff;
  padding: 0.15rem 0.6rem;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  border: 1px solid #000000;
  letter-spacing: 0.05em;
}

.post-card {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 0px !important; /* Strictly neubrutalist squared corners */
  overflow: hidden;
  box-shadow: 3px 3px 0px 0px #000000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0px 0px #000000;
}

.post-image-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  background: #f1f5f9;
  border-bottom: 2px solid #000000;
}

.post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 10px;
  font-family: monospace;
  font-weight: bold;
  text-transform: uppercase;
  color: #334155;
  margin-bottom: 0.5rem;
}

/* NEUBRUTALIST ACTION BUTTONS */
.read-more-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background-color: #fffbeb;
  border: 2px solid #000000;
  border-radius: 0px !important;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  color: #000000;
  cursor: pointer;
  box-shadow: 2px 2px 0px 0px #000000;
  transition: all 0.15s ease;
  margin-top: 1rem;
}

.read-more-btn:hover {
  background-color: #ffffff;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px 0px #000000;
}

/* --- GOOGLE ADSENSE RETRO NEUBRUTALIST ALANI --- */
.adsense-placement {
  background: #fffbeb;
  border: 2px dashed #000000;
  border-radius: 0px !important;
  padding: 1.5rem;
  margin: 1.5rem 0;
  min-height: 100px;
  color: #000000;
  font-family: monospace;
  font-weight: bold;
  text-align: center;
  box-shadow: 3px 3px 0px 0px #000000;
}

/* --- SINGLE ARTICLE SYSTEM DETAILS --- */
.single-article-box {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 0px !important;
  padding: 2rem;
  box-shadow: 4px 4px 0px 0px #000000;
}

.single-summary-blockquote {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 1.05rem;
  border-left: 4px solid #000000;
  padding: 0.5rem 0 0.5rem 0.75rem;
  background: #fffbeb;
  margin-bottom: 1.5rem;
  color: #000000;
}

.author-compliance-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #fbfbf8;
  border: 2px solid #000000;
  border-radius: 0px !important;
  margin-bottom: 2rem;
  box-shadow: 2px 2px 0px 0px #000000;
}

.author-circle-logo {
  width: 42px;
  height: 42px;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border: 2px solid #000000;
}

.editorial-tagline {
  font-size: 10px;
  color: #475569;
  font-weight: bold;
  text-transform: uppercase;
}

.article-body-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #111111;
}

.article-body-content p {
  margin-bottom: 1.5rem;
}

.article-body-content h3 {
  font-size: 1.3rem;
  font-weight: 900;
  border-bottom: 2px solid #000000;
  padding-bottom: 4px;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.article-body-content ul {
  list-style-type: square;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/* WORDPRESS CORE MENU COMPATIBILITY */
.main-navigation,
.main-navigation-container,
.menu-header-container,
.menu-header-container > div,
.main-navigation-ul,
.main-navigation ul,
.menu,
.menu ul,
.sub-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.75rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

.main-navigation li,
.main-navigation-ul li,
.menu li,
.menu ul li,
.menu-item,
.sub-menu li {
  display: inline-block !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.main-navigation a,
.main-navigation-ul li a,
.menu a,
.menu-item a,
.sub-menu a {
  display: block !important;
  padding: 0.25rem 0.6rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
  transition: all 0.2s !important;
  border: 1px solid transparent !important;
  color: #000000 !important;
  background-color: transparent !important;
  text-decoration: none !important;
}

.main-navigation a:hover,
.main-navigation-ul li a:hover,
.menu a:hover,
.menu-item a:hover,
.current-menu-item a,
.current-menu-item > a,
.main-navigation .current_page_item a,
.menu .current_page_item a {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}