/* Trend Haber v0.3.21.6 – only header/chrome styling; heroes and content untouched. */
.topline.thv3216-topline {height:auto;min-height:33px;background:#f7f9fc;border-bottom:1px solid #e3e8ef;color:#334154;font-size:11px;font-weight:650;}
.thv3216-topline .top-flex {min-height:33px;height:auto;display:flex;align-items:center;justify-content:space-between;gap:18px;}
.thv3216-topline .top-left,.thv3216-topline .top-right{height:auto;display:flex;align-items:center;gap:13px;min-width:0;}
.thv3216-topline .thv3216-toplink{font-size:11px;color:#152235;font-weight:800;white-space:nowrap;display:inline-flex;align-items:center;gap:6px;text-decoration:none;}
.thv3216-topline .thv3216-toplink:hover{color:#cf102e;}
.thv3216-icon{font-size:12px;line-height:1;color:#16263c;}
.thv3216-topline .thv3216-date{font-size:11px;color:#647184;font-weight:500;white-space:nowrap;border-left:1px solid #d7dde6;padding-left:14px;}
.thv3216-topline .thv3216-location{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:#195d9c;font-size:11px;font-weight:800;border-left:1px solid #d7dde6;padding-left:13px;}
.thv3216-topline .thv3216-location span{font-size:17px;line-height:1;color:#d11934;}
.thv3216-topline .thv3216-top-right{margin-left:auto;gap:11px;color:#687381;white-space:nowrap;}
.thv3216-topline .thv3216-top-right span{font-size:11px;color:#6d7887;font-weight:500;}
.thv3216-topline .thv3216-top-right a{font-size:10px;color:#263b54;font-weight:700;}
.thv3216-topline .thv3216-top-right a:hover{color:#c90e2e;}
.header.thv3216-header{background:#fff;border-bottom:1px solid #e7ebf1;box-shadow:0 3px 10px rgba(18,35,52,.04)}
.header.thv3216-header .header-main{min-height:84px;height:84px;display:grid;grid-template-columns:minmax(175px,215px) minmax(0,1fr) auto;gap:clamp(16px,2vw,28px);align-items:center;}
.header.thv3216-header .brand{transform:none!important;min-width:0;max-width:205px;width:100%;justify-self:start;}
.header.thv3216-header .brand img{display:block;max-height:70px;max-width:100%;width:auto;height:auto;object-fit:contain;object-position:left center;}
.header.thv3216-header .desktop-nav{display:flex;justify-content:center;align-items:center;gap:clamp(10px,1.4vw,24px);min-width:0;white-space:nowrap;}
.header.thv3216-header .desktop-nav a{font-size:clamp(11px,.9vw,13px);font-weight:800;letter-spacing:.005em;color:#121f32;padding:31px 0 27px;border-bottom:3px solid transparent;}
.header.thv3216-header .desktop-nav a:hover,.header.thv3216-header .desktop-nav a:focus-visible{color:#d11232;border-bottom-color:#d11232;}
.header.thv3216-header .header-buttons{display:flex;align-items:center;justify-content:flex-end;gap:9px;justify-self:end;min-width:0;}
.header.thv3216-header .thv3216-city-chip{display:inline-flex;align-items:center;gap:6px;color:#3a495b;font-size:11px;font-weight:650;padding-right:12px;border-right:1px solid #dbe1ea;white-space:nowrap;}
.thv3216-city-chip .thv3216-weather-icon{color:#e8a500;font-size:21px;line-height:1;}
.header.thv3216-header .header-buttons button{width:37px;height:37px;border:1px solid #dfe5ee;background:#fff;color:#1a2b43;border-radius:50%;}
.header.thv3216-header .header-buttons button:hover{border-color:#bcc8d9;background:#f5f7fa;}
/* Keep existing first-party market ticker/hover-to-pause; the JS supplies 32px/s. */
@media(max-width:1160px){.header.thv3216-header .header-main{grid-template-columns:175px minmax(0,1fr) auto;gap:12px;min-height:76px;height:76px}.header.thv3216-header .thv3216-city-chip{display:none}.header.thv3216-header .desktop-nav{gap:11px}.header.thv3216-header .desktop-nav a{font-size:11px}}
@media(max-width:830px){.thv3216-topline .thv3216-date{display:none}.header.thv3216-header .header-main{min-height:65px;height:65px;grid-template-columns:minmax(0,1fr) auto}.header.thv3216-header .desktop-nav{display:none!important}.header.thv3216-header .header-buttons #menu-toggle{display:grid}.header.thv3216-header .brand{max-width:175px}.header.thv3216-header .brand img{max-height:55px}}
@media(max-width:600px){.thv3216-topline .top-flex{min-height:30px}.thv3216-topline .top-left{gap:10px}.thv3216-topline .thv3216-toplink{font-size:9px}.thv3216-topline .thv3216-location{font-size:10px;padding-left:9px}.thv3216-topline .top-right{display:none!important}.header.thv3216-header .header-main{min-height:60px;height:60px}.header.thv3216-header .brand{max-width:157px}.header.thv3216-header .brand img{max-height:50px}}
@media(max-width:360px){.thv3216-topline .thv3216-toplink{font-size:8px}.thv3216-topline .thv3216-location{font-size:9px}}


/* v0.3.25.17: shared homepage header styles for category and news pages. */
/* Trend Haber v0.3.25.15 — reference-faithful, homepage-only two-row masthead.
   Scoped to .th515-header. Hero, three-news strip, widgets and ad untouched. */
.header.thv3216-header.th515-header{
  position:relative;z-index:15;background:#101a29;
  border:0;box-shadow:0 4px 15px rgba(3,13,25,.15);
}
.header.thv3216-header.th515-header .th515-masthead{
  position:relative;isolation:isolate;color:#fff;
  background:radial-gradient(ellipse at 52% 14%,rgba(66,102,141,.26),transparent 43%),linear-gradient(100deg,#091421 0%,#12263a 58%,#0a1828 100%);
}
.header.thv3216-header.th515-header .th515-masthead::before{
  content:"";pointer-events:none;position:absolute;inset:0;z-index:-1;opacity:.23;
  background:radial-gradient(ellipse 240px 27px at 55% 50%,#7793a5 0%,transparent 60%),radial-gradient(ellipse 65px 24px at 63% 23%,#7793a5 0%,transparent 70%),radial-gradient(ellipse 100px 27px at 42% 68%,#7793a5 0%,transparent 70%);
}
.header.thv3216-header.th515-header .header-main{
  min-height:92px;height:92px;display:flex;justify-content:space-between;align-items:center;gap:24px;
  padding-top:5px;padding-bottom:5px;
}
.header.thv3216-header.th515-header .th515-brand-group{display:flex;align-items:center;min-width:0;min-height:0;max-width:320px}
.header.thv3216-header.th515-header .th515-brand{display:flex;gap:13px;align-items:center;text-decoration:none;color:#fff;line-height:1;white-space:nowrap;flex-shrink:0}
.header.thv3216-header.th515-header .th515-brand svg{display:block;color:#e6ebf3;flex-shrink:0}
.header.thv3216-header.th515-header .th515-wordmark{display:flex;flex-direction:column;align-items:flex-start;gap:1px;color:#fff;line-height:.89;letter-spacing:-.05em;font-size:32px;font-weight:950;font-style:italic}
.header.thv3216-header.th515-header .th515-wordmark>strong{font-size:29px;color:#fff;background:#d51530;padding:2px 8px 4px 5px;letter-spacing:-.04em;transform:skew(-4deg);border-radius:2px}
.header.thv3216-header.th515-header .th515-custom-logo{display:flex;align-items:center;padding:4px 10px;border-radius:7px;background:rgba(255,255,255,.94);min-height:64px;max-width:210px}
.header.thv3216-header.th515-header .th515-custom-logo .brand{width:auto!important;max-width:190px!important;min-height:0!important;min-width:0!important;height:auto!important;transform:none!important;display:flex!important;align-items:center!important}
.header.thv3216-header.th515-header .th515-custom-logo img{display:block!important;max-width:185px!important;max-height:58px!important;height:auto!important;width:auto!important;object-fit:contain}
.header.thv3216-header.th515-header .header-buttons{display:flex;align-items:center;justify-content:flex-end;gap:13px;min-width:0;margin-left:auto}
.header.thv3216-header.th515-header .thv3216-city-chip{color:#fff;display:flex;gap:7px;padding:0 15px 0 0;border-right:1px solid rgba(255,255,255,.24);font-size:12px;font-weight:750}
.header.thv3216-header.th515-header .thv3216-city-chip .thv3216-weather-icon{font-size:24px;color:#ffc536}
.header.thv3216-header.th515-header .header-buttons #search-toggle,
.header.thv3216-header.th515-header .header-buttons #menu-toggle,
.header.thv3216-header.th515-header .th515-bell{width:42px;height:42px;flex:none;display:grid!important;place-items:center;border:1px solid rgba(255,255,255,.15);border-radius:50%;background:rgba(255,255,255,.06);color:#fff!important;text-decoration:none;font-size:21px;line-height:1;padding:0}
.header.thv3216-header.th515-header .header-buttons #search-toggle:hover,
.header.thv3216-header.th515-header .header-buttons #menu-toggle:hover,
.header.thv3216-header.th515-header .th515-bell:hover{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.4);box-shadow:none}
.header.thv3216-header.th515-header .th515-navband{background:linear-gradient(180deg,#1b2b3f,#0b1726);border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid #33475d}
.header.thv3216-header.th515-header .th515-nav-inner{min-height:49px;display:flex;align-items:stretch;gap:14px;justify-content:flex-start}
.header.thv3216-header.th515-header .th515-nav-home{display:grid;place-items:center;flex:0 0 56px;color:#fff;background:#cb1937;border-radius:0 0 3px 3px;text-decoration:none}
.header.thv3216-header.th515-header .th515-nav-home:hover{background:#ed2944;color:#fff}
.header.thv3216-header.th515-header .desktop-nav{display:flex;flex:1;align-items:stretch;justify-content:space-between;gap:6px;min-width:0;white-space:nowrap}
.header.thv3216-header.th515-header .desktop-nav a{display:flex;align-items:center;padding:0 clamp(3px,.7vw,11px);font-size:clamp(11px,.89vw,13px);font-weight:800;color:#f5f8fd;line-height:1;border:0;letter-spacing:0;min-height:49px;text-decoration:none}
.header.thv3216-header.th515-header .desktop-nav a:hover,
.header.thv3216-header.th515-header .desktop-nav a:focus-visible{color:#fff;background:rgba(255,255,255,.12);border-bottom:0}
.header.thv3216-header.th515-header .thv315-search-tray{top:100%;border-top:3px solid #d51530}
.header.thv3216-header.th515-header .mobile-nav[hidden]{display:none!important}
.header.thv3216-header.th515-header .mobile-nav:not([hidden]){position:absolute;top:100%;left:0;right:0;z-index:50;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#122339;border-top:1px solid #344860;padding:10px max(15px,calc((100vw - 1240px)/2));box-shadow:0 15px 24px #101b2a55}
.header.thv3216-header.th515-header .mobile-nav a{color:#fff;font-size:12px;font-weight:800;border-bottom:1px solid #334960;padding:13px 16px;text-decoration:none}
.header.thv3216-header.th515-header .mobile-nav a:hover{background:#243950;color:white}
@media(max-width:1030px){
 .header.thv3216-header.th515-header .desktop-nav a{font-size:10px;padding:0 3px}
 .header.thv3216-header.th515-header .th515-nav-inner{gap:10px}
}
@media(max-width:930px){
 .header.thv3216-header.th515-header .th515-navband{display:none}
 .header.thv3216-header.th515-header .header-main{min-height:75px;height:75px}
 .header.thv3216-header.th515-header .thv3216-city-chip{display:none}
 .header.thv3216-header.th515-header .th515-wordmark{font-size:25px}
 .header.thv3216-header.th515-header .th515-wordmark>strong{font-size:23px}
 .header.thv3216-header.th515-header .th515-brand svg{height:41px;width:41px}
 .header.thv3216-header.th515-header .mobile-nav:not([hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
 .header.thv3216-header.th515-header .header-main{min-height:65px;height:65px;gap:8px}
 .header.thv3216-header.th515-header .header-buttons{gap:6px}
 .header.thv3216-header.th515-header .header-buttons #search-toggle,
 .header.thv3216-header.th515-header .header-buttons #menu-toggle,
 .header.thv3216-header.th515-header .th515-bell{width:35px;height:35px;font-size:19px}
 .header.thv3216-header.th515-header .th515-brand{gap:7px}
 .header.thv3216-header.th515-header .th515-wordmark{font-size:21px}
 .header.thv3216-header.th515-header .th515-wordmark>strong{font-size:19px;padding:2px 6px}
 .header.thv3216-header.th515-header .th515-brand svg{width:34px;height:34px}
 .header.thv3216-header.th515-header .th515-custom-logo{padding:2px 4px;max-width:145px;min-height:45px}
 .header.thv3216-header.th515-header .th515-custom-logo img{max-height:43px!important;max-width:134px!important}
}

/* v0.3.25.16 - dotted world atlas overlay; exact same layout, no hero changes. */
.header.thv3216-header.th515-header .th515-masthead::before{
  background-image:url('header-world-dots-v032516.png');
  background-repeat:no-repeat;
  background-position:52% 48%;
  background-size:min(740px,74vw) auto;
  opacity:.7;
  filter:none;
}
@media (max-width:930px){
 .header.thv3216-header.th515-header .th515-masthead::before{
   background-position:50% 50%;background-size:610px auto;opacity:.38;
 }
}
@media (max-width:520px){
 .header.thv3216-header.th515-header .th515-masthead::before{opacity:.19;background-size:540px auto}
}

/* v0.3.25.17: genuine CMS-configured logo visible on dark background. */
.header.thv3216-header.th515-header .th515-custom-logo .brand{margin:0!important;padding:0!important;text-decoration:none!important;background:transparent!important}
.header.thv3216-header.th515-header .th515-custom-logo .thv315-brand-fallback:not([hidden]){color:#162437!important}


/* v0.3.25.19 — transparent original Trend Haber logo on navy header.
   Scoped to the common header; hero, ad and three-story strip unchanged. */
.header.thv3216-header.th515-header .th515-custom-logo{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  padding:0!important;margin:0!important;border-radius:0!important;
  min-height:0!important;max-width:235px!important;
}
.header.thv3216-header.th515-header .th515-custom-logo .th519-transparent-logo{
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
  background:transparent!important;box-shadow:none!important;
  padding:0!important;margin:0!important;border:0!important;text-decoration:none!important;
}
.header.thv3216-header.th515-header .th515-custom-logo .th519-transparent-logo img{
  display:block!important;width:auto!important;height:auto!important;
  max-width:215px!important;max-height:78px!important;object-fit:contain!important;
  object-position:left center!important;background:transparent!important;
  border:0!important;box-shadow:none!important;
}
@media(max-width:930px){
  .header.thv3216-header.th515-header .th515-custom-logo .th519-transparent-logo img{
    max-width:172px!important;max-height:61px!important;
  }
}
@media(max-width:520px){
  .header.thv3216-header.th515-header .th515-custom-logo{
    max-width:138px!important;
  }
  .header.thv3216-header.th515-header .th515-custom-logo .th519-transparent-logo img{
    max-width:128px!important;max-height:54px!important;
  }
}

/* v0.3.25.20 — restore the dotted world background on the shared masthead.
   The v0.3.25.19 homepage CSS accidentally replaced the older world overlay.
   Shared home/category/detail header only. No logo, hero, layout or PHP changes. */
.header.thv3216-header.th515-header .th515-masthead::before{
  content:"";
  pointer-events:none;
  position:absolute;
  inset:0;
  z-index:-1;
  background-image:url('header-world-dots-v032520.png');
  background-repeat:no-repeat;
  background-position:52% 50%;
  background-size:min(740px,74vw) auto;
  opacity:.78;
  filter:none;
}
@media(max-width:930px){
 .header.thv3216-header.th515-header .th515-masthead::before{
   background-position:50% 50%;background-size:610px auto;opacity:.42;
 }
}
@media(max-width:520px){
 .header.thv3216-header.th515-header .th515-masthead::before{
   background-position:50% 50%;background-size:540px auto;opacity:.22;
 }
}


/* v0.3.25.28 — NON-SCROLLING market cards in the shared homepage / category / detail header.
   Designed as an additional central column, independent of the hero and CMS content. */
.header.thv3216-header.th515-header .header-main{
  width:calc(100% - 36px);max-width:1720px;gap:clamp(9px,1vw,18px);
  min-height:105px;height:auto;padding-top:12px;padding-bottom:10px;
}
.header.thv3216-header.th515-header .th515-brand-group{flex:0 0 auto;max-width:218px}
.header.thv3216-header.th515-header .header-buttons{flex:0 0 auto;margin-left:0;gap:9px}
.header.thv3216-header.th515-header .th528-market-panel{flex:1 1 0;min-width:0;color:#fff;font-family:inherit}
.header.thv3216-header.th515-header .th528-market-cards{display:flex;align-items:stretch;gap:7px;min-width:0}
.header.thv3216-header.th515-header .th528-market-card{
  flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:3px;
  padding:9px 7px 8px;color:#f9fbff;text-decoration:none;
  background:rgba(255,255,255,.045);border:1px solid rgba(217,231,255,.22);
  border-radius:10px;box-shadow:inset 0 1px rgba(255,255,255,.035);
  transition:background-color .16s,border-color .16s;
}
.header.thv3216-header.th515-header .th528-market-card:hover{background:rgba(255,255,255,.105);border-color:rgba(255,255,255,.4);color:#fff}
.header.thv3216-header.th515-header .th528-card-title{display:flex;align-items:center;gap:5px;min-width:0;white-space:nowrap;font-size:clamp(9px,.78vw,12px);font-weight:800}
.header.thv3216-header.th515-header .th528-card-icon{flex:0 0 auto;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#1eae65;color:#fff;font-size:12px;line-height:1;font-weight:950}
.header.thv3216-header.th515-header .th528-kind-eur .th528-card-icon{background:#227fc8}
.header.thv3216-header.th515-header .th528-kind-gbp .th528-card-icon{background:#9459c8}
.header.thv3216-header.th515-header .th528-kind-gold .th528-card-icon{background:#c49123}
.header.thv3216-header.th515-header .th528-kind-silver .th528-card-icon{background:#8590a0}
.header.thv3216-header.th515-header .th528-kind-btc .th528-card-icon{background:#f89b21}
.header.thv3216-header.th515-header .th528-kind-eth .th528-card-icon{background:#596dad}
.header.thv3216-header.th515-header .th528-kind-bist .th528-card-icon{background:#cc3445}
.header.thv3216-header.th515-header .th528-card-name{overflow:hidden;text-overflow:ellipsis}
.header.thv3216-header.th515-header .th528-card-price{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:clamp(11px,1vw,16px);font-weight:850;font-variant-numeric:tabular-nums;line-height:1.15}
.header.thv3216-header.th515-header .th528-card-change{display:block;font-size:clamp(9px,.75vw,11px);font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.header.thv3216-header.th515-header .th528-change-up{color:#55e99c}
.header.thv3216-header.th515-header .th528-change-down{color:#ff7c85}
.header.thv3216-header.th515-header .th528-change-flat{color:#c6d0dd}
.header.thv3216-header.th515-header .th528-market-meta{display:flex;justify-content:flex-end;gap:10px;margin-top:3px;min-height:10px;line-height:1;font-size:9px;color:#b7c9db}
.header.thv3216-header.th515-header .th528-market-source{color:#c8d5e7;text-decoration:underline;text-underline-offset:2px}
.header.thv3216-header.th515-header .th528-market-offline{font-size:12px;padding:12px;color:#d4dfee;text-align:center;border:1px solid #ffffff25;border-radius:8px}
/* Nav categories were visually too far apart: centered fixed spacing instead of justify-between. */
.header.thv3216-header.th515-header .desktop-nav{justify-content:center;gap:clamp(13px,1.6vw,27px)}
.header.thv3216-header.th515-header .desktop-nav a{flex:0 0 auto;padding:0 4px}
/* 8 fixed quotes only on extra-wide desktops, 6 on normal desktops. No ticker and no horizontal movement. */
@media(max-width:1700px){.header.thv3216-header.th515-header .th528-abs-change{display:none}}
@media(max-width:1510px){.header.thv3216-header.th515-header .th528-market-card:nth-child(n+7){display:none}}
@media(max-width:1280px){
 .header.thv3216-header.th515-header .th528-market-card:nth-child(n+5){display:none}
 .header.thv3216-header.th515-header .th528-card-title{font-size:11px}
 .header.thv3216-header.th515-header .th528-card-price{font-size:14px}
}
@media(max-width:1050px){
 .header.thv3216-header.th515-header .th528-market-card:nth-child(n+4){display:none}
 .header.thv3216-header.th515-header .th515-brand-group{max-width:180px}
 .header.thv3216-header.th515-header .th528-market-card{padding:7px 6px}
 .header.thv3216-header.th515-header .thv3216-city-chip{display:none}
}
@media(max-width:930px){
 .header.thv3216-header.th515-header .header-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;min-height:0;height:auto;padding:9px 0 8px;width:calc(100% - 28px)}
 .header.thv3216-header.th515-header .th515-brand-group{grid-column:1;grid-row:1}
 .header.thv3216-header.th515-header .header-buttons{grid-column:2;grid-row:1;justify-content:flex-end}
 .header.thv3216-header.th515-header .th528-market-panel{grid-column:1/-1;grid-row:2;margin-top:4px;width:100%}
 .header.thv3216-header.th515-header .th528-market-card:nth-child(n+4){display:flex}
 .header.thv3216-header.th515-header .th528-market-card:nth-child(n+5){display:none}
 .header.thv3216-header.th515-header .th528-market-cards{gap:6px}
 .header.thv3216-header.th515-header .th528-card-title{font-size:11px}
 .header.thv3216-header.th515-header .th528-card-price{font-size:13px}
}
@media(max-width:560px){
 .header.thv3216-header.th515-header .header-main{gap:3px 7px}
 .header.thv3216-header.th515-header .th528-market-panel{margin-top:4px}
 .header.thv3216-header.th515-header .th528-market-card:nth-child(n+4){display:none}
 .header.thv3216-header.th515-header .th528-card-price{font-size:12px}
 .header.thv3216-header.th515-header .th528-card-icon{width:16px;height:16px;font-size:10px}
 .header.thv3216-header.th515-header .th528-card-title{font-size:10px}
 .header.thv3216-header.th515-header .th528-market-card{padding:7px 6px;gap:2px}
 .header.thv3216-header.th515-header .header-buttons{gap:4px}
 .header.thv3216-header.th515-header .th515-custom-logo .th519-transparent-logo img{max-width:123px!important;max-height:51px!important}
}
@media(max-width:390px){
 .header.thv3216-header.th515-header .th528-market-card:nth-child(n+3){display:none}
}
@media(prefers-reduced-motion:reduce){.header.thv3216-header.th515-header .th528-market-card{transition:none}}


/* Trend Haber v0.3.25.29 — ONLY header market card scale + menu grouping.
   The six displayed quotes are filtered in market_header_v032528.php.
   No market data, logo, world-map, hero, article, or database changes. */
@media(min-width:931px){
 .header.thv3216-header.th515-header .header-main{
   min-height:88px;height:auto;padding-top:8px;padding-bottom:6px;
   gap:clamp(9px,.9vw,16px);
 }
 .header.thv3216-header.th515-header .th528-market-panel{
   flex:0 1 790px;max-width:790px;width:auto;min-width:0;
 }
 .header.thv3216-header.th515-header .th528-market-cards{
   justify-content:center;gap:6px;
 }
 .header.thv3216-header.th515-header .th528-market-card{
   flex:0 1 125px;max-width:125px;min-width:0;
   padding:6px 7px 5px;gap:2px;border-radius:8px;
 }
 .header.thv3216-header.th515-header .th528-card-title{
   font-size:10px;gap:4px;
 }
 .header.thv3216-header.th515-header .th528-card-icon{
   width:16px;height:16px;font-size:11px;
 }
 .header.thv3216-header.th515-header .th528-card-price{
   font-size:13px;line-height:1.16;
 }
 .header.thv3216-header.th515-header .th528-card-change{
   font-size:9px;line-height:1.23;
 }
 .header.thv3216-header.th515-header .th528-market-meta{
   margin-top:2px;min-height:8px;font-size:9px;
 }
 /* Keep home and category links as one centered cluster, not far apart. */
 .header.thv3216-header.th515-header .th515-nav-inner{
   justify-content:center;gap:10px;
 }
 .header.thv3216-header.th515-header .desktop-nav{
   flex:0 1 auto;justify-content:flex-start;gap:clamp(12px,1.3vw,22px);
 }
 .header.thv3216-header.th515-header .desktop-nav a{
   flex:0 0 auto;padding-left:3px;padding-right:3px;
 }
}
@media(min-width:931px) and (max-width:1280px){
 .header.thv3216-header.th515-header .th528-market-panel{flex:0 1 520px;max-width:520px}
 .header.thv3216-header.th515-header .th528-market-card{flex-basis:118px;max-width:118px}
}
@media(min-width:931px) and (max-width:1050px){
 .header.thv3216-header.th515-header .th528-market-panel{flex:0 1 380px;max-width:380px}
 .header.thv3216-header.th515-header .th528-market-card{flex-basis:115px;max-width:115px}
 .header.thv3216-header.th515-header .desktop-nav{gap:10px}
}
@media(max-width:930px){
 /* Mobile grid is already laid out beneath the logo; make each card a little shorter. */
 .header.thv3216-header.th515-header .th528-market-card{padding:6px 6px 5px;gap:2px;border-radius:8px}
 .header.thv3216-header.th515-header .th528-card-price{font-size:12px}
 .header.thv3216-header.th515-header .th528-card-change{font-size:9px}
}

/* Trend Haber v0.3.25.30 - logo and fixed market cards closer together.
   Desktop only: leave the responsive/mobile layout unchanged. */
@media (min-width:931px) {
  .header.thv3216-header.th515-header .header-main {
    justify-content:flex-start!important;
    gap:clamp(10px,1vw,18px)!important;
  }
  .header.thv3216-header.th515-header .th528-market-cards {
    justify-content:flex-start!important;
  }
  .header.thv3216-header.th515-header .header-buttons {
    margin-left:auto!important;
  }
}
/* Market cards already link to doviz.day individually; hide duplicated
   attribution under the cards while retaining the data-source links. */
.header.thv3216-header.th515-header .th528-market-source {
  display:none!important;
}
.header.thv3216-header.th515-header .th528-market-meta {
  min-height:0!important;
  margin-top:0!important;
}

/* v0.3.25.31 - LOGOYU piyasa verilerine yaklastir, verileri logoya cekme.
   v0.3.25.30'un sola cektigi piyasa grubunu onceki merkezi
   konumuna geri al; yalnizca logo grubunun gorunen konumunu saga tasir.
   Mobilde ve dar masaustunde kaydirma yok. */
@media (min-width:931px) {
  .header.thv3216-header.th515-header .header-main {
    justify-content:space-between!important;
  }
  .header.thv3216-header.th515-header .th528-market-cards {
    justify-content:center!important;
  }
  .header.thv3216-header.th515-header .header-buttons {
    margin-left:0!important;
  }
  .header.thv3216-header.th515-header .th515-brand-group {
    position:relative;
    transform:translateX(clamp(0px, calc(35vw - 434px), 210px));
  }
}

/* Trend Haber v0.3.25.32 - Align LOGO + market panel with content left edge.
   Target: screenshot guide line at the left edge of homepage news cards.
   Keep the existing separation between the brand and the quote cards.
   Weather/search controls, nav, hero and other areas remain unchanged.
   This overrides the dynamic positioning from v0.3.25.31; it is NOT
   an additional transform on each subsequent patch. */
@media (min-width:1100px) {
  .header.thv3216-header.th515-header .th515-brand-group {
    transform: translateX(calc(clamp(0px, calc(35vw - 434px), 210px) + 24px)) !important;
  }
  .header.thv3216-header.th515-header .th528-market-panel {
    transform: translateX(24px) !important;
  }
}
@media (min-width:931px) and (max-width:1099px) {
  .header.thv3216-header.th515-header .th515-brand-group {
    transform: translateX(calc(clamp(0px, calc(35vw - 434px), 210px) + 12px)) !important;
  }
  .header.thv3216-header.th515-header .th528-market-panel {
    transform: translateX(12px) !important;
  }
}
/* At tablet/mobile width do not move or reflow the existing header. */
