/**
 * Blog site chrome — footer (ana site ysk-main.css ile uyumlu, yerel kopya).
 */

.ysk-site-footer,
footer.ysk-site-footer {
  width: 100%;
  flex-shrink: 0;
  margin-top: auto;
}

.ysk-site-footer a,
footer.ysk-site-footer a {
  text-decoration: none;
  background-color: transparent;
  background-image: none;
}

.ysk-site-footer .ysk-footer,
footer.ysk-site-footer .ysk-footer {
  border-top: 1px solid #e2e8f0;
  background-color: #f8fafc;
  color: #0f172a;
}

.ysk-site-footer .ysk-footer-inner,
footer.ysk-site-footer .ysk-footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
}

@media (min-width: 640px) {
  .ysk-site-footer .ysk-footer-inner,
  footer.ysk-site-footer .ysk-footer-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 3rem;
  }
}

.ysk-site-footer .ysk-footer-cta,
footer.ysk-site-footer .ysk-footer-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #172554 0%, #1e3a8a 100%);
  color: #fff;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .ysk-site-footer .ysk-footer-cta,
  footer.ysk-site-footer .ysk-footer-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
  }
}

.ysk-site-footer .ysk-footer-cta-text h2,
footer.ysk-site-footer .ysk-footer-cta-text h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.ysk-site-footer .ysk-footer-cta-text p,
footer.ysk-site-footer .ysk-footer-cta-text p {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.ysk-site-footer .ysk-footer-cta-actions,
footer.ysk-site-footer .ysk-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.ysk-site-footer .ysk-footer-cta-btn,
footer.ysk-site-footer .ysk-footer-cta-btn {
  display: inline-flex;
  align-items: center;
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.ysk-site-footer .ysk-footer-cta-btn--ghost,
footer.ysk-site-footer .ysk-footer-cta-btn--ghost {
  background: rgb(255 255 255 / 0.1);
  color: #fff;
}

.ysk-site-footer .ysk-footer-cta-btn--ghost:hover,
footer.ysk-site-footer .ysk-footer-cta-btn--ghost:hover {
  background: rgb(255 255 255 / 0.2);
  color: #fff;
}

.ysk-site-footer .ysk-footer-cta-btn--green,
footer.ysk-site-footer .ysk-footer-cta-btn--green {
  background: #059669;
  color: #fff;
}

.ysk-site-footer .ysk-footer-cta-btn--green:hover,
footer.ysk-site-footer .ysk-footer-cta-btn--green:hover {
  background: #10b981;
  color: #fff;
}

.ysk-site-footer .ysk-footer-cta-btn--amber,
footer.ysk-site-footer .ysk-footer-cta-btn--amber {
  background: #f59e0b;
  color: #172554;
}

.ysk-site-footer .ysk-footer-cta-btn--amber:hover,
footer.ysk-site-footer .ysk-footer-cta-btn--amber:hover {
  background: #fbbf24;
  color: #172554;
}

.ysk-site-footer .ysk-footer-grid,
footer.ysk-site-footer .ysk-footer-grid {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .ysk-site-footer .ysk-footer-grid,
  footer.ysk-site-footer .ysk-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ysk-site-footer .ysk-footer-grid,
  footer.ysk-site-footer .ysk-footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }
}

.ysk-site-footer .ysk-footer-col,
footer.ysk-site-footer .ysk-footer-col {
  min-width: 0;
}

.ysk-site-footer .ysk-footer-col h3,
footer.ysk-site-footer .ysk-footer-col h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  line-height: 1.4;
}

.ysk-site-footer .ysk-footer-col ul,
footer.ysk-site-footer .ysk-footer-col ul {
  list-style: none;
  margin: 0.875rem 0 0;
  padding: 0;
}

.ysk-site-footer .ysk-footer-col li,
footer.ysk-site-footer .ysk-footer-col li {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #475569;
}

.ysk-site-footer .ysk-footer-col li:first-child,
footer.ysk-site-footer .ysk-footer-col li:first-child {
  margin-top: 0;
}

.ysk-site-footer .ysk-footer-link,
footer.ysk-site-footer .ysk-footer-link {
  color: #475569;
  text-decoration: none;
  background: transparent;
  display: inline;
  transition: color 0.15s;
  word-break: break-word;
}

.ysk-site-footer .ysk-footer-link:hover,
footer.ysk-site-footer .ysk-footer-link:hover {
  color: #d97706;
}

.ysk-site-footer .ysk-footer-bottom,
footer.ysk-site-footer .ysk-footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .ysk-site-footer .ysk-footer-bottom,
  footer.ysk-site-footer .ysk-footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.ysk-site-footer .ysk-footer-copy,
footer.ysk-site-footer .ysk-footer-copy {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

.ysk-site-footer .ysk-footer-nav,
footer.ysk-site-footer .ysk-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

/* --- Sosyal medya (blog sidebar = ana sayfa hero) --- */
.ysk-social-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.ysk-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  color: #fff !important;
  text-decoration: none !important;
  background-image: none;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  transition: background-color 0.15s, filter 0.15s;
}

.ysk-social-link:hover {
  color: #fff !important;
}

.ysk-social-link .bi {
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
}

.ysk-social-link span {
  white-space: nowrap;
}

.ysk-social-link--whatsapp { background-color: #059669; }
.ysk-social-link--whatsapp:hover { background-color: #10b981; }
.ysk-social-link--instagram { background: linear-gradient(90deg, #9333ea 0%, #db2777 100%); }
.ysk-social-link--instagram:hover { filter: brightness(1.08); }
.ysk-social-link--linkedin { background-color: #0077b5; }
.ysk-social-link--linkedin:hover { background-color: #006399; }
.ysk-social-link--facebook { background-color: #2563eb; }
.ysk-social-link--facebook:hover { background-color: #3b82f6; }
.ysk-social-link--x { background-color: #0ea5e9; }
.ysk-social-link--x:hover { background-color: #38bdf8; }
.ysk-social-link--github { background-color: #334155; }
.ysk-social-link--github:hover { background-color: #475569; }
