/*
Theme Name: Altınkayalar Otomotiv Haber
Theme URI: https://altinkayalar.net/
Author: Altınkayalar
Description: Elementor gerektirmeyen, Gutenberg destekli, beş otomotiv kategorisini otomatik haber akışları halinde sunan özgün haber portalı teması.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: altinkayalar-otomotiv
Tags: blog, news, block-patterns, full-site-editing, featured-images, custom-colors, wide-blocks
*/
:root {
  --ak-ink:#121820; --ak-charcoal:#19232e; --ak-red:#d91e33; --ak-red-light:#fcebed;
  --ak-muted:#637080; --ak-line:#e9edf0; --ak-soft:#f4f6f8; --ak-white:#fff;
  --ak-shadow:0 10px 35px rgba(18,24,32,.055);
  --ak-radius:13px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ak-ink);background:var(--ak-white);-webkit-font-smoothing:antialiased}
body,.wp-site-blocks{overflow-x:hidden}
body a{transition:color .17s ease}
body a:hover{color:var(--ak-red)}
.wp-site-blocks{padding-top:0!important;padding-bottom:0!important}
.wp-site-blocks > *{margin-block-start:0!important}
.ak-container{width:calc(100% - 44px);max-width:1260px;margin-left:auto!important;margin-right:auto!important}
.ak-header{background:#fff;border-bottom:1px solid var(--ak-line);position:relative;z-index:30;margin-top:0!important;box-shadow:0 2px 10px rgba(5,15,30,.035)}
.ak-header-inner{min-height:91px;padding:16px 0;gap:24px!important}
.ak-header-inner.alignwide{max-width:1260px;width:calc(100% - 44px)}
.ak-header .wp-block-navigation{gap:23px;font-weight:700;font-size:13px}
.ak-header .wp-block-navigation .wp-block-navigation-item__content{color:var(--ak-ink)}
.ak-header .wp-block-navigation .wp-block-navigation-item__content:hover{color:var(--ak-red)}
.ak-header .wp-block-navigation__responsive-container-open{background:var(--ak-soft);padding:9px;border-radius:8px}
.ak-brand{font-size:25px!important;font-weight:950;letter-spacing:-1.4px;line-height:1;margin:0!important;white-space:nowrap}
.ak-brand a,.ak-brand a:hover{color:var(--ak-ink);text-decoration:none}
.ak-brand span,.ak-footer-brand span{color:var(--ak-red)}
.ak-brand small{display:block;margin:7px 0 0 2px;font-size:9px;letter-spacing:2.7px;font-weight:800;color:#818891}
.ak-header-search{width:38px!important;min-width:38px!important;display:flex;align-items:center;justify-content:center;margin:0!important}
.ak-header-search .wp-block-search__button{background:transparent!important;border:0!important;color:var(--ak-ink)!important;padding:5px!important;margin:0!important}
.ak-header-search .wp-block-search__inside-wrapper{width:auto!important}
.ak-header-search .wp-block-search__button svg{width:22px;height:22px}
.ak-intro{max-width:1260px!important;margin:39px auto 22px!important;width:calc(100% - 44px)}
.ak-eyebrow{color:var(--ak-red);font-size:11px!important;font-weight:900;letter-spacing:2.1px;margin-bottom:9px!important}
.ak-home-title{font-size:clamp(30px,3.4vw,53px)!important;letter-spacing:-1.9px;line-height:1.08!important;margin:0 0 10px!important}
.ak-home-title span{color:var(--ak-red)}
.ak-intro-desc{font-size:15px;color:var(--ak-muted);max-width:830px;margin:0!important}
.ak-lead-section{margin-top:26px!important}
.ak-lead-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:14px;min-height:452px}
.ak-hero-card,.ak-side-story{min-width:0;overflow:hidden;position:relative;border-radius:var(--ak-radius);background:#1b2733;color:#fff;isolation:isolate}
.ak-hero-card{min-height:452px;display:flex;align-items:flex-end}
.ak-hero-background,.ak-side-background{position:absolute;inset:0;z-index:-2;display:block;width:100%;height:100%;overflow:hidden}
.ak-hero-background img,.ak-side-background img,.ak-hero-background .ak-image-missing,.ak-side-background .ak-image-missing{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease}
.ak-hero-card:hover img,.ak-side-story:hover img{transform:scale(1.035)}
.ak-hero-shade,.ak-side-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(4,10,17,.02) 16%,rgba(5,11,19,.30) 49%,rgba(5,11,19,.94) 100%);pointer-events:none}
.ak-hero-copy{padding:37px 38px 30px;z-index:1;width:100%;position:relative}
.ak-category-tag{display:inline-block;background:var(--ak-red);color:#fff!important;font-size:10px;font-weight:900;line-height:1.2;letter-spacing:.38px;text-transform:uppercase;padding:8px 10px;border-radius:4px;text-decoration:none!important}
.ak-category-tag:hover{background:#ab1322;color:#fff!important}
.ak-hero-copy h2{font-size:clamp(25px,3vw,39px);line-height:1.11;letter-spacing:-.9px;margin:18px 0 10px;max-width:650px;color:#fff}
.ak-hero-copy h2 a,.ak-side-copy h3 a{color:#fff;text-decoration:none}
.ak-hero-copy h2 a:hover,.ak-side-copy h3 a:hover{color:#fff;text-decoration:underline;text-decoration-color:var(--ak-red)}
.ak-hero-excerpt{font-size:14px;line-height:1.5;color:rgba(255,255,255,.85);max-width:600px;margin:0 0 18px}
.ak-hero-meta,.ak-side-date{font-size:12px;color:rgba(255,255,255,.8);font-weight:600}
.ak-hero-meta{display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.2);padding-top:14px;gap:15px}
.ak-hero-meta > span{color:#fff}
.ak-lead-side{min-width:0;display:grid;grid-template-rows:1fr 1fr;gap:14px}
.ak-side-story{min-height:219px;display:flex;align-items:flex-end}
.ak-side-copy{padding:19px 23px 20px;width:100%;z-index:1;position:relative}
.ak-side-copy h3{font-size:21px;line-height:1.22;letter-spacing:-.4px;margin:11px 0 7px;color:#fff}
.ak-side-copy .ak-category-tag{font-size:9px;padding:6px 8px}
.ak-image-missing{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 82% 15%,#375573 0,#24384d 24%,#101922 76%);color:#fff}
.ak-image-missing::before{content:'';position:absolute;width:58%;height:170%;transform:rotate(39deg);background:linear-gradient(90deg,transparent,rgba(220,233,244,.14),transparent)}
.ak-image-shape{width:38%;aspect-ratio:1;border:2px solid rgba(255,255,255,.22);border-radius:50%;position:absolute;top:-27%;right:-8%}
.ak-image-letter{font-size:30px;font-weight:950;letter-spacing:-1.5px;z-index:1;opacity:.38}
.ak-image-letter span{color:var(--ak-red)}
.ak-hero-empty{background:linear-gradient(135deg,#1c2e41,#101820)}
.ak-empty-illustration{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#fff}
.ak-empty-illustration::before,.ak-side-empty::before{content:'';position:absolute;width:450px;height:450px;border:1px solid rgba(255,255,255,.11);border-radius:50%;right:-130px;top:-200px;box-shadow:0 0 0 70px rgba(255,255,255,.025),0 0 0 145px rgba(255,255,255,.025)}
.ak-empty-illustration>span{font-size:clamp(28px,4vw,52px);letter-spacing:-2px;font-weight:950;opacity:.09;transform:rotate(-12deg)}
.ak-empty-illustration>span>span{color:var(--ak-red)}
.ak-empty-copy{position:relative;z-index:1;padding:34px 38px;width:100%;margin-top:auto;background:linear-gradient(transparent,rgba(0,0,0,.46))}
.ak-empty-label{font-size:10px;font-weight:900;letter-spacing:1.5px;color:#ff7685}
.ak-empty-copy h3{font-size:32px;line-height:1.13;color:#fff;max-width:510px;margin:10px 0}
.ak-empty-copy p{color:#d8e1eb;margin:0;font-size:14px;max-width:470px}
.ak-side-empty{padding:26px;display:flex;align-items:flex-end}
.ak-side-empty>div{position:relative;z-index:1}
.ak-side-empty p{font-weight:800;color:#fff;font-size:22px;line-height:1.25;margin:10px 0 0}
.ak-category-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:23px!important;margin-bottom:54px!important}
.ak-category-tile{display:flex;align-items:center;gap:12px;min-width:0;padding:17px 13px;background:#f7f8f9;border:1px solid #eef0f2;border-radius:11px;color:var(--ak-ink)!important;text-decoration:none!important;min-height:88px}
.ak-category-tile:hover{border-color:#ffd4d9;background:#fff4f5;transform:translateY(-2px);box-shadow:var(--ak-shadow)}
.ak-tile-iconwrap{width:37px;height:37px;flex:0 0 37px;border-radius:9px;background:#fff;display:flex;align-items:center;justify-content:center;color:var(--ak-red)}
.ak-tile-icon{width:23px;height:23px}
.ak-tile-text{min-width:0;display:block;flex:1}
.ak-tile-text strong{font-size:12px;line-height:1.27;font-weight:850;display:block}
.ak-tile-text small{color:var(--ak-muted);font-size:10px;line-height:1.3;display:block;margin-top:4px}
.ak-tile-arrow{align-self:flex-start;color:var(--ak-red);font-size:14px;font-weight:800}
.ak-feed-section{margin-top:56px!important;margin-bottom:62px!important}
.ak-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:22px;padding-bottom:14px;border-bottom:1px solid var(--ak-line)}
.ak-section-overline{display:block;color:var(--ak-red);font-weight:900;font-size:10px;letter-spacing:1.45px;margin-bottom:7px}
.ak-section-heading h2{font-size:clamp(24px,2.2vw,31px);line-height:1.15;letter-spacing:-.8px;margin:0!important}
.ak-view-all{font-size:13px;font-weight:800;white-space:nowrap;color:var(--ak-charcoal)!important;text-decoration:none!important;margin-bottom:3px}
.ak-view-all span{margin-left:5px;color:var(--ak-red)}
.ak-view-all:hover{color:var(--ak-red)!important}
.ak-article-grid{display:grid;gap:23px;grid-template-columns:repeat(3,minmax(0,1fr))}
.ak-article-grid.ak-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ak-article-grid.ak-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ak-article-card{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid var(--ak-line);border-radius:12px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.ak-article-card:hover{transform:translateY(-3px);box-shadow:0 14px 35px rgba(18,24,32,.08)}
.ak-card-media{display:block;aspect-ratio:16/10;overflow:hidden;background:#202e3c;position:relative}
.ak-card-media img,.ak-card-media .ak-image-missing{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.ak-article-card:hover .ak-card-media img{transform:scale(1.04)}
.ak-card-media .ak-image-letter{font-size:22px}
.ak-card-body{padding:18px 19px 17px;display:flex;flex-direction:column;flex:1;align-items:flex-start}
.ak-card-body .ak-category-tag{font-size:9px;background:#fce6e9;color:#bf1e2d!important;padding:6px 8px}
.ak-card-body h3{margin:12px 0 8px;font-weight:850;font-size:20px;line-height:1.26;letter-spacing:-.45px}
.ak-card-body h3 a{text-decoration:none;color:var(--ak-ink)}
.ak-card-body h3 a:hover{color:var(--ak-red)}
.ak-card-body>p{font-size:13px;line-height:1.58;color:var(--ak-muted);margin:0 0 20px}
.ak-card-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--ak-line);padding-top:12px;margin-top:auto;width:100%;font-size:11px;color:var(--ak-muted);font-weight:600}
.ak-card-footer span{color:var(--ak-red);font-weight:800}
.ak-empty-card{min-height:310px;padding:22px;justify-content:flex-end;background:linear-gradient(140deg,#f3f6f8,#fafbfc);border:1px dashed #cbd5db}
.ak-empty-card .ak-empty-copy{background:transparent;padding:0}
.ak-empty-card .ak-empty-label{color:var(--ak-red)}
.ak-empty-card .ak-empty-copy h3{font-size:22px;color:var(--ak-ink)}
.ak-empty-card .ak-empty-copy p{color:var(--ak-muted)}
.ak-empty-card .ak-empty-illustration{display:none}
.ak-divider-promo{background:#141d27;color:#fff;padding:18px 20px;text-align:center;border-radius:9px;margin-top:11px!important;margin-bottom:12px!important;max-width:1260px!important;width:calc(100% - 44px)}
.ak-divider-promo p{font-size:11px;letter-spacing:1.3px;font-weight:900;margin:0}
.ak-divider-promo span{color:#f2495b;margin:0 12px}
.ak-footer{background:#111820;color:#e3e8ed;padding:57px 0 0;margin-top:72px!important}
.ak-footer a{color:#e3e8ed;text-decoration:none}
.ak-footer a:hover{color:#ff8b96}
.ak-footer-columns{max-width:1260px;width:calc(100% - 44px);gap:75px!important;margin-bottom:35px!important}
.ak-footer-columns h3,.ak-footer-columns h4{color:#fff;margin:0 0 16px;font-size:17px}
.ak-footer-columns h4{font-size:14px;letter-spacing:.4px}
.ak-footer-brand{font-size:25px!important;letter-spacing:-1.1px}
.ak-footer-columns p{font-size:13px;color:#aeb9c4;line-height:1.75;max-width:380px}
.ak-footer-links{list-style:none!important;padding:0!important;margin:0!important}
.ak-footer-links li{margin:0 0 7px!important;font-size:13px}
.ak-footer-bottom{max-width:1260px;width:calc(100% - 44px);border-top:1px solid #34404d;padding:15px 0;gap:12px}
.ak-footer-bottom p{font-size:11px;color:#8a99a7;margin:0}
.ak-listing-page{max-width:1260px!important;width:calc(100% - 44px);min-height:60vh;padding-top:57px;padding-bottom:45px}
.ak-listing-page>h1,.ak-listing-page>.wp-block-query-title{font-size:42px;letter-spacing:-1.2px;margin-bottom:20px}
.ak-listing-page .wp-block-post-template{gap:24px}
.ak-query-card{border:1px solid var(--ak-line);border-radius:12px;overflow:hidden;background:#fff;padding-bottom:16px}
.ak-query-card .wp-block-post-featured-image{margin:0 0 12px!important}
.ak-query-card .wp-block-post-featured-image img{width:100%;object-fit:cover}
.ak-query-card .wp-block-post-terms{padding:0 18px;color:var(--ak-red);font-size:11px;font-weight:800;margin:0!important}
.ak-query-card .wp-block-post-terms a{color:var(--ak-red)}
.ak-query-card .wp-block-post-title{padding:0 18px;margin:9px 0;font-size:20px;line-height:1.25}
.ak-query-card .wp-block-post-title a{text-decoration:none}
.ak-query-card .wp-block-post-excerpt,.ak-query-card .wp-block-post-date{padding:0 18px;color:var(--ak-muted);font-size:13px;margin:10px 0!important}
.ak-query-card .wp-block-post-excerpt__more-link{color:var(--ak-red);font-weight:800}
.ak-listing-page .wp-block-query-pagination{padding:25px 0;font-weight:700}
.ak-single-page{max-width:800px!important;width:calc(100% - 44px);margin:58px auto 70px!important}
.ak-post-category{font-size:12px;text-transform:uppercase;font-weight:900;letter-spacing:1px;color:var(--ak-red)}
.ak-post-category a{color:var(--ak-red)}
.ak-article-title{font-size:clamp(32px,5vw,56px)!important;letter-spacing:-1.7px;line-height:1.1!important;margin:14px 0 19px!important}
.ak-single-meta{color:var(--ak-muted);font-weight:650;font-size:13px;margin-bottom:22px!important}
.ak-single-meta p{margin:0!important}
.ak-single-featured{margin:0 0 35px!important}
.ak-single-featured img{border-radius:12px;width:100%;object-fit:cover}
.ak-single-page .wp-block-post-content{font-size:17px;line-height:1.85}
.ak-single-page .wp-block-post-content>p{margin-bottom:1.5em}
.ak-single-page .wp-block-post-content h2{margin-top:1.4em;font-size:30px}
.ak-single-page .wp-block-post-content h3{font-size:23px;margin-top:1.3em}
.ak-single-page blockquote{border-left:4px solid var(--ak-red);padding-left:20px}
.ak-return-home{font-size:14px;font-weight:800;margin-top:28px}
.ak-return-home a{color:var(--ak-red)}
.ak-basic-page{min-height:60vh}
.ak-404{max-width:760px!important;width:calc(100% - 44px);margin:85px auto 140px!important}
.ak-404 h1{font-size:45px!important;letter-spacing:-1px}
.ak-404 a{color:var(--ak-red)}
.ak-editor-block{padding:6px;border:1px dashed #cfd5da;margin:8px 0}
.ak-editor-marker{background:#e9edf2;color:#66717e;font-size:10px;font-weight:800;letter-spacing:1px;padding:8px;margin-bottom:8px}
@media (max-width:1150px){
  .ak-header-inner{gap:14px!important}
  .ak-header .wp-block-navigation{gap:13px;font-size:12px}
  .ak-brand{font-size:22px!important}
  .ak-category-tiles{grid-template-columns:repeat(3,1fr)}
  .ak-tile-text strong{font-size:13px}
}
@media (max-width:890px){
  .ak-lead-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
  .ak-hero-card{min-height:430px}
  .ak-hero-copy{padding:23px}
  .ak-side-copy{padding:17px}
  .ak-side-copy h3{font-size:18px}
  .ak-article-grid,.ak-article-grid.ak-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ak-category-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ak-footer-columns{gap:28px!important}
}
@media (max-width:680px){
  .ak-container,.ak-header-inner.alignwide,.ak-intro,.ak-divider-promo,.ak-footer-columns,.ak-footer-bottom,.ak-listing-page,.ak-single-page{width:calc(100% - 30px)!important}
  .ak-header-inner{min-height:72px;padding:12px 0}
  .ak-brand{font-size:20px!important}
  .ak-brand small{font-size:8px;letter-spacing:2px}
  .ak-header-search{display:none!important}
  .ak-intro{margin-top:25px!important;margin-bottom:15px!important}
  .ak-home-title{font-size:32px!important;letter-spacing:-1.2px}
  .ak-intro-desc{font-size:13px}
  .ak-lead-grid{display:block;min-height:auto}
  .ak-hero-card{min-height:405px}
  .ak-hero-copy{padding:23px}
  .ak-hero-copy h2{font-size:27px}
  .ak-hero-excerpt{font-size:13px}
  .ak-lead-side{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr;margin-top:12px;gap:10px}
  .ak-side-story{min-height:210px}
  .ak-side-copy{padding:13px}
  .ak-side-copy h3{font-size:16px;line-height:1.22}
  .ak-side-copy .ak-category-tag{font-size:8px;padding:5px 6px}
  .ak-side-date{font-size:10px}
  .ak-category-tiles{grid-template-columns:1fr 1fr;gap:9px;margin-top:15px!important;margin-bottom:28px!important}
  .ak-category-tile{padding:12px 9px;gap:8px;min-height:88px}
  .ak-tile-iconwrap{width:32px;height:32px;flex-basis:32px}
  .ak-tile-icon{width:20px;height:20px}
  .ak-tile-text strong{font-size:11px}
  .ak-tile-text small{font-size:9px}
  .ak-tile-arrow{display:none}
  .ak-section-heading h2{font-size:24px}
  .ak-section-overline{font-size:9px}
  .ak-feed-section{margin-top:37px!important;margin-bottom:40px!important}
  .ak-article-grid,.ak-article-grid.ak-cols-4,.ak-article-grid.ak-cols-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .ak-card-body{padding:12px}
  .ak-card-body h3{font-size:15px}
  .ak-card-body>p{font-size:12px;line-height:1.45}
  .ak-card-footer{font-size:10px}
  .ak-divider-promo{font-size:9px;padding:13px}
  .ak-divider-promo p{font-size:9px;letter-spacing:.7px}
  .ak-divider-promo span{margin:0 4px}
  .ak-footer{padding-top:40px}
  .ak-footer-columns{gap:22px!important}
  .ak-footer-bottom{justify-content:center!important;text-align:center}
  .ak-listing-page{padding-top:35px}
  .ak-listing-page .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}
  .ak-query-card .wp-block-post-title{font-size:16px;padding:0 10px}
  .ak-query-card .wp-block-post-excerpt,.ak-query-card .wp-block-post-date,.ak-query-card .wp-block-post-terms{padding:0 10px}
  .ak-single-page{margin-top:35px!important}
  .ak-single-page .wp-block-post-content{font-size:16px}
}
@media (max-width:390px){
  .ak-article-grid,.ak-article-grid.ak-cols-4,.ak-article-grid.ak-cols-2,.ak-listing-page .wp-block-post-template{grid-template-columns:1fr!important}
  .ak-lead-side{grid-template-columns:1fr}
  .ak-side-story{min-height:165px}
  .ak-category-tiles{grid-template-columns:1fr}
  .ak-category-tile{min-height:64px}
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important}
}

.ak-placeholder-photo{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;opacity:.75}
.ak-hero-empty .ak-empty-illustration::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 22%,rgba(5,13,22,.85) 100%)}
.ak-hero-empty .ak-empty-illustration>span{display:none}
.ak-side-empty{background:linear-gradient(140deg,#334656,#111820)}
