/*
Theme Name: SAITEM
Description: SAITEM için koyu, fotoğraf ağırlıklı tek sayfa ana sayfa ve blog teması. Ana sayfa metinleri Görünüm > Özelleştir > SAITEM Ana Sayfa menüsünden düzenlenir.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: saitem
*/

/* Ana sayfa stilleri assets/base.css içinde. Bu dosya iç sayfalar (blog, sayfa, yazı) içindir. */

body:not(.home) .site-header { background: rgba(10, 11, 13, .9); backdrop-filter: blur(14px); border-color: var(--line); }

.page-hero { padding: 170px 0 70px; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 80% 0%, rgba(255, 194, 26, .18), transparent 55%), var(--bg-2); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 900px; }
.page-hero .meta { color: var(--muted); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }

.content-wrap { padding: 70px 0 110px; }
.entry-content { max-width: 780px; margin: 0 auto; font-size: 1.07rem; }
.entry-content.wide { max-width: 1100px; }
.entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content a { color: var(--sun); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img, .entry-content video, .entry-content iframe { max-width: 100%; height: auto; border-radius: 14px; }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption { color: var(--muted); font-size: .88rem; text-align: center; margin-top: .6em; }
.entry-content blockquote { margin: 2em 0; padding: 1em 1.5em; border-left: 3px solid var(--sun); background: var(--panel); border-radius: 0 12px 12px 0; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: .7em; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content .wp-block-button__link { background: var(--sun); color: #111; border-radius: 999px; text-decoration: none; font-weight: 600; }
.entry-content .wp-block-gallery { gap: .8rem; }
.entry-content .alignwide { max-width: 1100px; margin-inline: calc((780px - min(1100px, 100vw - 32px)) / 2); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.entry-content .wp-block-image img { display: block; }
.featured { max-width: 1100px; margin: 0 auto 3rem; border-radius: var(--radius); overflow: hidden; }
.featured img { width: 100%; height: auto; display: block; }

.posts.archive { row-gap: 3rem; }
.post .p-img { overflow: hidden; }
.post .p-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post p { color: var(--muted); font-size: .95rem; }
.pagination { margin-top: 4rem; display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 .9em; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--sun); color: #111; border-color: var(--sun); }
.post-nav { max-width: 780px; margin: 4rem auto 0; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.post-nav a:hover { color: var(--sun); }

/* Ana sayfada gerçek görseller */
.slide img, .v-img img, .ph img, .p-img img, .car-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph { overflow: hidden; }
.car-visual img { position: absolute; inset: 0; }
.car-visual { position: relative; }
.logos span img { max-width: 75%; max-height: 60%; object-fit: contain; }
.custom-logo-link img { height: 40px; width: auto; display: block; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.search-form { display: flex; gap: .5rem; max-width: 480px; margin: 2rem auto 0; }
.search-form input[type=search] { flex: 1; padding: .8em 1.2em; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); }
.search-form button { padding: .8em 1.4em; border-radius: 999px; border: 0; background: var(--sun); font-weight: 600; }
