/* ══════════════════════════════════════════════
   İş Dünyası Haberleri – Public Styles v1.0.0
   Geliştirici: Posenda | posenda.com
══════════════════════════════════════════════ */

/* ─── RESET & WRAP ─── */
.idh-wrap { font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; max-width: 960px; margin: 0 auto; padding: 0 16px 60px; }
.idh-wrap *, .idh-wrap *::before, .idh-wrap *::after { box-sizing: border-box; }

/* ─── HEADER ─── */
.idh-header {
  background: #0f0f0f;
  border-bottom: 3px solid #e63946;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 12px 12px 0 0;
  margin-bottom: 0;
}
.idh-logo { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.idh-logo span { color: #e63946; }
.idh-live {
  display: flex; align-items: center; gap: 5px;
  background: #e63946; color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  padding: 3px 9px; border-radius: 4px; text-transform: uppercase;
}
.idh-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: idh-blink 1.2s infinite;
}
@keyframes idh-blink { 0%,100%{opacity:1} 50%{opacity:.2} }
.idh-header-date { margin-left: auto; color: #888; font-size: 12px; font-weight: 600; }

/* ─── TIMELINE CONTAINER ─── */
.idh-timeline {
  background: #f4f0e8;
  padding: 40px 24px;
  position: relative;
  border-radius: 0 0 12px 12px;
}
.idh-timeline-line {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #e63946 0%, #d0c8b8 30%);
  transform: translateX(-50%);
  z-index: 0;
}

/* ─── ROW ─── */
.idh-row {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
  position: relative;
}
.idh-spacer { flex: 1; }

/* ─── DOT ─── */
.idh-dot-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.idh-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 3px solid #f4f0e8;
  transition: transform .2s;
}
.idh-dot-blink {
  animation: idh-dot-pulse 1s infinite;
}
@keyframes idh-dot-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(230,57,70,.7); }
  50%      { box-shadow: 0 0 0 8px rgba(230,57,70,0); }
}

/* ─── CARD WRAP ─── */
.idh-card-wrap { flex: 1; min-width: 0; }
.idh-right .idh-card-wrap { padding-left: 44px; }
.idh-left  .idh-card-wrap { padding-right: 44px; }

/* ─── CARD ─── */
.idh-card {
  display: flex;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  border-left: 4px solid var(--kat-renk, #ccc);
  transition: transform .18s, box-shadow .18s;
  width: 100%;
}
.idh-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.13);
  text-decoration: none;
  color: inherit;
}

/* ─── CARD IMAGE ─── */
.idh-card-img {
  width: 100px; min-width: 100px; height: 100px;
  overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.idh-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.idh-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}

/* ─── CARD BODY ─── */
.idh-card-body { padding: 12px 14px; flex: 1; min-width: 0; overflow: hidden; }
.idh-card-top  { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; min-width: 0; overflow: hidden; }

