/* ── Home wide container ───────────────────────────────────────────────────── */
/* Ana sayfa kart grid'leri icin genis konteyner (okuma sutunu .readable-content
   760px'de kalir; kartlar burada ferah nefes alir). */

.home-content {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Section Divider ─────────────────────────────────────────────────────── */

hr.section-divider {
  border: none;
  border-top: 2px solid #f0f0f0;
  margin: 1.2em 0;
}

/* ── Single Post Meta Bar ──────────────────────────────────────────────────── */

.post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 14px 0 16px;
  margin: 0 0 1.6em;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  font-size: 0.85em;
  color: #999;
}

.post-meta-bar .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
}

.post-meta-bar .meta-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.75;
}

.post-meta-bar .meta-text,
.post-meta-bar time {
  color: #666;
}

.post-meta-bar a {
  color: #666;
  text-decoration: none;
  border: none;
  transition: color 0.1s;
}

.post-meta-bar a:hover {
  color: #e65c00 !important;
  background: none !important;
  border-color: transparent !important;
}

/* ── Single Post Prev/Next Navigation ──────────────────────────────────────── */

.post-nav {
  display: flex;
  gap: 16px;
  margin: 2em 0 1em;
}

@media (max-width: 640px) {
  .post-nav {
    flex-direction: column;
  }
}

.post-nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  background: #fff;
  text-decoration: none !important;
  text-transform: none !important;   /* all-caps iptal */
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.post-nav-link:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: #e65c00;
  background: #fff !important;
}

.post-nav-next {
  text-align: right;
}

.post-nav-dir {
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  color: #aaa;
}

.post-nav-arrow {
  color: #e65c00;
}

.post-nav-title {
  font-size: 0.95em;
  font-weight: 400;
  text-transform: none;
  color: #333;
  line-height: 1.4;
}

.post-nav-link:hover .post-nav-title {
  color: #e65c00;
}

/* ── Single Post Tags ──────────────────────────────────────────────────────── */

.post-tags-footer {
  margin-top: 1.8em;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.post-tags-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82em;
  font-weight: 700;
  color: #999;
  margin-right: 4px;
}

.post-tags-label svg {
  width: 15px;
  height: 15px;
  opacity: 0.75;
}

.post-tags a {
  display: inline-block;
  padding: 4px 13px;
  font-size: 0.8em;
  color: #666 !important;
  background: #f4f4f4;
  border-radius: 999px;
  text-decoration: none !important;
  border: none !important;
  transition: background 0.12s ease, color 0.12s ease;
}

.post-tags a:hover {
  background: #e65c00 !important;
  color: #fff !important;
}

/* ── Spoiler Notice ────────────────────────────────────────────────────────── */

.spoiler-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  margin: 0 0 1.6em;
  background: #fff6ed;
  border: 1px solid #ffd9b3;
  border-left: 4px solid #e65c00;
  border-radius: 6px;
  color: #8a4a12;
  font-size: 0.92em;
  line-height: 1.5;
}

.spoiler-notice .spoiler-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #e65c00;
}

.spoiler-notice strong {
  color: #e65c00;
}

.post-list {
  padding-top: 1em !important;
}

/* ── Medium Cards ─────────────────────────────────────────────────────────── */

.medium-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 1.4em;
}

.medium-section-header h2 {
  margin: 0;
  font-size: 1.4em;
}

.medium-section-header .medium-logo {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  opacity: 0.85;
}

.medium-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 0 1.4em;
}

@media (max-width: 640px) {
  .medium-cards-grid {
    grid-template-columns: 1fr;
  }
}

.medium-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.medium-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

/* Görsel: sabit yükseklik, taşanı kırp (sıkıştırma yok) */
.medium-card-thumb {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid #f0f0f0;
  background: #f7f7f7;
  flex-shrink: 0;
}

.medium-card-thumb-placeholder {
  display: block;
  width: 100%;
  height: 0;        /* görselsiz kartlarda boşluk bırakma */
  flex-shrink: 0;
}

.medium-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 14px;
  list-style: none;  /* olası kalıtım bullletını sıfırla */
}

/* Başlık: bullet yok, sabit 3 satır yüksekliği */
.medium-card-body h3 {
  margin: 0 0 8px;
  padding: 0;
  font-size: 1em;
  line-height: 1.4;
  list-style: none;
  /* 3 satır = line-height 1.4em × 3 */
  height: calc(1em * 1.4 * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.medium-card-body h3::before,
.medium-card-body h3::marker {
  content: none;
  display: none;
}

.medium-card-body h3 a {
  color: #222;
  text-decoration: none;
  border: none;
}

.medium-card-body h3 a:hover {
  color: #e65c00;
}

.medium-card-date {
  font-size: 0.78em;
  color: #999;
  margin-bottom: 10px;
}

/* Kart ici kompakt meta (kategori · tarih · okuma suresi) */
.medium-card .card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  font-size: 0.74em;
  color: #999;
  margin-bottom: 10px;
}

.medium-card .card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.medium-card .card-meta-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.7;
}

.medium-card .card-meta a {
  color: #888;
  text-decoration: none;
  border: none;
}

.medium-card .card-meta a:hover {
  color: #e65c00 !important;
  background: none !important;
  border-color: transparent !important;
}

/* Arsiv / kategori baslik */
.archive-head {
  font-size: 1.5em;
  margin: 0 0 1em;
  color: #333;
}

/* ── Sidebar widget: asiri sol padding'i kaldir (icerik daralmasin) ─────────── */

.widget-area .widget {
  padding-left: 0 !important;
}

/* ── Header baslik + slogan yakinlastir ────────────────────────────────────── */

.site-title {
  margin-bottom: 0 !important;
  line-height: 1.05 !important;
}

.site-description {
  margin-top: 0 !important;
}

/* ── Content/sidebar oranini sikilastir (bosluk azalt) ─────────────────────── */

@media (min-width: 768px) {
  .wrapper.middle > .row > .site-content.span8 {
    width: 73% !important;
  }
  .wrapper.middle > .row > .widget-area.span4 {
    width: 25% !important;
    margin-left: 2% !important;
  }
}

/* ── Blog/Category single-column horizontal cards ──────────────────────────── */

.blog-card-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 1.6em;
}

.blog-card-list .medium-card {
  flex-direction: row;
}

.blog-card-list .medium-card-thumb {
  width: 220px;
  height: auto;
  align-self: stretch;
  border-bottom: none;
  border-right: 1px solid #f0f0f0;
}

.blog-card-list .medium-card-thumb-placeholder {
  display: none;
}

@media (max-width: 600px) {
  .blog-card-list .medium-card {
    flex-direction: column;
  }
  .blog-card-list .medium-card-thumb {
    width: 100%;
    height: 180px;
    align-self: auto;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }
}

.medium-card-excerpt {
  font-size: 0.88em;
  color: #555;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 12px;
}

.medium-card-read-more {
  font-size: 0.82em;
  font-weight: 600;
  color: #e65c00;
  text-decoration: none;
  border: none;
  align-self: flex-start;
}

.medium-card-read-more:hover {
  color: #bf4a00;
}

.medium-cards-loading {
  color: #aaa;
  font-size: 0.9em;
  padding: 12px 0;
}

