/* ============================================
   AGRI HABER AJANSI - KRİTİK CSS
   Above-the-fold içerik için gerekli minimum stiller
   Bu dosya <head> içinde inline olarak yüklenir
   ============================================ */

/* === CSS RESET & BASE === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{line-height:1.15;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:1rem;line-height:1.5;color:#212529;background-color:#fff;margin:0;padding:0}
img{max-width:100%;height:auto;display:block;border-style:none}
a{color:#0d6efd;text-decoration:none;background-color:transparent}
a:hover{color:#0a58ca;text-decoration:underline}
h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}
p{margin-top:0;margin-bottom:1rem}
small{font-size:.875em}

/* === BOOTSTRAP GRID SİSTEMİ (Kritik) === */
.container{width:100%;padding-right:.75rem;padding-left:.75rem;margin-right:auto;margin-left:auto}
@media (min-width:576px){.container{max-width:540px}}
@media (min-width:768px){.container{max-width:720px}}
@media (min-width:992px){.container{max-width:960px}}
@media (min-width:1200px){.container{max-width:1140px}}
@media (min-width:1400px){.container{max-width:1320px}}
.row{display:flex;flex-wrap:wrap;margin-right:-.75rem;margin-left:-.75rem}
.col-12,.col-md-6,.col-lg-4,.col-lg-8{position:relative;width:100%;padding-right:.75rem;padding-left:.75rem}
.col-12{flex:0 0 100%;max-width:100%}
@media (min-width:768px){.col-md-6{flex:0 0 50%;max-width:50%}}
@media (min-width:992px){.col-lg-4{flex:0 0 33.333333%;max-width:33.333333%}.col-lg-8{flex:0 0 66.666667%;max-width:66.666667%}}

/* === SPACING UTILITIES === */
.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}
.mb-4{margin-bottom:1.5rem!important}
.mb-2{margin-bottom:.5rem!important}
.me-2{margin-right:.5rem!important}
.pb-2{padding-bottom:.5rem!important}
.h-100{height:100%!important}

/* === BORDER === */
.border-bottom{border-bottom:1px solid #dee2e6!important}
.border-0{border:0!important}

/* === SON DAKİKA TICKER (Kritik - Üst bölgede) === */
.ticker-wrapper{display:flex;background:linear-gradient(90deg,#dc3545 0,#c82333 100%);border-radius:8px;overflow:hidden;margin-bottom:1.5rem;box-shadow:0 2px 8px rgba(220,53,69,.3);height:48px;align-items:center}
.ticker-label{flex-shrink:0;background:rgba(0,0,0,.2);color:#fff;padding:0 1.25rem;font-weight:700;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px;height:100%;display:flex;align-items:center;white-space:nowrap;z-index:2}
.ticker-content{flex:1;overflow:hidden;position:relative;height:100%;display:flex;align-items:center}
.ticker-item{color:#fff!important;padding:0 2rem;font-size:.9375rem;font-weight:500;white-space:nowrap;animation:ticker 30s linear infinite;display:inline-flex;align-items:center;height:100%}
.ticker-item:hover{color:#fff;text-decoration:underline}
@keyframes ticker{0%{transform:translateX(100%)}100%{transform:translateX(-100%)}}

/* === HABER KARTLARI (Kritik - LCP alanı) === */
.news-card{background:#fff;border-radius:12px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease;height:100%;display:flex;flex-direction:column}
.news-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px rgba(0,0,0,.15)!important}
.card-img-wrapper{position:relative;display:block;overflow:hidden;padding-top:56.25%;background:#f8f9fa}
.card-img-top{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.news-card:hover .card-img-top{transform:scale(1.05)}
.card-body{flex:1 1 auto;padding:1.25rem;display:flex;flex-direction:column}
.card-title{margin-bottom:.75rem;font-size:1.1rem;line-height:1.4;font-weight:600}
.card-title a{color:#212529}
.card-title a:hover{color:#0d6efd;text-decoration:none}
.card-text{flex:1 1 auto;color:#6c757d!important;margin-bottom:.75rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* === BADGE === */
.badge{display:inline-block;padding:.35em .65em;font-size:.75em;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem}
.bg-primary{background-color:#0d6efd!important}
.mb-2{margin-bottom:.5rem!important}

/* === PAGINATION (Kritik - Above fold'da olabilir) === */
.pagination{display:flex;padding-left:0;list-style:none;border-radius:.25rem;justify-content:center!important;flex-wrap:wrap}
.page-link{position:relative;display:block;padding:.5rem .75rem;margin-left:-1px;line-height:1.25;color:#0d6efd;background-color:#fff;border:1px solid #dee2e6;text-decoration:none}
.page-link:hover{z-index:2;color:#0a58ca;background-color:#e9ecef;border-color:#dee2e6}
.page-item.active .page-link{z-index:3;color:#fff;background-color:#0d6efd;border-color:#0d6efd}
.page-item:first-child .page-link{margin-left:0;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}
.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}

/* === SHADOW === */
.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}

/* === TEXT UTILITIES === */
.text-white{color:#fff!important}
.text-dark{color:#212529!important}
.text-muted{color:#6c757d!important}
.text-decoration-none{text-decoration:none!important}
.small{font-size:.875em!important}



/* === RESPONSIVE GÖRSEL BOYUTLANDIRMA (CLS Önleme) === */
.card-img-wrapper{aspect-ratio:16/9}
@media (max-width:768px){.manset-image{height:250px}.manset-title{font-size:1.25rem}}

/* === FONT AWESOME ICON FALLBACK === */
.fas,.fa{display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1;font-family:sans-serif}
.me-2{margin-right:.5rem!important}

/* === LOADING STATE (FOUC Önleme) === */
html{visibility:visible;opacity:1;transition:opacity .1s}
html.loading{visibility:hidden;opacity:0}