.idh-kat-badge {
  font-size: 9px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .7px;
  padding: 2px 8px; border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.idh-kat-sondk { animation: idh-badge-blink 1s infinite; }
@keyframes idh-badge-blink { 0%,100%{opacity:1} 50%{opacity:.4} }

.idh-saat { font-size: 10px; color: #999; font-weight: 600; margin-left: auto; white-space: nowrap; flex-shrink: 0; }

.idh-card-title {
  font-size: 13.5px; font-weight: 700;
  line-height: 1.4; color: #111;
  margin: 0 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.idh-card-ozet {
  font-size: 11.5px; color: #555;
  line-height: 1.5; margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* ─── BANNER ─── */
.idh-banner-row {
  margin: 4px 0 28px;
  text-align: center;
}
.idh-banner-link { display: inline-block; max-width: 100%; }
.idh-banner-img  { max-width: 100%; height: auto; border-radius: 8px; display: block; margin: 0 auto; }
.idh-banner-placeholder {
  background: #fff;
  border: 2px dashed #d0c8b8;
  border-radius: 10px;
  padding: 18px 24px;
  color: #aaa;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-weight: 700; font-size: 13px; letter-spacing: 1px;
}
.idh-banner-placeholder small { font-size: 11px; font-weight: 400; letter-spacing: 0; }

/* ─── EMPTY STATE ─── */
.idh-empty {
  text-align: center; padding: 48px 24px;
  color: #999; font-size: 14px;
}

/* ══════════════════════════════════════════════
   ARŞİV
══════════════════════════════════════════════ */
.idh-arsiv-wrap { max-width: 900px; margin: 0 auto; padding: 16px; font-family: 'Segoe UI', Arial, sans-serif; }
.idh-arsiv-header { text-align: center; margin-bottom: 28px; }
.idh-arsiv-baslik { font-size: 22px; font-weight: 800; color: #111; margin: 0 0 6px; }
.idh-arsiv-aciklama { color: #777; font-size: 13px; margin: 0; }

.idh-takvim-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  padding: 24px;
  margin-bottom: 32px;
  max-width: 420px;
  margin-left: auto; margin-right: auto;
}
.idh-takvim-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.idh-takvim-baslik { font-size: 16px; font-weight: 700; color: #111; }
.idh-takvim-btn {
  background: #f4f0e8; border: none; border-radius: 8px;
  width: 34px; height: 34px; cursor: pointer;
  font-size: 16px; color: #333;
  transition: background .15s;
}
.idh-takvim-btn:hover { background: #e63946; color: #fff; }

.idh-takvim-gunler-hdr {
  display: grid; grid-template-columns: repeat(7,1fr);
  text-align: center; margin-bottom: 8px;
}
.idh-takvim-gunler-hdr span { font-size: 11px; font-weight: 700; color: #aaa; padding: 4px 0; }

.idh-takvim-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.idh-takvim-gun, .idh-takvim-bos {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 13px; border-radius: 8px; cursor: default;
}
.idh-takvim-bos { }
.idh-takvim-gun { color: #bbb; }
.idh-haberli    { background: #fff5f5; color: #e63946; font-weight: 700; cursor: pointer; }
.idh-haberli:hover { background: #e63946; color: #fff; }
.idh-bugun      { ring: 2px solid #e63946; outline: 2px solid #e63946; }
.idh-secili     { background: #e63946 !important; color: #fff !important; }

/* Arşiv sonuç listesi */
.idh-arsiv-gun-baslik { font-size: 17px; font-weight: 700; margin: 0 0 16px; color: #111; }
.idh-arsiv-gun-baslik small { color: #999; font-weight: 400; font-size: 13px; }
.idh-arsiv-liste { display: flex; flex-direction: column; gap: 12px; }
.idh-arsiv-item {
  display: flex; gap: 14px; background: #fff;
  border-radius: 12px; overflow: hidden;
  padding: 12px; text-decoration: none; color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .15s;
}
.idh-arsiv-item:hover { transform: translateY(-2px); text-decoration: none; }
.idh-arsiv-thumb {
  width: 80px; min-width: 80px; height: 70px;
  object-fit: cover; border-radius: 8px;
}
.idh-arsiv-thumb-placeholder {
  width: 80px; min-width: 80px; height: 70px;
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 28px;
}
.idh-arsiv-info { flex: 1; min-width: 0; }
.idh-arsiv-kat  { font-size: 9px; font-weight: 800; text-transform: uppercase;
  padding: 2px 7px; border-radius: 20px; letter-spacing: .6px; }
.idh-arsiv-sondk { font-size: 9px; font-weight: 800; color: #e63946;
  padding: 2px 7px; border: 1px solid #e63946; border-radius: 20px;
  margin-left: 5px; animation: idh-blink 1s infinite; }
.idh-arsiv-info h4 { font-size: 13px; font-weight: 700; margin: 4px 0 3px; color: #111;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.idh-arsiv-info p  { font-size: 11px; color: #666; margin: 0 0 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.idh-arsiv-info small { font-size: 10px; color: #aaa; }
.idh-arsiv-bos { text-align: center; color: #aaa; padding: 24px; }
.idh-arsiv-yukleniyor { text-align: center; color: #999; padding: 24px; animation: idh-blink 1s infinite; }

/* ══════════════════════════════════════════════
   KÜNYE
══════════════════════════════════════════════ */
.idh-kunye-wrap { max-width: 860px; margin: 0 auto; padding: 16px; font-family: 'Segoe UI', Arial, sans-serif; }
.idh-kunye-header {
  background: #0f0f0f; color: #fff;
  padding: 32px 28px; border-radius: 16px;
  text-align: center; margin-bottom: 24px;
  border-bottom: 4px solid #e63946;
}
.idh-kunye-logo { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }
.idh-kunye-logo span { color: #e63946; display: block; font-size: 14px; letter-spacing: 2px; font-weight: 400; margin-top: 4px; }
.idh-kunye-slogan { color: #999; margin: 8px 0 0; font-size: 13px; }
.idh-kunye-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 14px; margin-bottom: 24px;
}
.idh-kunye-card {
  background: #fff; border-radius: 12px; padding: 18px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  border-top: 3px solid #e63946;
}
.idh-kunye-card h3 { font-size: 11px; font-weight: 700; color: #e63946;
  text-transform: uppercase; letter-spacing: .8px; margin: 0 0 8px; }
.idh-kunye-card p, .idh-kunye-card a { font-size: 13px; color: #333; margin: 0; line-height: 1.6; }
.idh-kunye-card a { color: #e63946; text-decoration: none; }
.idh-kunye-footer {
  text-align: center; color: #999; font-size: 12px;
  border-top: 1px solid #eee; padding-top: 16px;
}
.idh-kunye-footer a { color: #e63946; text-decoration: none; }

/* ══════════════════════════════════════════════
   İLETİŞİM
══════════════════════════════════════════════ */
.idh-iletisim-wrap {
  max-width: 520px; margin: 0 auto; padding: 32px 16px;
  font-family: 'Segoe UI', Arial, sans-serif; text-align: center;
}
.idh-iletisim-card {
  background: #fff; border-radius: 20px; padding: 40px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,.09);
}
.idh-iletisim-icon { font-size: 48px; margin-bottom: 16px; }
.idh-iletisim-card h2 { font-size: 24px; font-weight: 800; color: #111; margin: 0 0 10px; }
.idh-iletisim-card p  { font-size: 13px; color: #666; margin: 0 0 24px; }
.idh-mail-btn {
  display: inline-block;
  background: #e63946; color: #fff;
  padding: 13px 28px; border-radius: 10px;
  text-decoration: none; font-size: 14px; font-weight: 700;
  transition: background .15s;
}
.idh-mail-btn:hover { background: #c42b38; color: #fff; text-decoration: none; }
.idh-iletisim-alt { font-size: 12px; color: #aaa; margin-top: 20px !important; }
.idh-iletisim-alt a { color: #e63946; text-decoration: none; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 660px) {
  .idh-timeline-line { left: 14px; }
  .idh-dot-wrap { left: 14px; top: 28px; transform: translate(-50%, 0); }
  .idh-row { flex-direction: column !important; }
  .idh-spacer { display: none; }
  .idh-right .idh-card-wrap,
  .idh-left  .idh-card-wrap {
    padding-left: 36px;
    padding-right: 0;
    width: 100%;
  }
  .idh-card-img { width: 80px; min-width: 80px; height: 84px; }
  .idh-card-title { font-size: 13px; }
  .idh-header { border-radius: 10px 10px 0 0; padding: 11px 14px; }
  .idh-logo { font-size: 16px; }
  .idh-header-date { display: none; }
  .idh-timeline { padding: 28px 14px; }
}

@media (max-width: 480px) {
  .idh-kunye-grid { grid-template-columns: 1fr; }
}
