/* NiftyHosting - footer bileşeni (v1..v10). Yalnızca --nh-* token'ları kullanılır. */

.nh-footer{
  --nh-footer-gap-x: 2rem;
  --nh-footer-gap-y: 2.5rem;
  --nh-footer-pad-y: 3.5rem;
  --nh-footer-row-pad: 1.25rem;
}

/* ---- Ana alan ve ızgara ---- */
.nh-footer-main{padding-block:var(--nh-footer-pad-y) calc(var(--nh-footer-pad-y) * .8)}
.nh-footer-main:empty{padding-block:0}
.nh-footer-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:var(--nh-footer-gap-y) var(--nh-footer-gap-x);
}
.nh-footer-col{min-inline-size:0}
.nh-footer-col .footer-heading{margin-block-end:1rem}
.nh-footer-col--brand .footer-brand{max-inline-size:24rem}
.nh-footer-html{color:var(--nh-chrome-muted);font-size:.9rem;line-height:1.6}
.nh-footer-html a{color:var(--nh-chrome-color)}
.nh-footer-html :where(h1,h2,h3,h4,h5,h6){color:var(--nh-chrome-color)}
.nh-footer-html :where(p){margin-block-end:.75rem}
.footer-mail{color:var(--nh-chrome-muted);font-size:.9rem;text-decoration:none;transition:color .2s ease}
.footer-mail:hover{color:var(--nh-chrome-color)}

@media (min-width:36em){
  .nh-footer-cols-2,.nh-footer-cols-4,.nh-footer-cols-5,.nh-footer-cols-6,.nh-footer-cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:48em){
  .nh-footer-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .nh-footer-cols-5,.nh-footer-cols-6{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:62em){
  .nh-footer-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .nh-footer-grid--asym.nh-footer-cols-2{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
  .nh-footer-grid--asym.nh-footer-cols-3{grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr))}
  .nh-footer-grid--asym.nh-footer-cols-4{grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr))}
}
@media (min-width:75em){
  .nh-footer-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
  .nh-footer-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}
  .nh-footer-grid--asym.nh-footer-cols-5{grid-template-columns:minmax(0,2fr) repeat(4,minmax(0,1fr))}
  .nh-footer-grid--asym.nh-footer-cols-6{grid-template-columns:minmax(0,2fr) repeat(5,minmax(0,1fr))}
}
@media (min-width:62em) and (max-width:74.99em){
  .nh-footer-grid--asym.nh-footer-cols-5,.nh-footer-grid--asym.nh-footer-cols-6{grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr))}
}
/* Ortalanmış / esnek ızgara (v10) */
.nh-footer-grid--flex{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:var(--nh-footer-gap-y) calc(var(--nh-footer-gap-x) * 2);
  text-align:center;
}
.nh-footer-grid--flex .nh-footer-col{flex:0 1 11rem}

/* ---- Bülten ---- */
.nh-footer-nl-controls{display:flex;flex-wrap:wrap;gap:.5rem}
.nh-footer-nl-controls .form-control{flex:1 1 9rem;min-inline-size:0;border-radius:10rem;background-color:var(--nh-chrome-border);border-color:var(--nh-chrome-border);color:var(--nh-chrome-color)}
.nh-footer-nl-controls .form-control::placeholder{color:var(--nh-chrome-muted)}
.nh-footer-nl-controls .btn{border-radius:10rem}
.nh-footer-nl .form-check-label{color:var(--nh-chrome-muted)}
.nh-footer-nl .form-check-label a{color:var(--nh-chrome-color)}

/* ---- Alt satırlar ---- */
.nh-footer-rows{display:flex;flex-direction:column}
.nh-footer-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.75rem 1.5rem;
  padding-block:var(--nh-footer-row-pad);
  border-block-start:1px solid var(--nh-chrome-border);
}
.nh-footer-row[data-align="between"]{justify-content:space-between}
.nh-footer-row[data-align="start"]{justify-content:flex-start}
.nh-footer-row[data-align="center"]{justify-content:center;text-align:center}
.nh-footer-row[data-align="end"]{justify-content:flex-end}
.nh-footer-row .footer-base-end{margin-inline-start:auto}
.nh-footer-row[data-align="center"] .footer-base-end,
.nh-footer-row[data-align="start"] .footer-base-end{margin-inline-start:0}
.nh-footer-row .footer-link{padding-block:0}
.nh-footer-row--html .nh-footer-html{inline-size:100%}
.nh-footer-row[data-align="center"] .nh-footer-html{text-align:center}
.nh-footer-row .footer-controls{margin:0}

/* ---- v9: minimal tek satır ---- */
.nh-footer--v9 .nh-footer-line{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:1rem 2rem;
  padding-block:1.5rem;
}
.nh-footer--v9 .nh-footer-line-brand{margin:0}
.nh-footer--v9 .nh-footer-line-brand .site-logo{block-size:1.9rem}
.nh-footer--v9 .nh-footer-line-brand .site-brand-text{font-size:1.1rem}
.nh-footer--v9 .nh-footer-line-copy{flex:1 1 auto;min-inline-size:0}
.nh-footer--v9 .footer-controls{margin:0}

/* ---- v10: ortalanmış ---- */
.nh-footer-center{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding-block-start:var(--nh-footer-pad-y);
}
.nh-footer-center .footer-brand-desc{max-inline-size:32rem}
.nh-footer-center--tools{gap:1rem;padding-block:0 var(--nh-footer-pad-y)}
.nh-footer--v10 .nh-footer-main{padding-block:var(--nh-footer-pad-y)}
.nh-footer--v10 .nh-footer-main:empty{padding-block:0}
.nh-footer--v10 .nh-footer-col .footer-link{text-align:center}

/* ---- Hareket azaltma ---- */
@media (prefers-reduced-motion:reduce){
  .footer-mail{transition:none}
}

/* ---- Eşitlik: alt bilgi sarmalayıcı + güven şeridi ---- */
.nh-footer-wrap{display:contents}
.nh-trust{padding-block:1.75rem;background:var(--nh-surface-bg);border-block-start:1px solid var(--nh-border-color)}
.nh-trust-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:1rem 1.5rem}
.nh-trust-item{position:relative;display:flex;align-items:center;gap:.8rem;min-inline-size:0}
.nh-trust-icon{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;inline-size:2.75rem;block-size:2.75rem;border-radius:50%;background:var(--nh-primary-subtle,var(--nh-surface-bg));color:var(--nh-primary);font-size:1.25rem}
.nh-trust-body{display:flex;flex-direction:column;min-inline-size:0}
.nh-trust-title{font-weight:700;color:var(--nh-heading-color);text-decoration:none;line-height:1.25}
.nh-trust-text{font-size:.8rem;color:var(--nh-muted-color);line-height:1.35}
.nh-trust-stat .nh-trust-title{font-size:1.2rem}
.nh-trust-badges{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:1rem 1.75rem;margin-block-start:1.25rem;padding-block-start:1.25rem;border-block-start:1px dashed var(--nh-border-color)}
.nh-trust-badges img{block-size:2.75rem;inline-size:auto;max-inline-size:9rem;object-fit:contain}
.nh-footer-wrap--plain{--nh-parity-footer-bg:none}
