/* Doviz.com inspired economy hub */
.eco-ticker {
  background: #0f172a;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.eco-ticker__inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 10px 0;
}

.eco-ticker__item {
  display: flex;
  flex-direction: column;
  min-width: 130px;
  padding: 8px 16px;
  border-right: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.eco-ticker__item:hover { background: rgba(255,255,255,.04); }

.eco-ticker__name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  opacity: .75;
}

.eco-ticker__value {
  font-size: 16px;
  font-weight: 800;
  margin-top: 2px;
}

.eco-ticker__change {
  font-size: 12px;
  margin-top: 2px;
}

.eco-ticker__change--up { color: #4ade80; }
.eco-ticker__change--down { color: #f87171; }

.eco-section-title {
  font-size: 24px;
  margin: 24px 0 16px;
  font-weight: 800;
}

.eco-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  margin-bottom: 24px;
}

.eco-hero--category { grid-template-columns: 1fr 280px; }

.eco-featured__link {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.eco-featured__media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.eco-featured__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eco-featured__body h2 {
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 10px;
}

.eco-meta {
  font-size: 13px;
  color: #64748b;
}

.eco-side-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.eco-side-item a {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}

.eco-side-item img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

.eco-side-item h3 {
  font-size: 14px;
  margin: 0 0 6px;
  line-height: 1.35;
}

.eco-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.eco-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.eco-panel__head h2 {
  font-size: 16px;
  margin: 0;
  font-weight: 800;
}

.eco-panel__head a {
  font-size: 13px;
  color: var(--primary, #2563eb);
  text-decoration: none;
}

.eco-tag {
  font-size: 11px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 4px 8px;
  border-radius: 999px;
}

.eco-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.eco-table th,
.eco-table td {
  padding: 8px 6px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
}

.eco-table th {
  color: #64748b;
  font-weight: 600;
}

.eco-change--up { color: #16a34a; }
.eco-change--down { color: #dc2626; }
.eco-change--flat { color: #64748b; }

.eco-markets { margin: 24px 0; }

.eco-markets__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.eco-markets__grid--2 { margin-bottom: 24px; }
.eco-markets__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.eco-news-block { margin-bottom: 28px; }

.eco-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.eco-news-card a {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.eco-news-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.eco-news-card div { padding: 10px; }
.eco-news-card h3 { font-size: 14px; margin: 0 0 6px; line-height: 1.35; }

.eco-converter__row {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 8px;
  margin-bottom: 8px;
}

.eco-converter input,
.eco-converter select {
  width: 100%;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.eco-fuel__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.eco-fuel__city {
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px;
}

.eco-fuel__city h3 { margin: 0 0 8px; font-size: 15px; }

.eco-cat-links {
  display: grid;
  gap: 8px;
}

.eco-cat-links__item {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.eco-cat-links__item:hover { background: #eff6ff; color: #1d4ed8; }

.eco-impact {
  display: inline-block;
  font-size: 10px;
  background: #fef3c7;
  color: #92400e;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: 4px;
}

@media (max-width: 1100px) {
  .eco-hero { grid-template-columns: 1fr; }
  .eco-markets__grid,
  .eco-markets__grid--3,
  .eco-news-grid { grid-template-columns: 1fr 1fr; }
  .eco-featured__link { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .eco-markets__grid,
  .eco-markets__grid--3,
  .eco-news-grid,
  .eco-fuel__grid { grid-template-columns: 1fr; }
}

/* Economy mega menu */
.eco-nav {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin: 16px 0 24px;
  position: relative;
  z-index: 20;
}

.eco-nav__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 48px;
}

.eco-nav__home {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-weight: 800;
  text-decoration: none;
  color: #0f172a;
  border-right: 1px solid #e5e7eb;
  white-space: nowrap;
}

.eco-nav__home.active,
.eco-nav__home:hover { background: #eff6ff; color: #1d4ed8; }

.eco-nav__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.eco-nav__item { position: relative; }

.eco-nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  text-decoration: none;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.eco-nav__item.active > .eco-nav__link,
.eco-nav__link:hover { background: #f8fafc; color: #1d4ed8; }

.eco-nav__caret { font-size: 10px; opacity: .6; }

.eco-nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(15,23,42,.12);
  padding: 8px 0;
}

.eco-nav__item.has-children:hover .eco-nav__dropdown { display: block; }

.eco-nav__dropdown ul { list-style: none; margin: 0; padding: 0; }

.eco-nav__dropdown a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #334155;
  font-size: 13px;
}

.eco-nav__dropdown a:hover { background: #eff6ff; color: #1d4ed8; }

.eco-nav__toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0 16px;
  font-size: 18px;
  cursor: pointer;
}

.eco-section-page { margin-bottom: 24px; }

.eco-section-page__head { margin: 8px 0 20px; }

.eco-section-page__head h1 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
}

.eco-section-page__ref {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.eco-articles,
.eco-dictionary { display: grid; gap: 16px; }

.eco-article-card,
.eco-dict-entry {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
}

.eco-article-card h3,
.eco-dict-entry h3 { margin: 0 0 8px; font-size: 18px; }

.eco-dict-entry small { color: #64748b; font-weight: 500; }

.eco-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.eco-tool-card {
  display: block;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.eco-tool-card:hover { border-color: #93c5fd; background: #eff6ff; }

.eco-tool-card h3 { margin: 0 0 8px; }

.eco-tool-card p { margin: 0; color: #64748b; font-size: 14px; }

.eco-note {
  margin-top: 12px;
  font-size: 13px;
  color: #64748b;
}

.eco-invest-result {
  margin-top: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .eco-nav__toggle { display: block; }
  .eco-nav__list {
    display: none;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid #e5e7eb;
  }
  .eco-nav.open .eco-nav__list { display: flex; }
  .eco-nav__inner { flex-wrap: wrap; }
  .eco-nav__dropdown {
    position: static;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding-left: 16px;
  }
  .eco-nav__item.has-children:hover .eco-nav__dropdown,
  .eco-nav__item.has-children .eco-nav__dropdown { display: block; }
  .eco-tools-grid { grid-template-columns: 1fr; }
}

.eco-instrument { padding: 16px 0 40px; }
.eco-breadcrumb { font-size: 13px; color: #64748b; margin-bottom: 16px; }
.eco-breadcrumb a { color: #1a3366; text-decoration: none; }
.eco-instrument__hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  background: linear-gradient(135deg, #1a3366, #0f172a);
  color: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.eco-instrument__code { font-size: 14px; opacity: 0.85; }
.eco-instrument__price { font-size: 36px; font-weight: 800; margin: 8px 0; }
.eco-instrument__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.eco-instrument__tab {
  padding: 8px 16px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.eco-instrument__tab.active { background: #1a3366; color: #fff; }
.eco-chart-placeholder { background: #0f172a; border-radius: 8px; padding: 8px; }
.eco-news-list { display: flex; flex-direction: column; gap: 12px; }
.eco-news-item a { display: flex; gap: 12px; text-decoration: none; color: inherit; }
.eco-news-item img { width: 120px; height: 72px; object-fit: cover; border-radius: 8px; }
@media (max-width: 768px) {
  .eco-instrument__hero { grid-template-columns: 1fr; }
  .eco-instrument__price { font-size: 28px; }
}

/* Haberler.com finans kayan bant */
.finans-ticker {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  font-size: 13px;
  line-height: 1.2;
  overflow: hidden;
}
.finans-ticker__primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding: 8px 16px;
  flex: 0 0 auto;
  max-width: 100%;
  border-right: 1px solid #e2e8f0;
}
.finans-ticker__pill { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.finans-ticker__pill-name { color: #64748b; font-weight: 600; }
.finans-ticker__pill-value { font-weight: 800; }
.finans-ticker__pill-value--up { color: #16a34a; }
.finans-ticker__pill-value--down { color: #dc2626; }
.finans-ticker__scroll-wrap {
  flex: 1 1 auto;
  min-width: 0;
  background: linear-gradient(90deg, #1e3a8a, #1d4ed8);
  overflow: hidden;
}
.finans-ticker__scroll {
  display: flex;
  width: max-content;
  animation: finans-ticker-scroll 90s linear infinite;
}
.finans-ticker__cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  color: #fff;
  font-weight: 700;
  border-right: 1px solid rgba(255,255,255,.15);
  white-space: nowrap;
}
.finans-ticker__code { letter-spacing: 0.04em; }
.finans-ticker__val { font-weight: 600; opacity: 0.95; }
.finans-ticker__arrow--up { color: #86efac; }
.finans-ticker__arrow--down { color: #fca5a5; }
.finans-ticker__scroll-wrap .finans-ticker__arrow--up,
.finans-ticker__scroll-wrap .finans-ticker__arrow--down { color: inherit; }
@keyframes finans-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .finans-ticker { flex-direction: column; }
  .finans-ticker__primary { border-right: 0; border-bottom: 1px solid #e2e8f0; }
}
